Update section 7 (CF-1.7)
Closed this issue · 1 comments
RosalynHatcher commented
Changes to existing checks (in bold):
7.1 Cell Boundaries
Requirements:
- If a boundary variable has
units
,standard_name
,axis
,positive
,calendar
,leap_month
,leap_year
ormonth_lengths
attributes, they must agree with those of its associated variable.
Recommendations:
- Boundary variables should not have the
_FillValue
,missing_value
,units
,standard_name
,axis
,positive
,calendar
,leap_month
,leap_year
ormonth_lengths
attributes.
7.2 Cell Measures
Requirements:
- The type of the
cell_measures
attribute is a string whose value is list of blank separated word pairs in the formmeasure: var
. The valid values for measure arearea
orvolume
. Thevar
token specifies a variable that must either exist in the file or be named by theexternal_variables
attribute. The dimensions of the variable specified byvar
must be the same as, or be a subset of, the dimensions of the variable to which they are related.
Addtional checks:
7.1 Cell Boundaries
Requirements:
- Starting with version 1.7, a boundary variable must have a
formula_terms
attribute when it contains bounds for a parametric vertical coordinate variable that has aformula_terms
attribute. In this case the same terms and named variables must appear in both except for terms that depend on the vertical dimension. For such terms the variable name appearing in the boundary variable’sformula_terms
attribute must differ from that found in theformula_terms
attribute of the coordinate variable itself. The boundary variable of theformula_terms
variable must have the same dimensions as theformula_terms variable
, plus a trailing dimension (CDL order) for the maximum number of vertices in a cell, which must be the same as the trailing dimension of the boundary variable of the parametric vertical coordinate variable. If a named variable in theformula_terms
attribute of the vertical coordinate variable depends on the vertical dimension and is a coordinate, scalar coordinate or auxiliary coordinate variable then its bounds attribute must be consistent with the equivalent term informula_terms
attribute of the boundary variable.
RosalynHatcher commented
Closing this. The one remaining check to be implemented from this is now in #75