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

Changes since pangeo-forge-recipes@main merge on 2023-01-25 #2

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

ranchodeluxe
Copy link

@ranchodeluxe ranchodeluxe commented Jan 27, 2024

Addresses: NASA-IMPACT/veda-pforge-job-runner#17

Since pangeo-forge-recipe@main merges happened:

  • Don't need to pass storage options to WriteCombineReference b/c we have dep injected target_root

  • Don't need to consolidate metadata for kerchunk references even though xr.open_dataset(*..., consolidated=True||False) will through a warning

  • Write a new validator

import xarray as xr
ds = xr.open_dataset(store, engine="zarr", chunks={})
for dim, size in ds.dims.items():
print(f"Dimension: {dim}, Length: {size}")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to throw an exception?

@ranchodeluxe ranchodeluxe merged commit 30733fa into gpm_imerg Jan 29, 2024
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.

2 participants