cf-json / cf-json.github.io

Apache License 2.0
0 stars 2 forks source link

how to identify time coordinates #15

Open aportagain opened 5 years ago

aportagain commented 5 years ago

The current Version 1.8 (draft) CF Metadata conventions say:

A time coordinate is identifiable from its units string alone.
The Udunits routines utScan() and utIsTime() can be used to make
this determination.

Optionally, the time coordinate may be indicated additionally by
providing the standard_name attribute with an appropriate value,
and/or the axis attribute with the value T.

Do we need to explicitly deal with this in CF-JSON since the time values as strings option obviously wouldn't work with said udunits routines?

Related: https://github.com/metocean/cf-json/issues/4