Skip to main content

A pyhton package to work with WaterServices USGS

Project description

WATERSERVICES

A pyhton package to work with WaterServices USGS

My Personal Website: Water Directory.

To import, use command below:

from waterservices import NWIS

Available functions:

  • siteInfo()

Get a csv file for site info of any type

columns = ['site_no', 'station_nm', 'dec_lat_va', 'dec_long_va', 'huc_cd', 'data_type_cd',
        'parm_cd', 'stat_cd', 'begin_date', 'end_date']
filters = {
    'seriesCatalogOutput': 'true',
    'outputDataTypeCd': 'dv,pk,gw',
    'siteStatus': 'all',
    'hasDataTypeCd': 'dv,gw'
}
nwis = NWIS('GW', ['01'], filters, columns, 'wells').siteInfo()

You can customize columns, filters, stationType, and HUC code.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page