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

Set zarr_format for zarr.consolidate_metadata #9848

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

dcherian
Copy link
Contributor

@dcherian dcherian commented Dec 2, 2024

Avoids a few useless gets with Zarr v3 stores.

Not sure how to test it, or even if a test is needed.

cc @TomAugspurger

Avoids a few useless gets with Zarr v3 stores.
@dcherian dcherian requested a review from jhamman December 2, 2024 17:14
@dcherian dcherian added the topic-zarr Related to zarr storage library label Dec 2, 2024
@TomAugspurger
Copy link
Contributor

Looks good to me.

As for tests, I think this is fine. It might be useful to have the zarr_format in the encoding of the dataset, but that can be discussed independently of this PR. And I guess this code has access to the zarr.Group so it's not even needed to go through the encoding.

@dcherian dcherian added the plan to merge Final call for comments label Dec 2, 2024
@dcherian dcherian merged commit f810185 into pydata:main Dec 3, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan to merge Final call for comments topic-zarr Related to zarr storage library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants