Skip to content

Factory

linc_convert.utils.io.zarr.factory

Factory module for creating/opening Zarr Nodes with different drivers.

UnsupportedDriverError

UnsupportedDriverError(driver)

Bases: ValueError

Exception raised when an unsupported driver is specified.

open_array

open_array(path, mode='a', zarr_version=3, driver=None)

Open a Zarr Node (Array or Group) based on the specified driver.

open_group

open_group(path, mode='a', zarr_version=3, driver=None)

Open a Zarr Group based on the specified driver.

from_config

from_config(out, zarr_config)

Create a ZarrGroup from a ZarrConfig.