You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When using arrays with a nan shape, I'd like to provide a coordinate specification from a delayed object, which is my responsibility to make sure has the right chunks and length.
Describe the solution you'd like
Below are three examples that I think should work, where I give a coordinate via a dask array, a dask series, and a dask index. Currently, all three examples error out by computing the coordinate length (triggering an unwanted dask computation!), and then indicating that its different than the array's corresponding length, which is nan.
dask or lazy coordinates are currently not allowed in xarrays data model, so unfortunately this cannot work - even a standard dask.array.array is turned into a numpy array:
Is your feature request related to a problem? Please describe.
When using arrays with a nan shape, I'd like to provide a coordinate specification from a delayed object, which is my responsibility to make sure has the right chunks and length.
Describe the solution you'd like
Below are three examples that I think should work, where I give a coordinate via a dask array, a dask series, and a dask index. Currently, all three examples error out by computing the coordinate length (triggering an unwanted dask computation!), and then indicating that its different than the array's corresponding length, which is nan.
Error:
Describe alternatives you've considered
After computations to complete add the missing coordinate. This requires carrying around the delayed index with the delayed array.
The text was updated successfully, but these errors were encountered: