cf.Data.override_calendar

Data.override_calendar(calendar, i=False)[source]

Override the data array units in place.

Not to be confused with setting the Units attribute to units which are equivalent to the original units. This is different because in this case the new units need not be equivalent to the original ones and the data array elements will not be changed to reflect the new units.

Parameters :calendar : str
Returns :out : cf.Data

Examples

Previous topic

cf.Data.outerproduct

Next topic

cf.Data.override_units

This Page