cubed.from_zarr

Contents

cubed.from_zarr#

cubed.from_zarr(store, path=None, chunks=None, spec=None)#

Load an array from Zarr storage.

Parameters:
  • store (string or Zarr Store) – Input Zarr store

  • path (string, optional) – Group path

  • chunks (tuple of ints, optional) – If set, merge zarr chunks up to this size before downstream ops. Each downstream task reads a chunks-sized region (spanning multiple zarr chunks). chunks must be an exact multiple of the zarr chunk size in every dimension.

  • spec (cubed.Spec, optional) – The spec to use for the computation.

Returns:

The array loaded from Zarr storage.

Return type:

cubed.Array