⇐ ⇒

[CF-metadata] Confused about ordering of info in "coordinates" attribute

From: Seth McGinnis <mcginnis>
Date: Tue, 04 Nov 2008 18:07:31 -0700

>Is the information in the "coordinates" attribute guaranteed to be
>in X,Y order?

As I read the spec, no, it is not. From the beginning of section 5, paragraph 3:

"The value of the coordinates attribute is a blank separated list of the names of auxiliary coordinate variables. There is no restriction on the order in which the auxiliary coordinate variables appear in the coordinates attribute string."

In addition, some of the auxiliary coordinate variables may not correspond to a variable dimension at all. If want to specify that your 2-D surface temperature data is taken at a reference height of 2 meters, for example, you define a scalar coordinate variable to store the value '2' and include that variable name in the coordinates attribute. (See 5.7 for an example.)

Cheers,

----
Seth McGinnis
Associate Scientist
NARCCAP Data Manager
ISSE / NCAR
----
Received on Tue Nov 04 2008 - 18:07:31 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:40 BST

⇐ ⇒