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

[netCDF #MFB-454222]: ut_encode_date(year,month,day) + ut_encode_clock subroutines

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.


  • Subject: [netCDF #MFB-454222]: ut_encode_date(year,month,day) + ut_encode_clock subroutines
  • Date: Mon, 16 Jul 2012 10:44:45 -0600

Dear Khaled,

> I had successfully downloaded a data file of nc extensions.
> I wrote an IDL code to extract it. I had got
> 
>  time date of 8 digits numbers. I can not convert it to readable format i.e. 
> in calendar format.
> I would like to read double ut_encode_time subroutine and 
> ut_encode_date+ ut_encode_clock
> >could you please send them to me

What is the unit of the double-precision values? It should be given in an 
attribute of the associated netCDF variable.

> >my Best wishes
> >
> Khaled Megahed, PhD in Atmospheric Science
> Al-Azhar University
> Faculty of Science
> Department of Astronomy and Meteorology
> Nasr City
> Cairo
> Egypt.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: MFB-454222
Department: Support UDUNITS
Priority: High
Status: Closed