cf.Field.climatological_time_axes¶
-
Field.
climatological_time_axes
()[source]¶ Return all axes which are climatological time axes.
New in version (cfdm): 1.7.0
- Returns
list
The list of all axes on the field which are climatological time axes. If there are none, this will be an empty list.
Examples:
>>> f <CF Field: air_temperature(time(12), latitude(145), longitude(192)) K> >>> print(f.cell_methods()) Constructs: {'cellmethod0': <CF CellMethod: domainaxis0: minimum within days>, 'cellmethod1': <CF CellMethod: domainaxis0: mean over days>} >>> f.climatological_time_axes() [('domainaxis0',), ('domainaxis0',)]
>>> g <Field: air_potential_temperature(time(120), latitude(5), longitude(8)) K> >>> print(g.cell_methods()) Constructs: {'cellmethod0': <CF CellMethod: area: mean>} >>> g.climatological_time_axes() []