This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Ajit,
Good!
> The condition was actually (I made a change subsequently)
> if (ut_get_status() == UT_NO_SECOND)
> printf("Error\n");
>
> which gets printed. So ut_get_status() when called just after
> ut_offset_by_time() returns UT_NO_SECOND
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: OTA-964622
Department: Support UDUNITS
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.