climpred.classes.HindcastEnsemble.smooth

HindcastEnsemble.smooth(smooth_kws=None, how='mean', **xesmf_kwargs)

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

Parameters

Examples

>>> PredictionEnsemble.smooth({'lead': 2, 'lat': 5, 'lon': 4'})
>>> PredictionEnsemble.smooth('goddard2013')
>>> PredictionEnsemble.smooth({'lon':1, 'lat':1}, method='patch')
>>> PredictionEnsemble.smooth({'lead':2}, how='sum')