CMOR 3.10.0 released!!!
Updates for writing CMIP7 datasets.
Features
- The
branding_suffixof variables will be tested against thebranding_suffixtemplate provided by the CV. Its componentstemporal_label,vertical_label,horizontal_label, andarea_labelwill have their values validated by their corresponding sections in the CV. mip_eraanddata_specs_versionwill be set from the CV if they are single string values.frequencycan be defined in the user input JSON or by callingcmor_set_cur_dataset_attributeprior to creating the time axis and variable that uses the axis.- Interval values for the frequencies are acquired from the CV if the current dataset has a frequency. If the interval value used for the time axis doesn’t match the interval values of the frequency used by the variable, then CMOR will throw an error.
regioncan be defined in the user input JSON or by callingcmor_set_cur_dataset_attributeprior to callingcmor_write.- Table attributes
type,positive,valid_max,valid_min,ok_max_mean_abs, andok_min_mean_abscan be acquired from the header of tables and used as the default for a table’s variable entries. The are overwritten by a variable entry’s own version of these attributes if present. variable_titleandbrand_descriptioncan now be variable attributes if defined in the variable entry._cmip7_optionshould be set in the user input JSON to enable CMIP7 global attribute checking similar to CMIP6 but without subexperiment tests.parent_mip_erawill be set toCMIP7for all datasets that are written with_cmip7_optionset.
Bugfixes
- Resolved compiler warnings when building CMOR library source.
- Resolved the issue where quantization was applied to axis, grid, and zfactor values rather than just the variable matrix. Quantization will now only be applied to the variable matrix.
Changes
- Updated quantization feature to meet CF compliance.
- If a global attribute is required and has a section in the CV that is an object
with key and single string value pairs, then that attribute’s value will be compared against the keys in that object.-
UPDATE: Global attributes listed in a CV’s
required_global_attributessection that also have sections in the CV that are JSON objects will have their values validated against the keys in those objects. This enables the validation ofexperiment_idandsource_idregardless of whether_cmip6_optionor_cmip7_optionwere set.If you do not want
experiment_id,source_id, or other attributes to be validated, then the workaround suggested here is to remove those attributes fromrequired_global_attributes.Validation of
source_idandsourcewill still happen if the attributefurther_info_urlis set to a non-empty string.
-
Closed Issues