Satellite screening of Himalayan glacial lakes: every lake mapped every autumn since 1988, its growth measured, its outburst hazard scored, and its flood traced down the valley.
On 4 October 2023 South Lhonak lake in Sikkim burst. The flood swept away the 1,200 MW Teesta-III dam at Chungthang and destroyed bridges and buildings for 180 km down the Teesta. Moraine asks: using only satellite data from before that day, would a transparent, reproducible pipeline have ranked South Lhonak among the lakes to worry about, and would its simulated flood have followed the path the real one took?
Moraine is a research screening tool. It ranks which lakes deserve attention; it does not predict when a lake will burst and it is not an official warning system.
Sikkim · Teesta basin: 599 glacial lakes mapped from 290 satellite acquisitions over 38 autumns. 39 are growing significantly, 7 formed since the early epoch. Total lake area changed by +8% between 1988–1997 and 2021–2025 (lakes observed in both). Risk tiers: 19 very high, 46 high, 64 moderate.
Lake mapping against independent inventories (experiments/evaluate_mapping.py; the classifier
was trained on Nepal and never saw these lakes):
| Reference | Classifier | Pixel F1 | IoU | Lakes detected | ≥ 0.05 km² detected | Median area difference |
|---|---|---|---|---|---|---|
| Kumar & Vijay 2016-17 | threshold baseline | 0.76 | 0.61 | 56% | 78% | -8% |
| Kumar & Vijay 2022-24 | threshold baseline | 0.64 | 0.47 | 53% | 83% | -15% |
| Kumar & Vijay 2016-17 | learned (GBM) | 0.86 | 0.76 | 89% | 100% | +4% |
| Kumar & Vijay 2022-24 | learned (GBM) | 0.82 | 0.70 | 87% | 100% | +1% |
Year by year against Hi-MAG (2008–2017, 10 years): median pixel F1 0.83 (range 0.80–0.88).
South Lhonak replay (moraine replay, data up to 2023-09-30):
- With data up to the cutoff, South Lhonak ranked 3 of 570 lakes (very high risk).
- Moraine measured the lake at 1.70 km² before the event and 1.53 km² after it, against 1.70 and 1.50 km² on Planet imagery. The outline barely moved: most of the water left by the level dropping.
- The simulated flood peak takes 98 min to travel the 66 km to Chungthang, against about 60 min reported.
- 68% of the flood scar mapped from Sentinel-2 (beyond seasonal change) lies inside the simulated inundation.
- The blind scenario released 44 million m³; published estimates put the real release at about half the lake's volume.
- The trigger, a slope failure into the lake, is not predictable from lake area: the replay tests ranking and flood path, not timing.
| Stage | What happens | Code |
|---|---|---|
| Scenes | Landsat (1988–) and Sentinel-2 (2016–) passes over the region each post-monsoon season, screened for cloud and chosen greedily until every pixel has several clear looks | moraine.pipeline.scenes |
| Water | Every acquisition classified pixel by pixel: cloud, cloud shadow, snow and terrain cast shadow at the scene's sun angle masked; bright silty glacial water that the sensors' own masks call "cloud" recovered with a spectral test | moraine.pipeline.water, moraine.mapping |
| Lakes | Per-pixel votes across a season → yearly lake masks → outlines with stable GLIMS-style IDs; quality of each lake-year from how much of its shoreline was seen | moraine.pipeline.lakes |
| Series | Area with shoreline-based uncertainty, Theil–Sen trend with Mann–Kendall test, BIC change points, sudden drainage | moraine.pipeline.series, moraine.timeseries |
| Hazard | Six explainable factors: volume, growth, glacier contact, steep slopes above the lake, outlet steepness, lakes upstream | moraine.hazard |
| Flood | Outlet → D8 path with pit breaching → Manning normal-depth hydraulics on DEM cross-sections → Muskingum–Cunge routing → inundation, arrival times, exposed buildings, bridges, dams | moraine.flood |
| Risk | Risk matrix of hazard × exposure gives the tier; geometric mean gives the rank | moraine.pipeline.assess |
| Replay | The whole pipeline rerun with a data cutoff of 30 Sep 2023; simulated flood compared with the scar mapped from Sentinel-2 | moraine.pipeline.replay |
| Export | Typed JSON/GeoJSON and time-lapse frames for the web app, validated against a pydantic contract | moraine.export |
A gradient-boosted classifier (LightGBM) on 18 spectral, index and terrain features, trained on the Glacial Lake Observatory outlines of Khumbu, Nepal (Rawlins et al. 2026) and tested on Sikkim against inventories produced by other teams (Kumar and Vijay 2025; Hi-MAG). Training and test regions never overlap, so the scores measure transfer, not memorisation. A threshold method (NDWI/MNDWI) is kept as the baseline.
| Step | Method | Reference |
|---|---|---|
| Volume | V = 0.104 A^1.42 | Huggel et al. (2002) |
| Peak discharge | median of Costa (1985) and two Walder & O'Connor (1997) regressions; Huggel et al. (2002) 2V/t as the worst case | as tabulated by Mergili & Schneider (2011, corr. 2012) |
| Path | D8 steepest descent with local priority-flood breaching | |
| Hydraulics | Manning normal depth on 3 km DEM cross-sections every 250 m (n = 0.07) | |
| Routing | Muskingum–Cunge with Courant-matched sub-reaches | Cunge (1969) |
| Exposure | Microsoft building footprints; OpenStreetMap settlements, roads, bridges, dams, hydropower |
A static single-page app (Vite, React 19, TypeScript, Tailwind 4, MapLibre GL):
- Explore: 3D terrain map with Sentinel-2 imagery, every lake coloured by risk tier; a filterable, sortable watchlist (CSV export); shareable URLs for every view.
- Lake profile: a time-lapse of every clear autumn since 1988 with the mapped outline and a before/after swipe; area history with uncertainty band, trend and change points; the hazard breakdown factor by factor; the flood scenario with arrival times at every town, bridge and dam on the map.
- South Lhonak replay: the pre-event ranking, the lake before and after, and the simulated flood over the real scar.
- Changes: new lakes, rapid growth, acceleration and drainage events.
- Methods & data: validation numbers from the experiment reports, limitations, sources.
Light and dark themes, responsive down to phone width, keyboard accessible.
| Lake profile | South Lhonak replay |
|---|---|
![]() |
![]() |
Requirements: Python 3.11+, Node 20+. Imagery is read from the Microsoft Planetary Computer (free,
no account). Data and caches live outside the repository, in %LOCALAPPDATA%\moraine or
~/.local/share/moraine (override with MORAINE_DATA_DIR).
python -m venv .venv
.venv\Scripts\Activate.ps1 # Windows PowerShell; on Linux/macOS: source .venv/bin/activate
pip install -e ".[dev]"
npm --prefix web install
moraine references # published reference datasets (checksummed)
moraine scenes # screen and select acquisitions, 1988-2025
moraine water # classify every acquisition (hours on the first run)
moraine lakes
moraine series
moraine exposure
moraine assess
moraine replay
python experiments/evaluate_mapping.py
python experiments/build_validation.py
moraine export # writes web/public/data
python experiments/update_readme.py
npm --prefix web run dev # http://localhost:5173moraine pipeline runs the stages from scenes to export in one go. The trained classifier is
committed in models/; to retrain it, run moraine scenes --region khumbu --years 2018,2020,2022,2024 and then moraine train-water.
The first full run downloads roughly 20 GB of imagery windows and takes several hours on a
laptop; every read is cached, so reruns take minutes. Checks: pytest, ruff check ., mypy,
and in web/: npm run lint, npm run typecheck, npm test, npm run build.
src/layout, typed throughout (mypy clean), ruff lint and format, pre-commit hooks.- 67 Python unit tests on synthetic data (no network) plus an encoding check on every source file; 15 web tests (Vitest, Testing Library).
- The web data contract is defined once as pydantic models; its JSON Schema generates the
TypeScript types (
npm run gen:types), and CI fails if either side drifts. - Every published number comes from a script in
experiments/and is stored inexperiments/reports/. - GitHub Actions: Python lint, types and tests; web lint, formatting, types, tests and build; a Pages workflow publishes the app.
- 30 m pixels blur shorelines; lakes under ~0.01 km² are unreliable and small-lake areas carry ±15–25% uncertainty.
- Before 2013 many seasons have only one or two clear looks; years a lake was not clearly seen are shown as gaps.
- Lake volumes (area–volume scaling) are uncertain by about a factor of two, and empirical peak discharge relations disagree by more; ranges are reported.
- A 30 m DEM cannot see the channel below the water surface, so flood depths, widths and times are approximate.
- Building and OpenStreetMap coverage is incomplete in remote valleys; exposure is a lower bound.
Code: MIT. Data: Landsat (USGS, public domain); Sentinel-2 and Copernicus DEM (Copernicus
licence); ESA WorldCover (CC BY 4.0); Glacial Lake Observatory, Kumar & Vijay inventory, Hi-MAG
and the global GLOF database (CC BY 4.0); Microsoft building footprints and OpenStreetMap (ODbL);
Sentinel-2 cloudless basemap by EOX (CC BY-NC-SA 4.0). Full citations are in the app's Methods
page and in src/moraine/export/web.py.


