🧊 PyGEM — Frontal Ablation Calibration Branch (Zenodo Release v1.0.0)
This release corresponds to the PyGEM modifications (PyGEM_RT branch) used for the frontal ablation calibration and simulation experiments in the associated publication.
📄 Paper
Joint Bayesian Calibration of Frontal Ablation and Surface Mass Balance in Global Glacier Models
(GMD Preprint, 2026)

📦 Zenodo Archive
🔗 Related Components
This release is part of a three-component framework. The companion repositories and their tagged versions are:
| Component | Repository | Branch | Tag |
|---|---|---|---|
| OGGM core | Ruitangtang/oggm | SERMeQ_RT |
v1.0.0-zenodo-frontal-ablation |
| PyGEM (this release) | Ruitangtang/PyGEM | PyGEM_RT |
v1.0.0-zenodo-pygem-rt |
| Calibration scripts | Ruitangtang/PyGEM-scripts | FA_AdaPBS_RT |
v1.0.0-zenodo-fa-adapbs-rt |
📂 Contents
This branch extends PyGEM with the following enhancements:
Mass balance module (core/massbalance.py):
- Added
get_monthly_mbfunction for monthly-scale mass balance calculations - Introduced new parameters in
get_annual_mbto support year-month specific outputs - Added
volume_m3_annualandvolume_m3_monthoutputs within theensure_mass_conservationfunction - Added
glac_wide_massbalclimas a new variable in thePyGEMMassBalanceclass
Glacier geometry and storage:
- Added length change as an extra glacier variable in the storage class to track terminus dynamics
Calving and flowline functions (core/flowline.py):
- Refactored
single_flowline_glacier_directoryandsingle_flowline_glacier_directory_with_calving - Both functions now share the same workflow structure with cleaner logic and improved readability
Output handling:
- Custom output handlers to export frontal ablation flux alongside standard mass balance outputs
🚀 Getting Started
This release is the source-code reference for the PyGEM modifications.
For a complete, lightweight, runnable package with:
- Sample input data (single glacier example)
- Step-by-step setup and execution instructions
- All Jupyter notebooks to reproduce every figure from the paper
👉 Visit the dedicated showcase repository:
Ruitangtang/frontal-ablation-module
📌 Citation
If you use this code in your research, please cite both the paper and the Zenodo archive:
Joint Bayesian Calibration of Frontal Ablation and Surface Mass Balance in Global Glacier Models. GMD Preprint, 2026. DOI: 10.5194/egusphere-2026-1081
Frontal Ablation Module for OGGM-PyGEM (v1.0.0). Zenodo, 2026. DOI: 10.5281/zenodo.18761729