CMOR 3.12.0 released!!!
Features
- CMOR will issue warnings for controlled vocabulary (CV) files that do not have a format expected by CMOR.
directory_path_templateandfilename_templatefrom theDRSsection of CV files will be used as the directory and file name templates, respectively, if they are not specified in the user input. The built-in default template values will be used if these attributes are not in the CV.- CMOR will issue warnings if the user passes time bounds with midpoints that do not align with time values passed.
standard_parallelandscale_factor_at_projection_originare valid attributes for grid mappingsmercatorandpolar stereographicwhen usingcmor_set_grid_mappingorcmor_set_crs. CMOR will issue warnings if the user sets neither attribute or sets both attributes on the same grid mapping or CRS variable.
Bugfixes
- CMOR will now check the required attributes set by the user first before checking all required attributes listed in
required_global_attributesin the CV. mip_erawas missing from thetitleattribute when using mip-cmor-tables. This has been resolved by gettingmip_erafrom the file’s global attributes instead of from the variable table header.- Resolved compiler error caused by not casting a pointer to
cmor *in the Python C interface forcmor_set_crs. - Fixed minimum variable value warning that was erroneously displaying the valid maximum value instead of the valid mininum value.
- Resolved segfault caused by the checking of NaN values in variables that have axes with string values.
- A warning message for a missing
standard_parallelparameter when usingcmor_set_grid_mappingorcmor_set_crsis no longer issued if parametersstandard_parallel1andstandard_parallel2are used instead. - Resolved segfault caused by passing invalid units for parameters when using
cmor_set_grid_mappingorcmor_set_crs.
Changes
- PrePARE has been deprecated from CMOR and will be removed in future versions.
- CMOR tables for axes and formula tables will now have headers. CMOR 3.12 is designed to ignore information in these headers. Previous CMOR versions will encounter errors when using these updated tables.
- Function
cmor_time_varying_grid_coordinatehas been removed from the API.
Closed Issues
- order in
required_global_attributesmatters (#737) - ‘title’ attribute in files misses mip_era when using mip-cmor-tables (#776)
- Impose table and CMOR input consistency across new templates (#821)
- Compile error in _cmormodule.c (#828)
- Catching issues with poorly formed CV data (#829)
- Warning message for minimum value erroneously uses maximum value (#830)
- Deprecate PrePARE - remove from repo in a future version (#833)
- Use path and file name templates in
DRSsection of CV files (#834) - Remove the function
cmor_time_varying_grid_coordinate(#835) - Segfault encountered when finding NaNs in variable with string value axis (#839)
- Erroneous missing
standard_parallelwarning raised when two standard parallel values are passed (#845) - Parameter options for
mercatorandpolar_stereographicgrid mappings (#849) - CMOR time axis mapping - catching user errors with poor time_bnds arguments (#852)
- Setting unexpected units for grid mapping attributes causes segfault (#856)