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

savecube does not write .zmetadata file for zarr data #375

Open
felixcremer opened this issue Mar 6, 2024 · 1 comment
Open

savecube does not write .zmetadata file for zarr data #375

felixcremer opened this issue Mar 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@felixcremer
Copy link
Member

I am not entirely sure what the purpose of the .zmetadata file is and therefore I am not sure whether this is supposed to be written or not.
This is just something that is different when opening and saving one of the Geozarr examples.
I will add the link to the example datasets when I have a more reliable internet connection

@Balinus
Copy link
Contributor

Balinus commented Mar 13, 2024

Some info here.

"Finally, it’s worth noting that Xarray writes (and attempts to read) “consolidated metadata” by default (the .zmetadata file), which is another non-standard Zarr extension, albeit one implemented upstream in Zarr-Python. You do not need to write consolidated metadata to make Zarr stores readable in Xarray, but because Xarray can open these stores much faster, users will see a warning about poor performance when reading non-consolidated stores unless they explicitly set consolidated=False. See Consolidated Metadata for more details."

https://docs.xarray.dev/en/latest/internals/zarr-encoding-spec.html
https://docs.xarray.dev/en/latest/user-guide/io.html#io-zarr-consolidated-metadata

@lazarusA lazarusA added the bug Something isn't working label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants