dask.array.from_zarr

dask.array.from_zarr(url, component=None, storage_options=None, chunks=None, name=None, inline_array=False, **kwargs)[source]

Load array from the zarr storage format

See https://zarr.readthedocs.io for details about the format.

Parameters
url: Zarr Array or str or MutableMapping

Location of the data. A URL can include a protocol specifier like s3:// for remote data. Can also be any MutableMapping instance, which should be serializable if used in multiple processes.

component: str or None

If the location is a zarr group rather than an array, this is the subcomponent that should be loaded, something like 'foo/bar'.

storage_options: dict

Any additional parameters for the storage backend (ignored for local paths)

chunks: tuple of ints or tuples of ints

Passed to dask.array.from_array(), allows setting the chunks on initialisation, if the chunking scheme in the on-disc dataset is not optimal for the calculations to follow.

namestr, optional

An optional keyname for the array. Defaults to hashing the input

kwargs:

Passed to zarr.core.Array.

inline_arraybool, default False

Whether to inline the zarr Array in the values of the task graph. See dask.array.from_array() for an explanation.

See also

from_array