How mayaby/nahosmip_monsoons works
This repository is research-analysis code for comparing monsoon rainfall under AMOC collapse across climate models. The documented Figure 3 workflow starts with CDO regridding and processing, continues through SI_tables.ipynb calculations, and finishes in Main_Plots.ipynb. Other analysis branches calculate dry/wet seasons, ITCZ position, and SNS/DNS indices; notebooks produce supplementary figures, stippling regions, and tables. functions.py supplies shared data and plotting utilities. The README describes notebook capabilities and workflow; notebook internals were not sampled, so connections beyond that documented workflow are not inferred.
Main entry points: SI_tables.ipynb Supplementary tables · cdo_examples.sh CDO processing examples · get_seasons.py Season lengths and rainfall · Main_Plots.ipynb Main-text figures
Components 13
Data preparation
- CDO processing examples
cdo_examples.sh
Climate diagnostics
- Season lengths and rainfall
get_seasons.py - ITCZ calculation
itcz.py - SNS index
SNS.py - DNS indices
DNS_seas.py
Analysis notebooks
- Supplementary tables
SI_tables.ipynb - Main-text figures
Main_Plots.ipynb - Supplementary figures
SI_plots.ipynb - Stippling regions
Get_stippling_regions.ipynb
Shared utilities
- Data and plot helpers
functions.py
Other components
- Research analyst
- Climate data
- Processed model data
Connections 15
- Research analyst → CDO processing examples: runs processing
- Climate data → CDO processing examples: input data
- CDO processing examples → Processed model data: regrids and processes
- Research analyst → Season lengths and rainfall: runs analysis
- Research analyst → ITCZ calculation: runs analysis
- Research analyst → SNS index: runs analysis
- Research analyst → DNS indices: runs analysis
- Research analyst → Supplementary tables: runs notebook
- Processed model data → Supplementary tables: analysis input
- Supplementary tables → Main-text figures: provides calculations
- Research analyst → Main-text figures: runs notebook
- Research analyst → Supplementary figures: runs notebook
- Research analyst → Stippling regions: runs notebook
- Supplementary tables → Data and plot helpers: imports helpers
- Season lengths and rainfall → Data and plot helpers: imports helpers