⇐ ⇒

[CF-metadata] nitpick in time axes example

From: Chris Barker <chris.barker>
Date: Wed, 14 Sep 2016 12:34:11 -0700

I see in teh doc:

Example 4.4. Time axis

double time(time) ;
  time:long_name = "time" ;
  time:units = "days since 1990-1-1 0:0:0" ;

IIUC, ISO 8601 requires two digits for the time pieces [1], so that should
be:

"days since 1990-1-1 00:00:00"


The parser I use isn't picky about this, but maybe some are?

BTW, as it's an example, we should probably throw a time offset on there,
too:

"days since 1990-1-1 00:00:00Z"


or

"days since 1990-1-1 00:00:00+00:00"


[1] at least according to wikipedia:
https://en.wikipedia.org/wiki/ISO_8601#Times


-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20160914/614bb5f3/attachment.html>
Received on Wed Sep 14 2016 - 13:34:11 BST

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

⇐ ⇒