pyinterp.cf.AxisTimeUnit#
- class pyinterp.cf.AxisTimeUnit[source]#
Bases:
AxisUnitContainer for valid time axis units in CF conventions.
Stores standardized CF units for temporal coordinates, such as ‘days’ and ‘seconds’.
Initialize an AxisTimeUnit instance.
Attributes
Retrieve the set of valid units for this axis type.
Inherited Methods
add(object, /)Add an element to a set.
clear()Remove all elements from this set.
copy()Return a shallow copy of a set.
difference(*others)Return a new set with elements in the set that are not in the others.
difference_update(*others)Update the set, removing elements found in others.
discard(object, /)Remove an element from a set if it is a member.
intersection(*others)Return a new set with elements common to the set and all others.
intersection_update(*others)Update the set, keeping only elements found in it and all others.
isdisjoint(other, /)Return True if two sets have a null intersection.
issubset(other, /)Report whether another set contains this set.
issuperset(other, /)Report whether this set contains another set.
pop()Remove and return an arbitrary set element.
remove(object, /)Remove an element from a set; it must be a member.
symmetric_difference(other, /)Return a new set with elements in either the set or other but not both.
symmetric_difference_update(other, /)Update the set, keeping only elements found in either set, but not in both.
union(*others)Return a new set with elements from the set and all others.
update(*others)Update the set, adding elements from all others.