improver.metadata.constants.time_types module#

Expected datatypes and units for time-type coordinates

class TimeSpec(calendar, dtype, units)#

Bases: tuple

_asdict()#

Return a new dict which maps field names to their values.

_field_defaults = {}#
_fields = ('calendar', 'dtype', 'units')#
classmethod _make(iterable)#

Make a new TimeSpec object from a sequence or iterable

_replace(**kwds)#

Return a new TimeSpec object replacing specified fields with new values

calendar#

Alias for field number 0

dtype#

Alias for field number 1

units#

Alias for field number 2