mpas_analysis.shared.time_series.compute_moving_avg

mpas_analysis.shared.time_series.compute_moving_avg(ds, movingAveragePoints=12)[source]

Compute the rolling mean of a data set

Parameters
dsxarray.Dataset

a dataset to be averaged

movingAveragePointsint, optional

The number of points (months) over which to perform the rolling average of the data set

Returns
dsxarray.Dataset

The anomaly of the rolling time mean from the start of the simulation