nctoolkit.DataSet.rolling_range

DataSet.rolling_range(self, window=None)

Calculate a rolling range based on a window

Parameters

= int (window) – The size of the window for the calculation of the rolling range

Examples

If you wanted to calculate a rolling range with the range calculated over every 10 time steps, do the following:

>>> ds.rolling_range(10)