climpred.stats.decorrelation_time

climpred.stats.decorrelation_time(da, iterations=20, dim='time')[source]

Calculate the decorrelaton time of a time series.

\tau_{d} = 1 + 2 * \sum_{k=1}^{r}(\alpha_{k})^{k}

Parameters
  • da (xarray object) – input.

  • iterations (optional int) – Number of iterations to run the above formula.

  • dim (optional str) – Time dimension for xarray object.

Returns

Decorrelation time of time series.

Reference:
  • Storch, H. v, and Francis W. Zwiers. Statistical Analysis in Climate Research. Cambridge ; New York: Cambridge University Press, 1999., p.373