Consider:

   int time(sample=1001);
     :long_name = "Measurement time";
     :standard_name = "time";
     :units = "days since 1970-01-01";

vs

   int time(sample=1001);
     :long_name = "Measurement time";
     :standard_name = "time";
     :units = "3 days since 1970-01-01";

values = 1, 2, 3, ...

are these equivalent or does the second one mean every 3 days ? Is the second one illegal ?

the CF doc says:

The|units|attribute takes a string value formatted as per the recommendations in the Udunits package [UDUNITS <http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.5/cf-conventions.html#udunits>].

but theres no particular grammar documented there, nor is the above question answered.

these are relatively minor problems, but if you want to implement the spec with another library, then you realize that there is no clear spec - just a reference library. this is a common mistake in software - confusing the reference implementation from an actual specification.
_______________________________________________
CF-metadata mailing list
[email protected]
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

Reply via email to