Python code for OND rainfall anomaly, climatology analysis and seasonal forecasting over East Africa using ERA5, GPCP, and C3S, with ENSO and IOD diagnostics
# East-African-short-rains-forecasting
📌 About
This repository contains the code used in the article:
“Seasonal Forecasting of East African Short Rains”
Tefera et al., 2025:
nature.com. it also found in 'Code availability' in this paper
zenodo.org
It provides a reproducible workflow for analyzing OND (October–December) rainfall variability over East Africa using observational datasets and climate model outputs.Python code for OND rainfall anomaly, climatology analysis and seasonal forecasting over East Africa using ERA5, GPCP, and C3S, with ENSO and IOD diagnostics
👨🔬 Authors
Agumase K. Tefera (PhD)
ORCID: (
orcid.org 0000-0003-1456-2189e)
📂 Repository Structure
🔹 Preprocess.ipynb
Preprocesses raw NetCDF data from the Copernicus Climate Change Service (C3S).
Extracts relevant variables
Reduces dataset size
Prepares inputs for analysis
🔹 Calculations.py
Core analysis script used in the study:
Climatology computation
Anomaly calculation
Correlation analysis
Statistical diagnostics (e.g., ENSO/IOD relationships)
🔹 Figures.ipynb
Generates all figures presented in the paper:
nature.com
Spatial maps (rainfall anomalies, climatology)
Composite analysis plots
Visualization of ENSO/IOD impacts