cdms2.axis:Axis

Axis.asComponentTime(calendar=None)

Returns values as component time if axis represents time.

Parameters
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.