Hi, I'm an error. x

Rating Curve Analysis Template - Jupyter Notebook

Authors: Chris Cox
Owners: Chris Cox · iUTAH Data Manager
Resource type:Generic
Created:Sep 14, 2016 at 5:07 p.m.
Last updated: Jan 17, 2017 at 7:13 p.m. by Chris Cox


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.


Discharge,Jupyter Notebook,Rating Curve,Python

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.


Sharing status:

  • Public Resource  Public
  • Sharable Resource  Shareable


Download All Content as Zipped BagIt Archive
Learn more about the Bagit archive format


The people or organizations that created the intellectual content of the resource.

Name Organization Address Phone Author Identifiers
Chris Cox


Be the first one to  +1 this.  (You need to be logged in to rate this.)


Chris Cox 1 year, 5 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).



Be the first one to  +1 this.  (You need to be logged in to rate this.)

New Comment