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

Re-implement consolidated metadata in StoreToZarr #568

Open
cisaacstern opened this issue Aug 22, 2023 · 1 comment
Open

Re-implement consolidated metadata in StoreToZarr #568

cisaacstern opened this issue Aug 22, 2023 · 1 comment
Assignees

Comments

@cisaacstern
Copy link
Member

cisaacstern commented Aug 22, 2023

As noted here

# TODO
# - consolidate coords
# - consolidate metadata

consolidated metadata is not implemented in StoreToZarr. Here's the prior implementation:

if config.consolidate_zarr:
logger.info("Consolidating Zarr metadata")
target_mapper = config.storage_config.target.get_mapper()
zarr.consolidate_metadata(target_mapper)

Like #556, this also depends on #564, so I'll address that first.

@cisaacstern cisaacstern self-assigned this Aug 22, 2023
@cisaacstern
Copy link
Member Author

xref leap-stc/ClimSim#38 (comment), the slow loading time there can probably be (entirely?) resolved by consolidated metadata.

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 a pull request may close this issue.

1 participant