Skip to content Where Legends Are Made
Cooperative Institute for Research to Operations in Hydrology

USGS Python Workshop

USGS Tutorial on Python Tools for Surface Water Data Access, Processing, and Visualization

Day 3 Session 2 (1:30 PM)

Presenters:

Scott Hamshaw

The USGS National Water Information System (NWIS) is a vast data collection effort consisting of streamflow, water quality, and other water-centric sensor observations from around the country. NWIS stream monitoring observations provide near real-time gage height and corresponding flow rates for nearly 8,000 sites across the United States. In addition to near real-time observations, NWIS stream monitoring locations often provide a long-term data record of high temporal resolution data for use in historical analyses and hydrological model evaluation. In this workshop, we will use programmatic Python-based tools to access historical NWIS observations, perform common surface water data analyses (e.g., flow duration, percentile calculations), and visualize the outcomes.

Learning Outcomes:

  • Use programmatic Python-based packages (hyswap and dataretrieval-python) to access historical NWIS observations, perform common analyses and computations, and visualize the outcomes.

Prerequisites:

Knowledge:

  • Basic Python programming skillsets

Hardware/Software:

None

Accounts: