Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Time

Daniel Packman (pack@acd.ucar.edu)
Thu, 13 Jan 1994 13:17:42 -0700

nns@noaapmel.gov (Nancy Soreide) write:

> ... our EPS I/O library always returns to the
> calling routines a two-integer array in which the first integer is the
> "true Julian Day Number" with units of days, and the second integer is
> the number of milliseconds since midnight of the true Julian Day....

We too use the two-integer approach to time. We assign two separate
integer variables "time_day(time)" and "time_msec(time)" that have the
Julian Day and millisecond of day as used above. We too use the millisecond
of day from midnight. Maintaining milliseconds as an integer maps directly
to our satellite data. Our data can cover many years as well. Using
integers means we are assured that all bits of the original information
are preserved.

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690