Array creation
Zarr.zcreate — Functionzcreate(T, dims...;kwargs)Creates a new empty zarr aray with element type T and array dimensions dims. The following keyword arguments are accepted:
path=""directory name to store a persistent array. If left empty, an in-memory array will be createdname=""name of the zarr array, defaults to the directory namestoragetypedetermines the storage to use, current options areDirectoryStoreorDictStorechunks=dimssize of the individual array chunks, must be a tuple of lengthlength(dims)fill_value=nothingvalue to represent missing valuescompressor=BloscCompressor()compressor type and propertiesattrs=Dict()a dict containing key-value pairs with metadata attributes associated to the arraywriteable=truedetermines if the array is opened in read-only or write mode
Create a new subarray of the group g
Zarr.zzeros — Functionzzeros(T, dims..., )Creates a zarr array and initializes all values with zero.
Compressors
Zarr.BloscCompressor — TypeBloscCompressor(;blocksize=0, clevel=5, cname="lz4", shuffle=true)Returns a BloscCompressor struct that can serve as a Zarr array compressor. Keyword arguments are:
clevel=5the compression level, number between 0 (no compression) and 9 (max compression)cname="lz4"compressor name, can be one of"blosclz","lz4", and"lz4hc"shuffle=trueenables/disables bit-shuffling
Zarr.NoCompressor — TypeNoCompressor()Creates an object that can be passed to ZArray constructors without compression.