Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
This resource contains content types with files that need to be updated to match with metadata changes. Show content type files that need updating.
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 1.4 MB | |
Created: | Apr 20, 2022 at 4:09 p.m. | |
Last updated: | Apr 20, 2022 at 6:10 p.m. (Metadata update) | |
Published date: | Apr 20, 2022 at 6:10 p.m. | |
DOI: | 10.4211/hs.a33f0c48612749f98b2940366d363ce9 | |
Citation: | See how to cite this resource |
Sharing Status: | Published |
---|---|
Views: | 905 |
Downloads: | 36 |
+1 Votes: | Be the first one to this. |
Comments: | No comments (yet) |
Abstract
The purpose of this resource is to provide a script that automates data retrieval from the USGS NWIS database. Included in this resource is a Jupyter Notebook script (dataretrieval_percentiles.ipynb), that contains detailed comments for data extraction automation using the dataretrieval library. The script uses USGS 10126000 Bear River near Corinne, UT as a case study, however, the inputs can easily be modified such that a similar analysis could be performed for any watershed in the United States as long as there is an active USGS gage station or a period of record for which the gage stations was active. In addition to the aforementioned script, this resource contains a readme.txt file with instruction for opening and executing the script using the HydroShare and CUAHSI JupyterHub interface.
Subject Keywords
Coverage
Spatial
Temporal
Start Date: | |
---|---|
End Date: |
Content
readme.txt
============================================== Using the dataretrieval Package to Retrieve USGS NWIS Discharge Data and Daily Percentiles ============================================== # The purpose of the dataretrieval_percentiles script # is to automate data extraction from the USGS NWIS # database. The two functions that are used to # retrieve daily discharge data and daily statistics # are get_stats() and get_dv(), respectively. The # script could be used for other watersheds in the # United States as long as they have an active gage # station or a period of record for which the gage # station was active. # To open the script from the HydroShare resource, # scroll to the top of the resource and click the # "Open With" icon and select CUAHSI JupyterHub. # CUAHSI JupyterHub is a web application that # allows users to execute code from Jupyter # Notebooks in the cloud. Then, navigate to the # dataretrieval_percentiles.ipynb and execute the # code.
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.
http://creativecommons.org/licenses/by/4.0/
Comments
There are currently no comments
New Comment