Trees | Indices | Help |
---|
|
|
|||
|
datetime Phony datetime object which mimics the python datetime object, but allows for dates that don't exist in the proleptic gregorian calendar. |
||
|
utime Performs conversions of netCDF time coordinate data to/from datetime objects. |
|
|||
|
DateFromJulianDay(JD,
calendar='standard') returns a 'datetime-like' object given Julian Day. |
||
|
JulianDayFromDate(date,
calendar='standard') creates a Julian Day from a 'datetime-like' object. |
||
|
_360DayFromDate(date) creates a Julian Day for a calendar where all months have 30 daysfrom a 'datetime-like' object. |
||
|
_AllLeapFromDate(date) creates a Julian Day for a calendar where all years have 366 days from a 'datetime-like' object. |
||
|
_DateFrom360Day(JD) returns a 'datetime-like' object given Julian Day for a calendar where all months have 30 days. |
||
|
_DateFromAllLeap(JD) returns a 'datetime-like' object given Julian Day for a calendar where all years have 366 days. |
||
|
_DateFromNoLeapDay(JD) returns a 'datetime-like' object given Julian Day for a calendar with no leap days. |
||
|
_NoLeapDayFromDate(date) creates a Julian Day for a calendar with no leap years from a datetime instance. |
||
|
_dateparse(timestr,
format='%Y-%m-%d %H:%M:%S') parse a string of the form time-units since yyyy-mm-dd hh:mm:ss return a tuple (units, datetimeinstance) |
|
|||
|
__version__ = '0.5.1'
|
||
|
_calendars = ['standard', 'gregorian', 'proleptic_gregorian', 'no...
|
||
|
_units = ['days', 'hours', 'minutes', 'seconds', 'day', 'hour...
|
|
returns a 'datetime-like' object given Julian Day. Julian Day is a fractional day with a resolution of 1 second. if calendar='standard' or 'gregorian' (default), Julian day follows Julian Calendar on and before 1582-10-5, Gregorian calendar after 1582-10-15. if calendar='proleptic_gregorian', Julian Day follows gregorian calendar. if calendar='julian', Julian Day follows julian calendar. The datetime object is a 'real' datetime object if the date falls in the Gregorian calendar (i.e. calendar='proleptic_gregorian', or calendar = 'standard'/'gregorian' and the date is after 1582-10-15). Otherwise, it's a 'phony' datetime object which is actually an instance of netcdftime.datetime. Algorithm: Meeus, Jean (1998) Astronomical Algorithms (2nd Edition). Willmann-Bell, Virginia. p. 63 |
creates a Julian Day from a 'datetime-like' object. Returns the fractional Julian Day (resolution 1 second). if calendar='standard' or 'gregorian' (default), Julian day follows Julian Calendar on and before 1582-10-5, Gregorian calendar after 1582-10-15. if calendar='proleptic_gregorian', Julian Day follows gregorian calendar. if calendar='julian', Julian Day follows julian calendar. Algorithm: Meeus, Jean (1998) Astronomical Algorithms (2nd Edition). Willmann-Bell, Virginia. p. 63 |
|
|
|
|
|
|
|
|
__version__None
|
_calendarsNone
|
_unitsNone
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Tue Nov 21 11:27:13 2006 | http://epydoc.sourceforge.net |