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
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,8 @@ Xarray objects backed by cubed arrays can be created either by:
26
26
2. Calling `.chunk` on xarray objects,
27
27
3. Passing a `chunks` argument to `xarray.open_dataset`.
28
28
29
-
In (2) and (3) the choice to use `cubed.Array` instead of `dask.array.Array` is made by passing the keyword argument `manager='cubed'`.
29
+
In (2) and (3) the choice to use `cubed.Array` instead of `dask.array.Array` is made by passing the keyword argument `chunked_array_type='cubed'`.
30
+
To pass arguments to the constructor of `cubed.Array` then pass them via the dictionary `from_array_kwargs`, e.g. `from_array_kwargs={'spec': cubed.Spec(max_mem=2_000_000)}`.
30
31
31
32
If cubed and cubed-xarray are installed but dask is not, then specifying the parallel array type to use is not necessary.
0 commit comments