Rating Curve Analysis Template - Jupyter Notebook

Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource.
Resource type: Composite Resource
Storage: The size of this resource is 212.5 KB
Created: Sep 14, 2016 at 5:07 p.m.
Last updated: Oct 18, 2016 at 10 p.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 2164
Downloads: 183
+1 Votes: Be the first one to 
Comments: 1 comment


A template Jupyter Python (3) Notebook for analyzing discharge rating curve data. Data is imported from an excel file and analyzed following Herschy 2009. After an initial analysis, a least squares regression, is performed on the input data. Eventually it would be nice to implement a weighted regression based on uncertainties.

Subject Keywords

Deleting all keywords will set the resource sharing status to private.


How to Cite

Cox, C. (2016). Rating Curve Analysis Template - Jupyter Notebook, HydroShare, http://www.hydroshare.org/resource/2a4f540b875b440ebdfbeeb6588ae7ae

This resource is shared under the Creative Commons Attribution CC BY.



Chris Cox 5 years, 10 months ago

A few tips:
- You will need to create an excel file with a 'ToPython' tab (or change the code) and the following columns: Date/time, Discharge, Uncertainty, Elevation
-- The uncertainty is % and is used to plot error bars in the regression.
-- Date/time isn't really used...

- When you run a cell with a figure, you will need to "de-activate" the figure before running another cell with a figure. (There is a "power" button at the top of the figure).

+1 Votes: Be the first one to 

New Comment