Replies: 1 comment
-
Can you use I think xarray/xarray/core/dask_array_ops.py Lines 37 to 45 in a37a6b3 More generally, when |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use
polyfit
to find the slope from 2d arrays of long climate timeseries at each grid point. There is a detailed thread elsewhere (#6280) that discusses ways to improvepolyval
for 3d arrays and improve inefficiencies associated with stacking the spatial dimensions. I would have thought what I am trying here should be simpler as there is only one spatial dimension because this is output from an unstructured grid. The arrays all have shape(nt, ncol)
, wherent
is the time dimension andncol
is the node index. Also, I only want the slope at every grid point, so don't even needpolyval
.I suppose I can use
rechunker
to unchunk along the core dimension but want to know if there are other options.MVE:
Here is a picture of the dashboard (with 12 cores, 384 gb):
Beta Was this translation helpful? Give feedback.
All reactions