Encode

Work

Climate data gateway for flood early warning

Built to run inside Nepal on open-source software and to be handed over with code, documentation and training, in progress, October 2025 to July 2028.

A basin-level weather and climate data gateway for Nepal's multi-hazard early-warning programme, built to run inside the country on open-source software and to be handed over with documentation, code and training. For hydrosolutions GmbH under the SDC-funded ReCAP programme, from October 2025 to July 2028, with support extended at no cost to December 2028. In progress.

Climate data gateway: the same extraction for training and operations Sources Gateway, Nepal Consumers ECMWF forecasts 51 members, 4 cycles a day ERA5-Land reanalysis Snow products Basin geometry GeoPackage, exact Exact Extraction Airflow, exactextract Exact NWP archive in country Status surface coverage per basin API key-protected, Python client Forecasting system all basins, every cycle Back-extraction on request Orange: training and operations read the same geometry on each source's native grid.
Climate data gateway: the same extraction for training and operations

Situation

Nepal faces more frequent and more intense disasters from hazards that interact: floods, glacial lake outburst floods, glacier and permafrost melt, landslides. The Government of Nepal, the Asian Development Bank and the World Bank asked Switzerland for support in disaster risk management, in particular to de-risk two large hydropower investments in Koshi Province, the 1,069 MW Upper Arun and the 635 MW Dudhkoshi projects. The programme's first deliverable is a real-time hydro-meteorological monitoring and forecasting tool for those two basins.

A forecasting tool needs a reliable upstream feed of basin-level weather and climate data: ensemble forecasts, reanalysis and snow data, aggregated per catchment and per elevation band, delivered four times a day, available as multi-year history for model training, served from inside the country on the hydromet service's own infrastructure, with Nepali and English interfaces, and maintainable by local staff after the programme ends.

What we are building

The Himalayan Data Gateway is the platform that turns global open meteorological archives into the per-basin forcing data the programme's flood forecasting system runs on for the Arun and Dudhkoshi river basins. The engagement covers an architecture upgrade for robustness and scale, the integration of further ECMWF products (extra ensemble parameters, the AIFS deterministic forecast, extended-range and high-resolution forecasts), localisation to Nepal's geography, datasets and stakeholders with English and Nepali interfaces, and maintenance and support through 2028 with hand-over of documentation, code and training to Nepalese partners. The programme's goal is that Nepali institutions operate the systems themselves.

The integration requirements were agreed directly with the forecasting-system team in June 2026: how basin geometry is submitted, exact-geometry extraction, ensemble preservation, per-band aggregation, four deliveries a day and historical back-extraction. As of October 2026 the gateway is about 30 to 40 percent of the way through, running on simulated data, with the real basin shapefiles and data next.

One forecast pipeline of the climate data gateway in the scheduler's graph view: a wait sensor, a download-and-crop task for each forecast variable, an aggregation task for each, and the durations of the last ten runs beside it.
One forecast pipeline in the scheduler: a download-and-crop task and an aggregation task per variable, with the durations of the last ten runs.

The hard part

The gateway sits upstream of the forecasting system and does grid-to-basin extraction, and it has to do it the same way for training data and for operations. Basin geometry arrives as validated GeoPackages, one named feature per catchment or elevation band. The gateway extracts against exactly the submitted geometry, with no reprojection and no simplification, on each source's native grid, so the inputs a model was trained on and the inputs it runs on stay consistent.

Every ECMWF cycle, four a day, it delivers basin-average and per-band forcing for all registered basins, preserving all 51 ensemble members, over an API-key-protected API where each value is identified by feature, variable, valid time, lead time and member. On request it back-extracts multi-year reanalysis and historical snow series for a new basin with the same pipeline and format, tagged by provenance so reanalysis and forecast are never confused. It reports the coverage of each basin against the sources, manages the in-country archive of numerical weather prediction data, and exposes a status surface the hydromet's system administrators can check by eye.

Production runs on premise in Nepal, with a cloud staging instance, on open-source frameworks only, as the contract requires.

Where it stands

  • Milestones (service contract): service agreement signed 1 October 2025, architecture upgrade due end 2025, integration requirements agreed June 2026, localised Nepal gateway due end 2026, support to July 2028, extended at no cost to December 2028.
  • About 30 to 40 percent complete in October 2026, on simulated data, real shapefiles and data next.
  • Serves the programme's first deliverable, the real-time monitoring and forecasting tool for the Upper Arun and Dudhkoshi basins, under the SDC mandate signed 9 July 2025 for a programme running from April 2025 to July 2028, with the National Disaster Risk Reduction and Management Authority as the government counterpart.

Basin counts, datasets and data volumes follow once the real data is connected.

Fact sheet

Clienthydrosolutions GmbH, Zürich, Switzerland, a member of the consortium with the University of Geneva and the University of Zurich mandated by SDC. End users: Nepal's Department of Hydrology and Meteorology and its forecasting operators.
Engagementsubcontractor to hydrosolutions under the SDC mandate, October 2025 to July 2028. Build, localise and maintain the gateway, then hand over documentation, source code and training to Nepalese stakeholders.
How we work togetheriterative delivery with progress reviews, regular technical calls with the consortium, requirements negotiated directly with the forecasting-system team, milestones aligned with the programme's reporting schedule.
Platform, as planned before the architecture upgradePython, Apache Airflow with configuration-driven pipelines, Django, exactextract zonal statistics on native grids, GeoPackage and GDAL, GRIB and NetCDF, ECMWF open data (IFS ensemble, AIFS, extended-range and high-resolution forecasts), ERA5-Land reanalysis, snow products, a REST API with API-key authentication and a pandas-friendly Python client. Open-source frameworks only.
Numbers, with their dates51 ensemble members preserved, 4 deliveries a day (requirements, June 2026). 2 basins at the start, serving 1,069 MW and 635 MW hydropower projects (terms of reference). Support to July 2028, extended to December 2028.
CompanyEncode d.o.o., Zagrebačka cesta 145A, Zagreb, Croatia
info@encode.hr
SiteWork Services About Contact
LegalImpressum / Legal notice Privacy
OIB 04954819540, MBS 060325736