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.

P_{x} = \frac{\sum_k V(f_k,x)}{\sum_k f_k  \cdot V(f_k,x)}

Parameters
  • da (xarray object) – input data including dim.

  • dim (optional str) – Name of time dimension.

  • xrft.power_spectrum (for **kwargs see) –

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