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 OrderedDict which maps field names to their values.

_field_defaults = {}
_fields = ('calendar', 'dtype', 'units')
_fields_defaults = {}
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

property calendar

Alias for field number 0

property dtype

Alias for field number 1

property units

Alias for field number 2