How billynunn/glacshad works
GlacShad is a Python model for estimating how terrain shading affects glacier surface mass balance. The documented workflow starts with a user calling model.run for a glacier and date range; the model loads and crops elevation data, computes solar position and terrain shading, and derives four comparison products. The excerpts show the main orchestration and data-preparation calls, but do not show the final raster-writing step, so the result node reflects README documentation rather than a verified implementation detail.
Main entry points: model.py Run model · dem.py DEM load and crop · solar.py Solar and terrain calculations · rgi.py Glacier RGI data
Components 6
Model workflow
- Run model
core/model.py - Four raster products
core/model.py
Glacier inputs
- DEM load and crop
core/dem.py - Glacier RGI data
core/rgi.py
Terrain and solar
- Solar and terrain calculations
core/solar.py
Other components
- Python user
Connections 6
- Python user → Run model: calls
README.md - Run model → DEM load and crop: loads and crops
core/model.py - DEM load and crop → Glacier RGI data: loads glacier shape
core/dem.py - Run model → Solar and terrain calculations: computes shading
core/model.py - Solar and terrain calculations → Glacier RGI data: gets glacier coordinates
core/solar.py - Run model → Four raster products: produces
README.md