nctoolkit.DataSet.shift

DataSet.shift(self, \*\*kwargs)

Shift method. A wrapper for shift_days, shift_hours Operations are applied in the order supplied.

Parameters

*kwargs

hours maps to shift_hours days maps to shift_days months maps to shift_months years maps to shift_years

Note: this uses partial matches. So hour, day, month, year will also work.