No project description provided
Project description
Extend Zarr
Library for writing a new DataArray to a Zarr file containing a DataArray. If necessary, the Coordinates of the DataArray in the Zarr file is extended and the DataArray data is written.
Installation
pip install extend-zarr
Usage
from extend_zarr import extend_zarr
dataarray = ... # DataArray to be written
zarr_path = ... # Path to the Zarr file
extend_zarr(dataarray=dataarray,
zarr_path=zarr_path,
var_name='value')
A notebook explaining the behavior of the function is available in examples.
Limitations
The following limitations exists to the coordinates of the dataarray to which this function can be applied.
- Coordinates needs to be unique 1D arrays.
- Dataarray can only be appended to tail of the zarr store.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file extend_zarr-0.1.2.tar.gz.
File metadata
- Download URL: extend_zarr-0.1.2.tar.gz
- Upload date:
- Size: 78.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20aa80391ffcbcc4a63c4872dbca34b9bae37a6e38ecc0ed90df967f3b624b68
|
|
| MD5 |
bf7ea40ecfdc9c445221c26f62296ad4
|
|
| BLAKE2b-256 |
dab25da213fcd28f988869847d69aefabbb37e1bdada657c31cdf66a98e761d3
|
File details
Details for the file extend_zarr-0.1.2-py3-none-any.whl.
File metadata
- Download URL: extend_zarr-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d71fb298d3aab9c4e63b67b8b424341f61272a2ccc98c1ba6382fcd2a7a8022
|
|
| MD5 |
b00b5378277b97c9ef60629844a0e5ba
|
|
| BLAKE2b-256 |
f66e2a0c9bf8e32958929d5e7c7ee68edb73d847f4e38f9436c6b380af9d5eba
|