This message came from the CF Trac system.  Do not reply.  Instead, enter your 
comments in the CF Trac system at https://cf-pcmdi.llnl.gov/trac/.

#104: Clarify the interpretation of scalar coordinate variables
-----------------------------+----------------------------------------------
  Reporter:  jonathan        |       Owner:  [email protected]
      Type:  enhancement     |      Status:  new                          
  Priority:  medium          |   Milestone:                               
 Component:  cf-conventions  |     Version:                               
Resolution:                  |    Keywords:                               
-----------------------------+----------------------------------------------
Comment (by caron):

 The DSG v1.6 uses dimensions in a new way, which i agree can wait to think
 through. But point data representations are valid in 1.5, so it might be
 better to think the implications of this on point data. For example from
 proposal:

   "If two or more single-valued coordinates are not independent, but have
 related values..., they should be stored as coordinate or auxiliary
 coordinate variables of the same size one dimension, not as scalar
 coordinate variables."

 But you dont want to add a new dimension onto point data just to represent
 that two coordinates are not independent. An example:


 {{{
 dimensions:
   sample = 39238923;
 variables:
   float data(sample);
     data:coordinates = "lat lon time";
   float lat(sample);
   float lon(sample);
   float time(sample);
 }}}


 suppose that you are sampling at the same point. Its intuitive to indicate
 this using scalar coordinates:


 {{{
 dimensions:
   sample = 39238923;
 variables:
   float data(sample);
     data:coordinates = "lat lon time";
   float lat;
   float lon;
   float time(sample);
 }}}

 so here you are really doing a shorthand for lat(sample), lon(sample)
 indicating that these are constants. which is really useful to know.

 you might also want to put height levels of the sample:


 {{{
 dimensions:
   sample = 39238923;
 variables:
   float data(sample);
     data:coordinates = "lat lon time heightAboveGround heightAboveMsl";
   float lat;
   float lon;
   float heightAboveGround ;
   float heightAboveMsl;
   float time(sample);
 }}}

 you dont really want to do this:

 {{{
 dimensions:
   sample = 39238923;
   height = 1;
 variables:
   float data(sample, height);
     data:coordinates = "lat lon time heightAboveGround heightAboveMsl";
   float lat;
   float lon;
   float heightAboveGround(height) ;
   float heightAboveMsl(height);
   float time(sample);
 }}}

 well maybe you do. i dont like it because it makes it looks like a
 profile.

-- 
Ticket URL: <https://cf-pcmdi.llnl.gov/trac/ticket/104#comment:40>
CF Metadata <http://cf-pcmdi.llnl.gov/>
CF Metadata

This message came from the CF Trac system.  To unsubscribe, without 
unsubscribing to the regular cf-metadata list, send a message to 
"[email protected]" with "unsubscribe cf-metadata" in the body of your 
message.

Reply via email to