This class implements the regular chunk grid for Zarr arrays. It manages reading from and writing to Zarr stores, using the codecs for data transformation.
Super class
zarr::zarr_extension -> chunk_grid_regular
Active bindings
chunk_shape(read-only) The dimensions of each chunk in the chunk grid of the associated array.
chunk_grid(read-only) The chunk grid of the associated array, i.e. the number of chunks in each dimension.
chunk_encodingSet or retrieve the chunk key encoding to be used for creating store keys for chunks.
data_typeThe data type of the array using the chunking scheme. This is set by the array when starting to use chunking for file I/O.
codecsThe list of codecs used by the chunking scheme. These are set by the array when starting to use chunking for file I/O. Upon reading, the list of registered codecs.
storeThe store of the array using the chunking scheme. This is set by the array when starting to use chunking for file I/O.
array_prefixThe prefix of the array using the chunking scheme. This is set by the array when starting to use chunking for file I/O.
Methods
Method new()
Initialize a new chunking scheme for an array.
Usage
chunk_grid_regular$new(array_shape, chunk_shape)Method print()
Print a short description of this chunking scheme to the console.
Method read()
Read data from the Zarr array into an R object.
Method write()
Write data to the array.