NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdf-java] Calendar systems

Hi John (and list),

Can Java-NetCDF handle the different calendar systems that CF defines
(e.g. 360 day)?  Looking at CoordinateAxis1DTime, a time axis can be
represented as a java.util.Date array, but I can't see a way to relate
this to a calendar system (a java.util.Date is essentially a wrapper
for a number of milliseconds since the epoch).  The Joda-time library
provides a different DateTime class that links to different calendar
systems (which they call Chronologies) - could this be useful?

Cheers, Jon

-- 
--------------------------------------------------------------
Dr Jon Blower Tel: +44 118 378 5213 (direct line)
Technical Director Tel: +44 118 378 8741 (ESSC)
Reading e-Science Centre Fax: +44 118 378 6413
ESSC Email: j.d.blower@xxxxxxxxxxxxx
University of Reading
3 Earley Gate
Reading RG6 6AL, UK
--------------------------------------------------------------


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