nctoolkit.DataSet.rolling_min

DataSet.rolling_min(self, window=None)

Calculate a rolling minimum based on a window

Parameters

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

Examples

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

>>> ds.rolling_min(10)