tiled.adapters.zarr.ZarrArrayAdapter

class tiled.adapters.zarr.ZarrArrayAdapter(array: ndarray[Any, dtype[Any]], structure: ArrayStructure, *, metadata: Dict[str, str | int | float | bool | Dict[str, Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]] | List[Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]]] | None = None, specs: List[Spec] | None = None, access_policy: AccessPolicy | None = None)[source]
__init__(array: ndarray[Any, dtype[Any]], structure: ArrayStructure, *, metadata: Dict[str, str | int | float | bool | Dict[str, Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]] | List[Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]]] | None = None, specs: List[Spec] | None = None, access_policy: AccessPolicy | None = None) None
Parameters:
array
structure
metadata
specs
access_policy

Methods

__init__(array, structure, *[, metadata, ...])

from_array(array, *[, shape, chunks, dims, ...])

init_storage(data_uri, structure)

metadata()

patch(data, offset[, extend])

Write data into a slice of the array, maybe extending it.

read([slice])

read_block(block[, slice])

structure()

write(data[, slice])

write_block(data, block)

Attributes

dims

structure_family