Generalize dask.delayed calls to go through ChunkManager #7810
Labels
topic-arrays
related to flexible array support
topic-chunked-arrays
Managing different chunked backends, e.g. dask
I actually don't think we need to -
from_array_kwargs
is only going to get directly passed down toopen_dataset
, and hence could be considered part of**kwargs
.This should actually just work, except in the case of
parallel=True
. For that we could adddelayed
to theChunkManager
ABC, so that if cubed does implementcubed.delayed
it could be added, else aNotImplementedError
would be raised. I think all of this wouldn't be necessary if we had lazy concatenation in xarray though (xref #4628). That suggestion would mean we should also replace other instances ofdask.delayed
in other parts of the codebase though... I think I will split this into a separate issue in the interests of getting this one merged.Originally posted by @TomNicholas in #7019 (comment)
The text was updated successfully, but these errors were encountered: