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

Daily Statistics for Discharge at USGS 09380000 Colorado River at Lee’s Ferry, AZ: Jupyter Notebook


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 546 bytes
Created: Nov 20, 2018 at 8:45 p.m.
Last updated: Dec 05, 2018 at 5:20 a.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 1939
Downloads: 60
+1 Votes: Be the first one to 
 this.
Comments: No comments (yet)

Abstract

This resource contains a Jupyter Notebook that uses Python to access and visualize data for the USGS flow gage on the Colorado River at Lee’s Ferry, AZ (09380000). This site monitors water quantity and quality for water released from Glen Canyon Dam that then flows through the Grand Canyon. To call these services in Python, the suds-py3 package was used. Using this package, a “GetValuesObject” request, as defined by WaterOneFlow, was passed to the server using inputs for the web service url, site code, variable code, and dates of interest. For this case, 15-minute discharge from August 1, 2018 to the current date was used. The web service returned an object from which the dates and the data values were obtained, as well as the site name. The Python libraries Pandas and Matplotlib were used to manipulate and view the results. The time series data were converted to lists and then to a Pandas series object. Using the “resample” function of Pandas, values for mean, minimum, and maximum were determined on a daily basis from the 15-minute data. Using Matplotlib, a figure object was created to which Pandas series objects were added using the Pandas plot method. The daily mean, minimum, maximum, and the 15-minute flow values were added to illustrate the differences in the daily ranges of data.

Subject Keywords

Coverage

Spatial

Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
Place/Area Name:
Colorado River at Lee's Ferry
Longitude
-111.5871°
Latitude
36.8657°

Temporal

Start Date:
End Date:

Content

How to Cite

Jones, A. (2018). Daily Statistics for Discharge at USGS 09380000 Colorado River at Lee’s Ferry, AZ: Jupyter Notebook, HydroShare, http://www.hydroshare.org/resource/63ef4e48947c40898c56c0e2ed9c3fc5

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