Crates.io | zarrs |
lib.rs | zarrs |
version | 0.13.2 |
source | src |
created_at | 2023-09-25 06:02:04.411191 |
updated_at | 2024-05-07 22:25:43.246867 |
description | A library for the Zarr V3 storage format for multidimensional arrays and metadata |
homepage | |
repository | https://github.com/LDeakin/zarrs |
max_upload_size | |
id | 982388 |
size | 1,453,646 |
A rust library for the Zarr V3 storage format for multidimensional arrays and metadata.
Developed at the Department of Materials Physics, Australian National University, Canberra, Australia.
zarrs is experimental and in limited production use. Use at your own risk! Correctness issues with past versions are detailed here.
A changelog can be found here.
array::Array
and storage
are good places to start.zarrs
.let store_path: PathBuf = "/path/to/store".into();
let store: zarrs::storage::ReadableWritableListableStorage =
Arc::new(zarrs::storage::store::FilesystemStore::new(&store_path)?);
let array_path: &str = "/group/array"; // /path/to/store/group/array
let array = zarrs::array::Array::new(store, array_path)?;
let chunk: ndarray::ArrayD<f32> = array.retrieve_chunk_ndarray(&[1, 0])?;
println!("Chunk [1,0] is:\n{chunk}");
zarrs
Ecosystemzarrs
benchmarks.zarrs
is licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.