Re: [CF-metadata] Some questions about 360-day calendars

2010-02-23 Thread Roland Schweitzer
john caron wrote: Jonathan Blower wrote: 4) Finally on practical note: I seem to remember that someone has implemented the 360-day calendar using the Java library joda-time? Is this code available for re-use? roland schweitzer has extended joda for 360 day calendar. I am planning to use jod

Re: [CF-metadata] Some questions about 360-day calendars

2010-02-13 Thread john caron
Jonathan Blower wrote: 4) Finally on practical note: I seem to remember that someone has implemented the 360-day calendar using the Java library joda-time? Is this code available for re-use? roland schweitzer has extended joda for 360 day calendar. I am planning to use joda time or its JSR s

Re: [CF-metadata] Some questions about 360-day calendars

2010-02-04 Thread Dominic Lowe
Hi Jon 4) Finally on practical note: I seem to remember that someone has implemented the 360-day calendar using the Java library joda-time? Is this code available for re-use? I don't know about joda-time, but there is a python implementation in the CDMS cdtime module: http://esg.llnl.gov/

Re: [CF-metadata] Some questions about 360-day calendars

2010-02-04 Thread Bryan Lawrence
Hi Jon > 1) In this system, how long is a day in milliseconds? Is it the normal > 24*60*60*1000? Yes. > Or is it somehow scaled so that a year of 360 days has > the same number of milliseconds as an "average" Gregorian year? No. > 2) Is there any way of translating (even roughly) between 360-d

[CF-metadata] Some questions about 360-day calendars

2010-02-04 Thread Jonathan Blower
Hi all, I'm trying to understand how to handle some climate data with a 360-day calendar. As I understand it (http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.4/cf-conventions.ht ml#calendar), this calendar uses 12-month years with exactly 30 days each. I have a few questions: 1) In this sys