We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e269c1c commit 451ff21Copy full SHA for 451ff21
conda/environment.yml
@@ -16,4 +16,4 @@ dependencies:
16
- sphinx-gallery
17
- sphinx-inline-tabs
18
- xarray
19
- - zarr>=2.11.0
+ - zarr>=2.11.0,<3
zcollection/variable/array.py
@@ -38,6 +38,9 @@ def _as_numpy_array(
38
with masked data replaced by its fill value and the fill value of the
39
offered masked array. Otherwise, the provided array and fill value.
40
"""
41
+ if isinstance(arr, dask.array.core.Array):
42
+ arr = arr.compute()
43
+
44
result: NDArray = numpy.asanyarray(arr)
45
if isinstance(result, numpy.ma.MaskedArray):
46
if fill_value is not None and not_equal(fill_value, result.fill_value):
0 commit comments