---
title: "The next chapter in flood resilience: Open sourcing Google’s hydrology framework"
description: "Google has open-sourced the hydrology modeling framework behind Flood Hub's riverine flood forecasts as a PyTorch-based Python package under Apache 2.0, letting meteorological agencies train or fine-tune LSTM streamflow models on their own data via the Caravan dataset."
url: "https://swe.quest/articles/the-next-chapter-in-flood-resilience-open-sourcing-google-s-hydrology-framework-daae9ed1a7e4dc7c"
canonical: "https://research.google/blog/the-next-chapter-in-flood-resilience-open-sourcing-googles-hydrology-framework/"
source: "Google Research"
published: "2026-06-03"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 6
tags: ["scientific-computing","machine-learning","open-source","python"]
---

# The next chapter in flood resilience: Open sourcing Google’s hydrology framework

A post on [Google Research](https://swe.quest/sources/google-research.md), published 2026-06-03, 6 min read, Announcement. Original: [https://research.google/blog/the-next-chapter-in-flood-resilience-open-sourcing-googles-hydrology-framework/](https://research.google/blog/the-next-chapter-in-flood-resilience-open-sourcing-googles-hydrology-framework/)

## Summary

Google has open-sourced the hydrology modeling framework behind Flood Hub's riverine flood forecasts as a PyTorch-based Python package under Apache 2.0, letting meteorological agencies train or fine-tune LSTM streamflow models on their own data via the Caravan dataset. The repo includes the original 2024 benchmarked model and the v2 ME-LSTM model, which embeds each weather product (GraphCast, IFS, IMERG, CPC) with a separate network before an LSTM outputs a streamflow probability distribution; v2 extends the reliable forecast horizon by six days in gauged basins and one day in ungauged basins. The Czech Hydrometeorological Institute validated forecasts as comparable to locally calibrated conceptual models and built an adapter for the Delft-FEWS operational platform.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Scientific computing](https://swe.quest/tags/scientific-computing.md) (Domains)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- LSTM networks
- streamflow forecasting basics

## Keywords

Google Flood Hub, PyTorch, LSTM, ME-LSTM, Caravan dataset, Delft-FEWS, GraphCast, CHMI

## Related posts

- [Protecting cities with AI-driven flash flood forecasting](https://swe.quest/articles/protecting-cities-with-ai-driven-flash-flood-forecasting-66612a2a505128e3.md): Google Research · 2026-03-12 · Easy · 7 min read · Machine learning, Maps & geospatial, Scientific computing, LLMs
  Google's Flood Hub now forecasts urban flash floods up to 24 hours ahead using an LSTM model trained on Groundsource, a dataset of historical flood events that Gemini extracted from news reports, since flash floods lack stream-gauge ground truth.
- [Introducing Groundsource: Turning news reports into data with Gemini](https://swe.quest/articles/introducing-groundsource-turning-news-reports-into-data-with-gemini-06071051a34e18e8.md): Google Research · 2026-03-12 · Easy · 5 min read · LLMs, Data pipelines, Maps & geospatial, Scientific computing
  Groundsource is a Gemini-based pipeline that extracts structured historical flood events from global news.
- [TimesFM-3: A zero-shot foundation model for multivariate forecasting](https://swe.quest/articles/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting-c2421e383bcd85af.md): Google Research · 2026-08-31 · Hard · 6 min read · Machine learning, Model training, Inference & serving
  TimesFM-3 is a 330M-parameter decoder-only transformer pre-trained on over 1 trillion real and synthetic time points that does zero-shot multivariate forecasting, supporting multiple targets, past-only covariates and known-future covariates.
- [Using Machine Learning to Aid Survivors and Race through Time](https://swe.quest/articles/using-machine-learning-to-aid-survivors-and-race-through-time-deebf3280de9a77c.md): Hugging Face · 2023-03-03 · Medium · 7 min read · Machine learning, Model training, ML platforms, Computer vision, Evaluation
  After the February 2023 Turkey earthquakes, volunteers built ML pipelines for the afetharita disaster map.
- [Probabilistic Time Series Forecasting with 🤗 Transformers](https://swe.quest/articles/probabilistic-time-series-forecasting-with-transformers-d4a4a66f913813a3.md): Hugging Face · 2022-12-01 · Hard · 19 min read · Machine learning, Model training, Python
  An encoder-decoder Transformer can be trained as a global probabilistic forecaster that learns across many related time series and outputs a distribution (Student-t by default) rather than point estimates, with forecasts sampled autoregressively.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
