Software

Open tools, free to run.

Two projects carry the dissertation: the GeoClimate Intelligence Platform opens Earth data to people who do not program, and MRRpy turns those data into floods. Both are free, documented, and already used in teaching, and MRRpy now also runs as a live flood forecast. The code behind my published papers is public too.

Python package · lead developer

MRRpy

The Multi-Mechanism Runoff and Routing model: rainfall–runoff and flood routing for any basin on Earth, from a DEM and a storm. It traces the drainage network of a DEM, works out how much rain runs off, routes the water through every grid cell and sub-grid river channel, and reports the outlet hydrograph, flood maps, and a water-balance check.

Animation of water depth and river discharge spreading over the Kathmandu Valley terrain during one storm, with the outlet hydrograph
Figure 1One storm over the whole Kathmandu Valley DEM: water depth; river discharge, drawn wider where it is larger; hydrograph.

Install

pip install "MRRpy[all]"       # recommended: Earth Engine, Jupyter form, USGS data
pip install "MRRpy[all,gpu]"   # + NVIDIA GPU acceleration (CUDA 12.x)
pip install MRRpy              # minimal: Python API and command line

Run, given only an outlet

from MRRpy import Config, run_pipeline

cfg = Config(DEM_PATH="dem.tif", OUTPUT_DIR="results/",
             OUTPUT_POINT=(27.632, 85.293),   # (lat, lon) of the outlet
             TARGET_CRS_EPSG="EPSG:32645")    # a projection in metres
run_pipeline(cfg)                             # results/hydrograph.csv
MRRpy wizard            # answer a few questions, get run.yaml
MRRpy run -c run.yaml   # process the DEM and route the storm

Add a flood map of a town

cfg = Config(DEM_PATH="dem.tif", OUTPUT_DIR="results/",
             OUTPUT_POINT=(27.632, 85.293), TARGET_CRS_EPSG="EPSG:32645",
             INUNDATION_MAP=True, INUNDATION_METHOD="2d",
             INUNDATION_AREA=(85.276, 27.595, 85.325, 27.683))  # lon/lat box
run_pipeline(cfg)   # results/inundation/flood_depth_max.tif

What it offers

  • DEM to watershed. Reproject, pit-fill, D8 flow direction and accumulation, and delineation, or route the whole DEM with no outlet.
  • Runoff generation. Coefficient, raster, SCS curve number, or physical runoff: variable source area saturation excess, Green–Ampt infiltration with recovery, and impervious surfaces as composable mechanisms.
  • Flood routing. Kinematic wave, Muskingum–Cunge, and a semi-implicit diffusion wave solved exactly on the drainage tree (a local-inertial scheme is experimental), with sub-grid river channels sized from the 2-year flood and an always-on water-balance check.
  • Satellite forcing. Optional DEM download, IMERG rainfall, curve numbers, SERVES soil deficit, SoilGrids, HiHydroSoil, and land cover from Google Earth Engine; every option also works offline with your own files.
  • Flood maps. New in 1.0: flood depth and extent from the routed flow, by HAND for a whole basin in seconds or by a 2-D local-inertial simulation of a town or valley, on finer terrain than the model grid (your LiDAR, or the 30 m DEM under a 90 m run). Also depth and discharge maps over time, animations, and peak-depth GeoTIFFs (examples).
  • Forecasts. New in 1.0: rain from the world's weather models (ECMWF, GFS, ICON, and others, through Open-Meteo) for a past storm or up to 16 days ahead, and restart files that continue a run from a saved state. Together they run the Roshi Khola live flood forecast every 30 minutes.
  • CPU or GPU. One code path in NumPy or CuPy, with automatic CPU fallback; 34 times faster on GPU at 1.38 million cells.
  • Interfaces for every taste. Python API, a command line with a question-and-answer wizard, a Jupyter form, and a QGIS plugin.
License

MIT

Release

v1.0.0, November 2026

Tests

Automated tests on every push, Python 3.9 to 3.12

Paper

Drafted for the Journal of Open Source Software

Figure 2Documentation with a user manual and 14 worked examples, each shown as notebook, command line, Python, and QGIS.
Figure 3Eight Bagmati floods at Khokana without event-wise fitting: median Nash–Sutcliffe efficiency 0.81. How it was verified.
MRRpy · open for collaboration

Build on MRRpy with me.

MRRpy went public on PyPI in September 2026 and reached version 1.0 in November. In those two months people have starred and forked it on GitHub. Every new basin is a fresh test of the model, and every new process makes it useful to more people. If one of the directions below fits your work, I would like to hear from you.

20stars 8forks 3releases on PyPI 14worked examples Star or fork it on GitHub
Figure 4"How much water, and where does it go?": the MRRpy poster at the CUAHSI Water Science Exchange, University of Missouri, November 2026.

The poster follows one real run from start to finish: the ECMWF forecast issued on 27 September 2024 for the Roshi Khola in Nepal, from rain on the 3-D basin through runoff and routing to the hydrographs and the 2-D flood map of Panauti (Figure 4). It was Poster 1 at the Exchange, with Nawa Raj Pradhan and Rocky Talchabhadel.

Web platform · lead developer

GeoClimate Intelligence Platform

A Streamlit web platform on Google Earth Engine that lets students, engineers, and researchers search, analyze, and export environmental data in a browser: 1,042 datasets and 23 climate indices, with no code. Free for research and teaching.

See it working

Every screenshot here comes from a real run of the platform in October 2026. Click a step, or let it play.

geeclimate.streamlit.app · Hydrology AnalyzerOpen app
Step 1 of 7 · Pick a tool

The nine tools

  1. Tool 1

    GeoData Explorer

    Search and download from the STAC API and Earth Engine catalog, with map preview, flexible areas, and GeoTIFF, NetCDF, or CSV export.

  2. Tool 2

    Climate Intelligence Hub

    ETCCDI climate indices such as TXx, RX1day, and CDD, with Mann–Kendall trend tests, time series, and maps.

  3. Tool 3

    Hydrology Analyzer

    Precipitation analysis with return periods, frequency analysis, IDF curves, and drought indices.

  4. Tool 4

    Optimal Product Selector

    Compares station data with gridded datasets to find the best source, from daily values to extremes.

  5. Tool 5

    Multi-Geometry Export

    Time series for many areas in one file, such as every county in a state.

  6. Tool 6

    Data Visualizer

    Upload results from any tool and explore time series and rasters with charts and summaries.

  7. Tool 7

    Raster Calculator

    Band math on any Earth Engine dataset: NDVI, NDWI, EVI, or custom expressions, with temporal aggregation.

  8. Tool 8

    GLOBAL-SAM

    Monthly snow depth from MODIS and GLDAS with an ERDC algorithm, compared against reference data.

  9. Tool 9

    SERVES

    Soil moisture, snow water equivalent, and land-surface analysis with the method of Dr. Nawa Raj Pradhan (ERDC).

More tools, real outputs

Papers and talks

In classrooms and workshops

  • 2025Used by 16 undergraduates in Advanced Water Resources Engineering at Jackson State University
  • 2025AUC Data Science Initiative faculty workshop, "Harnessing GeoClimate Intelligence for Research Innovation" (28 registered faculty)
  • 2025Smartphones4water workshop on crowdsourced and accessible environmental data analysis (lead instructor)
  • 2025Best in Show and first place, Microsoft × AUC Data Science Initiative Data Challenge
Apps, courses, and code

Smaller tools and the code behind the papers.

Code on GitHub

All repositories