EGU26-9793, updated on 14 Mar 2026
https://doi.org/10.5194/egusphere-egu26-9793
EGU General Assembly 2026
© Author(s) 2026. This work is distributed under
the Creative Commons Attribution 4.0 License.
PICO | Monday, 04 May, 08:51–08:53 (CEST)
 
PICO spot A, PICOA.5
RivRetrieve-Python: A Python package for facilitating and unifying access to global streamflow data
Simon Moulds1, Thiago Nascimento2, Ryan Riggs3, George Allen4, and Frederik Kratzert5
Simon Moulds et al.
  • 1School of GeoSciences, University of Edinburgh, UK (simon.moulds@ed.ac.uk)
  • 2Eawag: Swiss Federal Institute of Aquatic Science and Technology, Dübendorf, Switzerland
  • 3Liberty Mutual, Boston, MA, USA
  • 4Department of Geosciences, Virginia Tech, Blacksburg, VA, USA
  • 5Google Research, Vienna, Austria

Large-sample hydrology datasets (e.g. CAMELS) provide structured hydro-meteorological time series data together with time-varying and static catchment attributes. They are fundamental to modern hydrological analysis, supporting hypothesis testing, model development, and the synthesis of generalisable hydrological insights across large and heterogeneous sets of river basins. However, the present generation of large-sample datasets have several shortcomings. First, they are difficult to update as new information becomes available. In addition, they often provide only a small subset of the variables collected at hydrometric gauging sites and usually exclude sub-daily data, while inconsistent naming conventions across the various datasets make data integration challenging. Finally, they may not include the quality flags that are often assigned to individual measurements by the measuring authority. To address these issues, we present RivRetrieve-Python (https://github.com/kratzert/RivRetrieve-Python), a new open source library that provides access to streamflow, stage and river temperature from more than 18 hydrometric APIs with more than 60 000 gauge stations in total at the time of writing (January 2026). An object-oriented design abstracts the implementation details of hydrometric APIs to provide users with a consistent interface irrespective of the data source or variable. We provide helper functions to simplify data retrieval from multiple catchments at once. We suggest that RivRetrieve-Python will streamline global to continental hydrological analysis and enable future research on real-time river monitoring and digital twins, hydrological prediction, and sub-daily hydrological variability and extremes. 

How to cite: Moulds, S., Nascimento, T., Riggs, R., Allen, G., and Kratzert, F.: RivRetrieve-Python: A Python package for facilitating and unifying access to global streamflow data, EGU General Assembly 2026, Vienna, Austria, 3–8 May 2026, EGU26-9793, https://doi.org/10.5194/egusphere-egu26-9793, 2026.