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: [email protected]
_______________________________________________
CF-metadata mailing list
[email protected]
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

Reply via email to