cubed.store#
- cubed.store(sources, targets, regions=None, executor=None, **kwargs)#
Save source arrays to array-like objects.
In the current implementation
targets
must be Zarr arrays.Note that this operation is eager, and will run the computation immediately.
- Parameters:
sources (cubed.Array or collection of cubed.Array) – Arrays to save
targets (string or Zarr store or collection of strings or Zarr stores) – Zarr arrays to write to
regions (tuple of slices or list of tuple of slices, optional) – The regions of data that should be written to in targets.
executor (cubed.runtime.types.Executor, optional) – The executor to use to run the computation. Defaults to using the in-process Python executor.