Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: how does HDF5 really store time? As float, int, string?

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

Hi Ed,

> HDF5 folk:
> 
> How do you really store the time type?
> 
> As a floating point number, number of seconds since Jan 1, 1970, or
> something like that?
    We do normally store it as the number of seconds since the UNIX epoch
(Jan 1, 1970).  However, we there's a few different time datatypes defined
and we don't convert between them.  Frankly, I think including them is a
mistake currently, since they are bringing "units & quantities" into a part
of the library that doesn't really understand how to do unit conversions, etc.
I would also lean toward not including them in the netCDF4 types, at least
initially.

    Quincey

  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: