[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #JLQ-522131]: udunits2 and utScan, utIsTime


> Hi there,
> Are utIsTime a part of the UDUNITS-2 package?

Not explicitly.

> If not is there an equivalent?
> I need some funtion to test whether a netCDF coordinate
> var is a time var.

Try converting the unit with a second, e.g.,

    if (ut_are_convertible(unit, ut_get_unit_by_name(system, "second")) {

Steve Emmerson

Ticket Details
Ticket ID: JLQ-522131
Department: Support UDUNITS
Priority: Normal
Status: Closed