climpred.smoothing.temporal_smoothing¶
-
climpred.smoothing.
temporal_smoothing
(ds, tsmooth_kws=None, how='mean', d_lon_lat_kws=None)[source]¶ Apply temporal smoothing by creating rolling smooth-timestep means.
Reference: * Goddard, L., A. Kumar, A. Solomon, D. Smith, G. Boer, P.
Gonzalez, V. Kharin, et al. “A Verification Framework for Interannual - to - Decadal Predictions Experiments.” Climate Dynamics 40, no. 1–2 (January 1, 2013): 245–72. https://doi.org/10/f4jjvf.
- Parameters
ds (xr.object) – input.
tsmooth_kws (dict) – length of smoothing of timesteps. Defaults to {‘time’: 4} (see Goddard et al. 2013).
how (str) – aggregation type for smoothing. default: ‘mean’
d_lon_lat_kws (None) – leads nowhere but consistent with spatial_smoothing_xesmf.
- Returns
- input with smooth timesteps less
and labeling ‘1-(smooth-1)’, ‘…’, … .
- Return type
ds_smoothed(xr.object)