Ratingcurve: A Python Package for Fitting Streamflow Rating Curves
Open Access
Abstract
Streamflow is one of the most important variables in hydrology, but it is difficult to measure continuously. As a result, nearly all streamflow time series are estimated from rating curves that define a mathematical relationship between streamflow and some easy-to-measure proxy like water surface elevation (stage). Despite the existence of automated methods, most rating curves are still fit manually, which can be time-consuming and subjective. Although several automated methods exist, they vary greatly in performance because of the non-convex nature of the problem. In this work, we develop a parameterization of the segmented power law that works reliably with minimal data, which could serve operationally or as a benchmark for evaluating other methods. The model, along with test data and tutorials, is available as an open-source Python package called ratingcurve. The implementation uses a modern probabilistic machine-learning framework, which is relatively easy to modify so that others can improve upon it.Keywords
Funding Information
- U.S. Geological Survey (NA)
This publication has 15 references indexed in Scilit:
- On the generation of stream rating curvesJournal of Hydrology, 2018
- Probabilistic programming in Python using PyMC3PeerJ Computer Science, 2016
- A novel framework for discharge uncertainty quantification applied to 500 UK gauging stationsWater Resources Research, 2015
- Combining hydraulic knowledge and uncertain gaugings in the estimation of hydrometric rating curves: A Bayesian approachJournal of Hydrology, 2014
- Bayesian methods for estimating multi-segment discharge rating curvesStochastic Environmental Research and Risk Assessment, 2008
- Existence of the frequentistic estimate for power-law regression with a location parameter, with applications for making discharge rating curvesStochastic Environmental Research and Risk Assessment, 2006
- Accounting for heteroscedasticity in rating curve estimatesJournal of Hydrology, 2004
- Streamflow Measurement2002
- Log-normal Distributions across the Sciences: Keys and CluesBioScience, 2001
- A NOTE ON THE ESTIMATION OF THE PARAMETERS IN LOGARITHMIC STAGE-DISCHARGE RELATIONSHIPS WITH ESTIMATES OF THEIR ERRORInternational Association of Scientific Hydrology. Bulletin, 1970