ngff_zarr.to_ngff_zarr
ΒΆ
Module ContentsΒΆ
FunctionsΒΆ
Write an image pixel array and metadata to a Zarr store with the OME-NGFF standard data model. |
APIΒΆ
- ngff_zarr.to_ngff_zarr._pop_metadata_optionals(metadata_dict)ΒΆ
- ngff_zarr.to_ngff_zarr._prep_for_to_zarr(store: Union[collections.abc.MutableMapping, str, pathlib.Path, zarr.storage.BaseStore], arr: dask.array.Array) dask.array.Array ΒΆ
- ngff_zarr.to_ngff_zarr.to_ngff_zarr(store: Union[collections.abc.MutableMapping, str, pathlib.Path, zarr.storage.BaseStore], multiscales: ngff_zarr.multiscales.Multiscales, overwrite: bool = True, chunk_store: Optional[Union[collections.abc.MutableMapping, str, pathlib.Path, zarr.storage.BaseStore]] = None, progress: Optional[Union[ngff_zarr.rich_dask_progress.NgffProgress, ngff_zarr.rich_dask_progress.NgffProgressCallback]] = None, **kwargs) None ΒΆ
Write an image pixel array and metadata to a Zarr store with the OME-NGFF standard data model.
- Parameters:
store (MutableMapping, str or Path, zarr.storage.BaseStore) β Store or path to directory in file system.
multiscales (Multiscales) β Multiscales OME-NGFF image pixel data and metadata. Can be generated with ngff_zarr.to_multiscales.
overwrite (bool, optional) β If True, delete any pre-existing data in
store
before creating groups.chunk_store (MutableMapping, str or Path, zarr.storage.BaseStore, optional) β Separate storage for chunks. If not provided,
store
will be used for storage of both chunks and metadata.progress (RichDaskProgress) β Optional progress logger
**kwargs β Passed to the zarr.creation.create() function, e.g., compression options.