climpred.classes.HindcastEnsemble.smooth

HindcastEnsemble.smooth(smooth_kws='goddard2013')

Smooth all entries of PredictionEnsemble in the same manner to be able to still calculate prediction skill afterwards.

Parameters:xobj (xarray object) – decadal prediction ensemble output.
smooth_kws

Dictionary to specify the dims to smooth compatible with spatial_smoothing_xesmf, temporal_smoothing or spatial_smoothing_xrcoarsen. Shortcut for Goddard et al. 2013 recommendations: ‘goddard2013’

Type:dict or str

Example: >>> PredictionEnsemble.smooth(smooth_kws={‘time’: 2,

‘lat’: 5, ‘lon’: 4’})
>>> PredictionEnsemble.smooth(smooth_kws='goddard2013')