Skip to content

senclimate/XRO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Description

The XRO is an eXtended nonlinear Recharge Oscillator model for El Niño-Southern Oscillation (ENSO) and other modes of variability in the global oceans. It builds on the legacies of the Hasselmann stochastic climate model capturing upper ocean memory in SST variability, and the recharge oscillator model for the oscillatory core dynamics of ENSO. It constitutes a parsimonious representation of the climate system in a reduced variable and parameter space that still captures the essential dynamics of interconnected global climate variability.

For the detailed formulation of XRO model, please refer to our paper Zhao et al. (2024)[1] in Nature.

This repository hosts the python package for XRO model. We have designed XRO to be user-friendly, aiming to be a valuable tool not only for research but also for operational forecasting and as an educational resource in the classroom. We hope that XRO proves to be both a practical and accessible tool that enhances your research and teaching experiences.

If you encounter problems in running XRO or have questions, please feel free to contact Sen Zhao (zhaos@hawaii.edu).

XRO functionalities

XRO model is implemented in python with dependencies on only numpy and xarray. Key functionalities include:

  • XRO.fit_matrix is a precedure to train XRO parameters from the observational and climate model outputs
  • XRO.simulate is a precedure to perform stochastic simulations with the trained parameters
  • XRO.reforecastis a precedue to perform reforecasting or forecasting using the trained parameters and initial condictions

Quick Start

XRO_Cookbook.ipynb is a Jupyter Notebook showing how to use XRO and reproduce the analysis of Zhao et al. 2024[1]. To successfully run the example, these open-source python modules may be necessary: numpy, xarray, climpred, matplotlib, and datetime.

Acknowledgement

Kindly requested to cite our paper Zhao et al. (2024) [1] if use the XRO model in your published works.

References

[1] Zhao, S., Jin, F.-F., Stuecker, M.F., Thompson, P.R., Kug, J.-S., McPhaden, M.J., Cane, M.A., Wittenberg, A.T., Cai, W., (2024). Explainable El Niño predictability from climate mode interactions. Nature. https://doi.org/10.1038/s41586-024-07534-6

[2] Zhao, S. (2024). Extended nonlinear Recharge Oscillator (XRO) model for "Explainable El Niño predictability from climate mode interactions". Zenodo. https://doi.org/10.5281/zenodo.10681114