Preprints
https://doi.org/10.5194/gmd-2024-164
https://doi.org/10.5194/gmd-2024-164
Submitted as: methods for assessment of models
 | 
11 Nov 2024
Submitted as: methods for assessment of models |  | 11 Nov 2024
Status: this preprint is currently under review for the journal GMD.

Spy4Cast v1.0: a Python Tool for statistical seasonal forecast based on Maximum Covariance Analysis

Pablo Duran-Fonseca and Belén Rodríguez-Fonseca

Abstract. Maximum Covariance Analysis (MCA) is a well known discriminant analysis technique used for finding coupled patterns in climate data. This is a powerful tool that has been applied to the study of teleconnections, by reducing all possible relationships between a predictor and a predictand field to a few modes of covariability patterns. MCA can be used to provide statistical forecasts, which can complement predictions performed with dynamical models. Nevertheless, the power of this tool relies on its application in a productive and easy way, as it can be applied to the huge climate data-sets available. Spy4Cast is an open-source interface (API), implemented in Python, that contains a MCA-based statistical model to be used for seasonal forecast. Its main goal is to increase automation and productivity. Spy4Cast enables large data-set manipulation and also performs basic tasks like region slicing and plotting. The methodology consists on an initial configuration (data-set reading and slicing) and preprocessing that prepares the data to be fed into MCA, crossvalidation and validation. It acts upon any kind of predictor and predicting variables that can come from any source of data. Spy4Cast analyses the model sensitivity to particular years, including a diagnosis of the stability of the obtained modes to particular outliers. Finally, the spatial and temporal skill, in terms of anomaly correlation coefficient is obtained and a hindcast is provided. The software is easily accessible through a python package and well documented for beginners and experienced programmers. Only a reduced number of third-party libraries are needed, and they are those widely used in data-science and physics.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this preprint. The responsibility to include appropriate place names lies with the authors.
Pablo Duran-Fonseca and Belén Rodríguez-Fonseca

Status: open (until 06 Jan 2025)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Pablo Duran-Fonseca and Belén Rodríguez-Fonseca
Pablo Duran-Fonseca and Belén Rodríguez-Fonseca

Viewed

Total article views: 60 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
50 9 1 60 0 0
  • HTML: 50
  • PDF: 9
  • XML: 1
  • Total: 60
  • BibTeX: 0
  • EndNote: 0
Views and downloads (calculated since 11 Nov 2024)
Cumulative views and downloads (calculated since 11 Nov 2024)

Viewed (geographical distribution)

Total article views: 59 (including HTML, PDF, and XML) Thereof 59 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 17 Nov 2024
Download
Short summary
This paper describes the first release of Spy4Cast, a python interface to run a maximum covariance analysis model to produce seasonal forecast. This API allows the user to increase automation and productivity, including determination of modes, crossvalidation hindcast and validation. It includes a visualisation module for the results as well as a preprocessing tool that can be also used for other climate variability studies.