⇐ ⇒

[CF-metadata] On scalar coordinate variables

From: David Hassell <d.c.hassell>
Date: Thu, 17 Dec 2015 18:53:10 +0000

Hello Dan,

Thanks for the nice example. I think there is an extra case you could
include. From #104:

  "If a string-valued auxiliary coordinate variable has only one
   dimension (the maximum length of the string), it is a string-valued
   scalar coordinate variable"

Adding that to your example (dimension maxlen, variable u):

 dimensions:
   x = 180;
   y = 290;
   p = 1;
   n = 5;
   maxlen = 256;
 
 variables:
   float d(y, x, p, n);
     d: coordinates = "lat lon h s a z t u";
 
   float x(x); # coordinate variable
   float y(y); # coordinate variable
   float p(p); # size 1 coordinate variable
 
   float lat(y, x); # auxiliary coordinate variable
   float lon(y, x); # auxiliary coordinate variable
   float h(p); # size 1 auxiliary coordinate variable
   char s(n); # string-valued auxiliary coordinate variable
   char a(p); # size 1 string-valued auxiliary coordinate variable
 
   float z; # numeric scalar coordinate variable
   char t; # string-valued scalar coordinate variable
   char u(maxlen); # string-valued scalar coordinate variable

All the best,

David
--
David Hassell
National Centre for Atmospheric Science (NCAS)
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243,
Reading RG6 6BB, U.K.
Tel   : +44 118 3785613
E-mail: d.c.hassell at reading.ac.uk
Received on Thu Dec 17 2015 - 11:53:10 GMT

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

⇐ ⇒