Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zarr v3 support #237

Closed
wants to merge 2 commits into from
Closed

Zarr v3 support #237

wants to merge 2 commits into from

Conversation

jhamman
Copy link
Contributor

@jhamman jhamman commented Oct 18, 2022

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

kerchunk/combine.py Outdated Show resolved Hide resolved
Co-authored-by: Ryan Abernathey <ryan.abernathey@gmail.com>
@martindurant
Copy link
Member

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 martindurant mentioned this pull request Dec 8, 2022
@jhamman jhamman closed this by deleting the head repository Dec 30, 2022
@jhamman jhamman reopened this Jan 2, 2023
@jhamman jhamman closed this Feb 2, 2023
@jhamman jhamman reopened this Feb 2, 2023
@jhamman jhamman marked this pull request as ready for review February 2, 2023 00:58
@jhamman
Copy link
Contributor Author

jhamman commented Feb 2, 2023

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

@jhamman jhamman closed this Feb 2, 2023
@jhamman jhamman mentioned this pull request Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants