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

Plotting NWIS data


Authors:
Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource.
Type: Resource
Storage: The size of this resource is 191.6 KB
Created: Apr 15, 2025 at 9:07 p.m.
Last updated: Apr 15, 2025 at 9:42 p.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 65
Downloads: 0
+1 Votes: Be the first one to 
 this.
Comments: No comments (yet)

Abstract

This project presents a Python script that is designed to retrieve, process, and visualize streamflow data from the United States Geological Survey's National Water Information System. Using the dataretrieval and nwis packages, the code extracts daily streamflow records for a selected gaging site and employs pandas and matplotlib to generate a series of plots for hydrologic analysis. One plot focuses on the annual maximum, mean, and minimum streamflow for each year over the selected date range. Another plot shows the 95th, 75th, 25th, and 5th percentile values for each day of the year over the selected time period. The final plot displays the maximum, mean and minimum streamflow for each day of the year. A specific year can be added to compare the streamflow during that year to the historical values.

Subject Keywords

Content

Related Resources

The content of this resource references United States Geological Survey National Water Information System

How to Cite

Taylor, B. (2025). Plotting NWIS data, HydroShare, http://www.hydroshare.org/resource/512ebb66c73e40bbaf770aac5a1295e7

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

http://creativecommons.org/licenses/by/4.0/
CC-BY

Comments

There are currently no comments

New Comment

required