Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

Using Python to Access and Plot Streamflow data from NWIS

Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI ( for information on this resource.
Type: Resource
Storage: The size of this resource is 154.5 KB
Created: Apr 20, 2022 at 6:59 p.m.
Last updated: Apr 20, 2022 at 7:42 p.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 632
Downloads: 62
+1 Votes: Be the first one to 
Comments: No comments (yet)


This code retrieves stream info from nwis using the dataretrieval tool in python. You can input site, parameters, and dates at the top. This code pulls daily measurements, annual_stats, and daily_stats.
We calculate 30-year normals, as well as plot annual average flows, annual min, max, and mean flows, and percentile flows. This resource only pulls from the USGS ftp site and doesn't have or require any local storage.

Subject Keywords



Start Date:
End Date:


How to Cite

Sigman, A. (2022). Using Python to Access and Plot Streamflow data from NWIS, HydroShare,

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


There are currently no comments

New Comment