How alexborowiak/mjo_and_rainfall_trend works
This repository supports research for a paper on the relationship between the Madden–Julian Oscillation (MJO) and rainfall trends in Northwest Australia. The apparent workflow is to load rainfall and MJO-index data, classify observations by MJO phase or subphase, calculate rainfall summaries and trends, assess statistical significance, and visualize spatial and phase-based results. The README establishes the research purpose, while sampled modules show the data-loading, calculation, statistical, and plotting layers. Notebook-level orchestration and several documented-in-code capabilities are not fully visible in the excerpts, so their connections are left out where unsupported.
Main entry points: load_dataset.py Rainfall loader · constants.py Data settings · miscellaneous.py Spatial masking · phase_calc_functions.py Phase analysis
Components 15
Data access
- Rainfall loader
load_dataset.py - RMM loader
load_dataset.py - Legacy loaders
drafts/load_dataset_ot.py - Data settings
constants.py
MJO and rainfall analysis
- Phase analysis
phase_calc_functions.py - Legacy phase analysis
drafts/zzzz_def_____phase_calc_functions-Copy1.py - Subphase analysis
drafts/subphase_calc_functions.py - Time calculations
calculation_functions.py - Spatial masking
miscellaneous.py
Trend statistics
- Trend analysis
phase_calc_functions.py - Mann–Kendall tests
mystats.py
Visualization
- Trend maps
map_trend_functions.py - Phase plots
drafts/phase_plot_functions.py - Analysis plots
plotting_functions.py
Other components
- Researcher
Connections 18
- Rainfall loader → Data settings: reads path
load_dataset.py - RMM loader → Data settings: reads path
load_dataset.py - Researcher → RMM loader: requests RMM data
- Phase analysis → Mann–Kendall tests: calls tests
phase_calc_functions.py - Phase analysis → Time calculations: uses conversions
phase_calc_functions.py - Phase analysis → Rainfall loader: loads data
phase_calc_functions.py - Legacy phase analysis → Mann–Kendall tests: uses tests
drafts/zzzz_def_____phase_calc_functions-Copy1.py - Legacy phase analysis → Rainfall loader: loads data
drafts/zzzz_def_____phase_calc_functions-Copy1.py - Subphase analysis → Rainfall loader: loads data
- Time calculations → Spatial masking: applies masks
calculation_functions.py - Trend analysis → Mann–Kendall tests: computes p-values
phase_calc_functions.py - Trend maps → Rainfall loader: loads mask
map_trend_functions.py - Trend maps → Data settings: uses settings
map_trend_functions.py - Trend maps → Spatial masking: uses utilities
map_trend_functions.py - Phase plots → Spatial masking: uses utilities
drafts/phase_plot_functions.py - Analysis plots → Time calculations: filters data
plotting_functions.py - Analysis plots → Data settings: uses settings
plotting_functions.py - Analysis plots → Spatial masking: uses utilities
plotting_functions.py