⇐ ⇒

[CF-metadata] udunits handling of fuzzy time units

From: John Caron <caron>
Date: Tue, 15 Mar 2011 07:02:15 -0600

On 3/15/2011 5:03 AM, Karl Taylor wrote:
> I agree with Jon.
>
> By definition, I think, a "unit of measure" must not vary; hence month
> is not a proper unit and not only depends on month of year, but also
> on assumed calendar (and similarly for year). Therefore, I think
> "months since" and "years since" should not be allowed in CF.
>
> Karl

Hi Karl:

so if currently we cant actually use months and years, because of the
way udunits handles them, why not redefine how they should be understood
when you do use them, namely as setting the month or year field in a
date calculation.

this eases the burden on data writers, and makes the metadata human
readable, at the cost of a small increase in the complexity of libraries
that read data.

one more comment: a date is not a unit of measure, and therein lies all
the trouble. IMO, date handling should be removed from the udunits
package, which is what im doing now in the CDM (not removing date
handling from udunits, just not using udunits anymore to handle dates).

John
Received on Tue Mar 15 2011 - 07:02:15 GMT

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

⇐ ⇒