Creates a storage backend for Zarr array data.
Usage
zarr_backend(
source,
data_key = "data",
mask_key = "mask",
preload = FALSE,
cache_size = 100
)Arguments
- source
Character path to Zarr store (directory or zip) or URL for remote stores
- data_key
Character key for the main data array within the store (default: "data")
- mask_key
Character key for the mask array (default: "mask"). Set to NULL if no mask.
- preload
Logical, whether to load all data into memory (default: FALSE)
- cache_size
Integer, number of chunks to cache in memory (default: 100)