Skip to main content

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Beta

Tools and services currently in the catalog represent only a fraction of those in use by active WMA projects. The team is working on including more to provide a better view of commonly used tools and services. Let us know about your experience using the catalog!

Tools


hyswap

Keywords: hydrology; NWIS; python; water

Domain: Hydrology

Language: Python

Description:

hyswap (HYdrologic Surface Water Analysis Package), is a Python package which provides a set of functions for manipulating and visualizing USGS water data. Specifically, a number of functions for calculating statistics (for example., exceedance probabilities, daily historic percentiles) and generating related plots (for example, flow duration curves, streamflow duration hydrographs) are available. These methods are provided in a modular fashion as individual functions, and are designed to give the user flexibility in implementation. For example, the raster hydrograph functionality is not limited to the visualization of historic streamflow information; it can be applied to any arbitrary information provided to the corresponding functions. See the Examples section for fairly standard examples of using the functions in hyswap to perform typical hydrologic calculations and visualizations.