cdms2.axis:FileAxis¶
-
FileAxis.
toRelativeTime
(units, calendar=None)¶ Converts values in-place to relative time.
- Parameters
- unitsstr
Base units used converting component to relative values.
- calendarcdtime.Calendar
Calendar used to convert relative time to component time. If
None
then the calendar set in attributes will be used. If this is not set then the default calendar will be used.