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

Strip catalog attributes - Optional reconstruction version. #501

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

aulemahal
Copy link
Collaborator

Pull Request Checklist:

What kind of change does this PR introduce?

  • New strip_cat_attrs utility to remove those attributes added by the catalog opening functions.
    • Use this by default in save_to_zarr and save_to_netcdf.
  • In build_path, added possibility to have aggregated folder levels with optional components.
    • Make version optionnal in the non-sim schemas.

Does this PR introduce a breaking change?

  • Yes. Saved files will have a few attributes removed.
  • Yes. build_path will not fail on a reconstruction dataset missing a version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant