climpred.stats.varweighted_mean_period¶
-
climpred.stats.
varweighted_mean_period
(da, dim='time', **kwargs)[source]¶ Calculate the variance weighted mean period of time series based on xrft.power_spectrum.
Parameters: - da (xarray object) – input data including dim.
- dim (optional str) – Name of time dimension.
- **kwargs see xrft.power_spectrum (for) –
- Reference:
- Branstator, Grant, and Haiyan Teng. “Two Limits of Initial-Value Decadal Predictability in a CGCM.” Journal of Climate 23, no. 23 (August 27, 2010): 6292-6311. https://doi.org/10/bwq92h.
See also: https://xrft.readthedocs.io/en/latest/api.html#xrft.xrft.power_spectrum