kerchunk icon indicating copy to clipboard operation
kerchunk copied to clipboard

Zarr v3 support

Open jhamman opened this issue 3 years ago • 1 comments

This PR experiments with adding Zarr v3 support to Kerchunk.

In most cases, this simply requires passing the zarr_version parameter to the zarr.group constructor. The primary exception is in combine.py where lots of v2 metadata keys are hard coded. I have not tried to tackle that part of the codebase yet.

If you are reviewing this, I suggest starting with the hdf5 translator and the Python 3.10 GitHub action.

towards #235

jhamman avatar Oct 18 '22 22:10 jhamman

Thanks for kicking this off.

We will also need to do more work in the future, as v3 eventually gains more features that don't get backported to v2. For example, I don't know if we can already use the v3 unfinished sharding code to do what preffs does, concatenating multiple target byteranges to a single chunk for some of the data chunks. I suppose when v3 is finished and released, we could decide to drop v2 completely here, but I suspect it will be around for quite some time yet.

martindurant avatar Oct 19 '22 14:10 martindurant

Somehow I messed up my fork here. I'm going to close this PR and I'll reopen.

jhamman avatar Feb 02 '23 01:02 jhamman