Expand description
Zarr arrays.
An array is a node in a Zarr hierarchy used to hold multidimensional array data and associated metadata. See https://zarr-specs.readthedocs.io/en/latest/v3/core/v3.0.html#array.
Use ArrayBuilder
to setup a new array, or use Array::new
for an existing array.
The documentation for Array
details how to interact with arrays.
Re-exports§
pub use self::chunk_grid::ChunkGrid;
pub use self::chunk_key_encoding::ChunkKeyEncoding;
pub use self::codec::ArrayCodecTraits;
pub use self::codec::CodecChain;
pub use self::concurrency::RecommendedConcurrency;
pub use self::data_type::DataType;
Modules§
- Zarr chunk grids. Includes a regular grid implementation.
- Zarr codecs.
- Concurrency utilities for arrays and codecs.
- Zarr data types.
Structs§
- A Zarr array.
- An
Array
builder. - Options for writing array metadata.
- Zarr array metadata (storage specification v3).
- ArrayShardedReadableExtCache
sharding
A cache used for methods in theArrayShardedReadableExt
trait. - A view of a subset of an array.
- The shape of a chunk. All dimensions must be non-zero.
- A dimension name.
- The fill value of the Zarr array.
- A non zero error.
- An unsafe cell slice.
Enums§
- An array creation error.
- Array errors.
- Zarr array metadata.
- An array view create error.
- The decoded representation of
bytes
. - Fill value metadata.
Constants§
- The Zarr “NaN” fill value for a 16-bit brain floating point number.
- The Zarr “NaN” fill value for a 16-bit IEEE 754 floating point number.
- The Zarr “NaN” fill value for a 32-bit IEEE 754 floating point number.
- The Zarr “NaN” fill value for a 64-bit IEEE 754 floating point number.
Traits§
- ArrayShardedExt
sharding
AnArray
extension trait to simplify working with arrays using thesharding_indexed
codec. - ArrayShardedReadableExt
sharding
AnArray
extension trait to efficiently read data (e.g. inner chunks) from arrays using thesharding_indexed
codec.
Functions§
- bytes_to_ndarray
ndarray
Convert a vector of bytes to anndarray::ArrayD
. - Convert a
ChunkShape
to anArrayShape
. - elements_to_ndarray
ndarray
Convert a vector of elements to anndarray::ArrayD
. - Ravel ND indices to a linearised index.
- Transmute from
Vec<u8>
toVec<T>
. - Transmute from
Vec<T>
toVec<u8>
. - Unravel a linearised index to ND indices.
Type Aliases§
- An ND index to an element in an array.
- The array representation of an array, which can have zero dimensions.
- The shape of an array.
- The array representation of a chunk, which must have nonzero dimensions.
- An alias for bytes which may or may not be available.