CMOR 3.14.2 released!!!
Changes
- Refreshed CMIP7-oriented user guidance in
cmor_CV.cfor invalidsource_idandinstitution_idvalues, including current WCRP-CMIP issue links and the CMIP7 CV registration guide. (#942)- Updated
source_idandinstitution_idCV error messages to point users to current CMIP7 registration issue templates and guidance instead of outdated links.
- Updated
- CMIP7 datasets now write parent and branch attributes only when the selected experiment defines parent experiments in the controlled vocabulary. (#940)
- This is done when
_cmip7_optionis enabled in the user input JSON. - When a CMIP7 experiment has no parent experiments, CMOR now warns about stray parent attributes and removes them before writing the output file.
- When a CMIP7 experiment requires a parent, CMOR now errors if
parent_experiment_idis missing, not allowed by the controlled vocabulary, or paired with an invalidparent_activity_id.
- This is done when
CI / Tests
- Added
Test/test_cmor_parent_attrs.pycoverage for CMIP7 parent-attribute handling across no-parent experiments, required-parent experiments, warning-and-removal behavior, and invalid parent metadata. (#940)- Updated existing CMIP7 Python tests to reflect the new parent-attribute rules and to clean up temporary test inputs created during test runs.
Issues / Pull Requests