[CF-metadata] Use of axis attribute in an auxillary coordinate
Hello All,
I'd just like to check one aspect of the conformanc document, which came to our attention when somebody ran the CF checker on some CMIP5. If you check using the convention version declared in the file, 1.4, it will raise an error if there is a scalar coordinate variable with the axis attribute set, e.g.
float tas(time,lat,lon);
......
tas:coordinates = "height" ;
float height ;
....
height: axis = "Z";
In this case "height" variable is, following the logic of section 1.2 of the convention, classed as an auxillary coordinate because it is not of the form "height (height) ; ".
The error message appears to relate to a line in the conformance document saying that "The axis attribute is not allowed for auxiliary coordinate variables." If the checker is asked to use a later version of the convention, the error message goes away, but the requirement is still there in the conformance document.
It looks to me as though it should be removed from the conformance document. The convention document says, in section 4. that "The methods of identifying coordinate types described in this section apply both to coordinate variables", referring to the use of the axis attribute, which appears to directly contradict the line of the conformance document cited above. But is there another part of the convention that requires some restriction on the use of the axis attribute?
This construction is widely used in CMIP data, so we should get this point cleared up.
regards,
Martin
Received on Tue May 23 2017 - 08:50:09 BST
This archive was generated by hypermail 2.3.0
: Tue Sep 13 2022 - 23:02:42 BST