ioos/compliance-checker

Improve CF Conformance: 7.4 Climatological Statistics

jamesdoyle21 opened this issue · 1 comments

7.4 Climatological Statistics
Requirements:

  • The climatology attribute may only be attached to a time coordinate variable.

  • The type of the climatology attribute is a string whose value is a single variable name. The specified variable must exist in the file.

  • A climatology variable must have the same dimension as its associated time coordinate variable, and have a trailing dimension (CDL order) of size 2.

  • A climatology variable must be a numeric data type.

  • If a climatology variable has units, standard_name, or calendar attributes, they must agree with those of its associated variable.

  • A climatology variable must not have _FillValue or missing_value attributes.

https://github.com/ioos/compliance-checker/blob/master/compliance_checker/cf/cf_1_6.py#L2999-L3042 handles point 3 in both the dimension order and size. Closing as already implemented.