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
- ds
xarray.Dataset
a dataset to be averaged
- movingAveragePointsint, optional
The number of points (months) over which to perform the rolling average of the data set
- ds
- Returns
- ds
xarray.Dataset
The anomaly of the rolling time mean from the start of the simulation
- ds