Closed aulemahal closed 4 months ago
Another option is to just copy the original code for is_dask_collection
from xarray into xESMF if you really need it.
Hum, turns out cf-xarray
has the same issue! I'll open a PR and issue.
To trigger tests again.
Fixes #338
We were using a method from
xr.core.pycompat
that was removed. That module is private, so this was a mistake on our end.Also, the method was only used to check if a dataArray was dask-backed and load it if it was. However, calling
load()
on any array has the exact same effect anyway.Seeing how this impacted downstream packages, this might warrant a minor or patch release!