cf.Data.change_calendar

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

Change the calendar of the data array elements.

Changing the calendar could result in a change of reference time data array values.

Not to be confused with using the override_calendar method or resetting d.Units. override_calendar is different because the new calendar need not be equivalent to the original ones and the data array elements will not be changed to reflect the new units. Resetting d.Units will