⇐ ⇒

[CF-metadata] udunits handling of fuzzy time units

From: Steve Hankin <Steven.C.Hankin>
Date: Tue, 22 Mar 2011 11:56:36 -0700

On 3/22/2011 5:40 AM, John Caron wrote:
> On 3/21/2011 11:55 AM, Karl Taylor wrote:
>> Dear all,
>>
>> I haven't had time to follow all the discussion in detail, but in
>> general I think CF should not add additional complexity unless the
>> current way of encoding time is incomplete. As far as I know the
>> encoding is indeed complete and given correct specification of the
>> units (which include basetime) and a calendar, the calendar date/time
>> can be calculated. This indeed requires a smart library, but I think
>> that Bob Drach's CDMS correctly performs such a calculation.
>>
>> I'll try to go back and read the arguments, but I think I agree with
>> most of what Steve Hankin has said.
>>
>> Best regards,
>> Karl
>
> Hi Karl:
>
> There are 2 things incomplete from my POV:
>
> 1) CF specifies calendars, but theres no reference library that
> implements them. If CDMS does so then perhaps we can leverage that.
> 2) We need to be able to express/manipulate calendar dates better that
> we can now with udunits.
>
Good summary.

> I guess I could just say that im disatisfied with udunits as a
> reference library for calendar time units. The grammar allows months
> and years as time intervals when that doesnt make sense. There are
> some other things that are unclear (ill post one in a second). Anyway,
> I think the reliance that CF has on udunits is, um, suboptimal.

No disagreement that udunits is "suboptimal" -- incomplete formatting
functions and having a couple of small inconsistencies (e.g. "months" as
a unit). Arguably, though, it is the best currently available
implementation and data model for the CF problem space. So shouldn't
we simply be talking about improving udunits? While there is no
current reference library, the required concepts are already very well
tested in code -- decades of successful practice in multiple
applications, including Ingrid, CDAT, Ferret, GrADS (presumably) and
others). What is missing is the human resource to formulate a community
specification and implement it. (Are you volunteering?)

     - Steve

P.S. Maybe in formulating a community specification we can agree on
terminology to replace the "calendar time units" / "dimensional units"
distinction. ;-)



> Prost!
>
> John
>
>
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20110322/59388d57/attachment-0001.html>
Received on Tue Mar 22 2011 - 12:56:36 GMT

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

⇐ ⇒