Zarr version
v2.18.7
Numcodecs version
v0.15.1
Python Version
3.11
Operating System
Mac
Installation
Using pip in a virtual environment
Description
It is not possible to open a group with the zarr.open() in zarr-python 2.x with the experimental implementation of Zarr V3 Specification enabled.
Steps to reproduce
- Given the following file
demo.py
import zarr
path = "path-where-you-want-zarr-v3-array"
z1 = zarr.create(
(10000, 10000),
chunks=(100, 100),
dtype="f8",
path=path,
zarr_version=3,
store='data/example-10.zarr'
)
# Opening as an array is OK
# z2 = zarr.open('data/example-10.zarr', mode="r", zarr_version=3, path=path)
# Opening as a group is not OK
z2 = zarr.open('data/example-10.zarr', mode="r", zarr_version=3)
- Run
to produce the following error.
python demo.py
/Users/isaac/.pyenv/versions/dandi-cli/lib/python3.11/site-packages/zarr/_storage/store.py:39: FutureWarning: The experimental Zarr V3 implementation in this version of Zarr-Python is not in alignment with the final V3 specification. This version will be removed in Zarr-Python 3 in favor of a spec compliant version.
warnings.warn(
Traceback (most recent call last):
File "/Users/isaac/Library/Application Support/JetBrains/PyCharm2024.3/scratches/demo.py", line 17, in <module>
z2 = zarr.open('data/example-10.zarr', mode="r", zarr_version=3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/isaac/.pyenv/versions/dandi-cli/lib/python3.11/site-packages/zarr/convenience.py", line 139, in open
raise PathNotFoundError(path)
zarr.errors.PathNotFoundError: nothing found at path ''
Additional output
No response
Zarr version
v2.18.7
Numcodecs version
v0.15.1
Python Version
3.11
Operating System
Mac
Installation
Using pip in a virtual environment
Description
It is not possible to open a group with the
zarr.open()in zarr-python 2.x with the experimental implementation of Zarr V3 Specification enabled.Steps to reproduce
demo.py
to produce the following error.
Additional output
No response