zcollection.variable.delayed_array.DelayedArray.from_zarr#
- classmethod DelayedArray.from_zarr(array, name, dimension, **kwargs)[source]#
Create a new variable from a zarr array.
- Parameters:
array (Array) – The zarr array
name (str) – Name of the variable
dimension (str) – Name of the attribute that defines the dimensions of the variable
**kwargs – Keyword arguments passed to
dask.array.from_array()
- Returns:
The variable
- Return type: