zarr-python
zarr-python copied to clipboard
An implementation of chunked, compressed, N-dimensional arrays for Python.
In V2, the way you create an array with a Group is ```python import zarr root = zarr.open_group('data/example.zarr', mode='w') array = root.create("foo", shape=10) ``` https://zarr.readthedocs.io/en/stable/api/hierarchy.html#zarr.hierarchy.Group.create V3 Groups also have a...
One thing about zarr v2 -> v3 that might surprise users is the change from the v2 `compressor` metadata (a single thing) + `filters` (an ordered collection) to the v3...
### Zarr version v2.17.0, 2.18.x ### Numcodecs version v0.12.1 ### Python Version 3.10.0 ### Operating System Linux/Mac ### Installation Using `pip3` in a venv ### Description There appears to be...
Over in Dask's nightly CI build that tests against nightly versions of Dask dependencies, we started seeing Zarr-related test failures like ``` FAILED dask/array/tests/test_array_core.py::test_from_zarr_unique_name - TypeError: 'module' object is not...
the metadata classes need tests!
## Description This description is a stub and will be updated in due course. TODO: * [ ] Add unit tests and/or doctests in docstrings * [ ] Add docstrings...
I have been playing with the v3 branch and noticed some weird behavior with setting values. ```python import zarr arr = zarr.Array.create(store=zarr.store.MemoryStore(), shape=(10,), chunks=(5,), dtype="i4") # this errors with v3...
In V2, an array can be created with no `dtype`. The default dtype is f8: https://zarr.readthedocs.io/en/stable/api/creation.html#zarr.creation.create In V3, dtype is mandatory. ```python import zarr arr = zarr.Array.create(store=zarr.store.MemoryStore(), shape=(10,), chunks=(5,)) #...
Removes all the v2 code supersedes #1897, #1791 TODO: * [ ] Add unit tests and/or doctests in docstrings * [ ] Add docstrings and API docs for any new/modified...
We are now in the last mile of the 3.0 refactor. This issue is tracking what we are considering release blockers: There is also a milestone for [After 3.0.0](https://github.com/zarr-developers/zarr-python/milestone/17) where...