Update section 4 (CF-1.7)
Closed this issue · 1 comments
Additional checks:
4.3 Vertical (height or depth) Coordinate
Recommendations:
- The
positive attribute
should be consistent with the sign convention implied by the definition of thestandard_name
, if both are provided.
4.3.3 Parameterized Vertical Coordinate
Requirements:
-
The
formula_terms
attribute is only allowed on a coordinate variable which has astandard_name
listed in Appendix C. -
The type of the
formula_terms
attribute is a string whose value is list of blank separated word pairs in the formterm: var
. The legal values term are contained in Appendix C for each validstandard_name
. The values ofvar
must be variables that exist in the file. -
Where indicated by the appropriate definition in Appendix D, the
standard_name
attributes of variables named by theformula_terms
attribute must be consistent with thestandard_name
of the coordinate variable it is attached to, according to the appropriate definition in Appendix D. -
The
computed_standard_name
attribute is only allowed on a coordinate variable which has aformula_terms
attribute. -
The
computed_standard_name
attribute is a string whose value must be consistent with thestandard_name
of the coordinate variable it is attached to, and in some cases also with thestandard_name
attributes of variables named by theformula_terms
attribute, according to the appropriate definition in Appendix D.
Section 4.3.2 has been separated into 2 sections - 4.3.2 and 4.3.3. The first 2 items in 4.3.3 list above used to be in 4.3.2. Updated section code accordingly in chkFormulaTerms
routine.