Skip to content

WDFN APIs will break nwis_client #296

Description

@jarq6c

USGS is currently in the process of migrating access to water data from the current suite of NWIS APIs to a completely new set of APIs. See the blog post here:

https://waterdata.usgs.gov/blog/api-whats-new-wdfn-apis/

These new APIs are incompatible with nwis-client. The existing APIs may start going offline next calendar year (perhaps as early as Q1). This issue is meant to raise awareness about these new APIs.

This raises some development concerns for hydrotools. We could redevelop nwis_client to work with the new APIs. However, another option is to contribute to the official NWIS python client: https://github.com/DOI-USGS/dataretrieval-python

It looks like dataretrieval uses the requests package. Assuming USGS is open to collaboration, our experience with asynchronous REST clients could help improve the efficiency and robustness of the official client. I also think there's merit in supporting development of the official client, given USGS' importance to the broader hydrological community.

@aaraney @hellkite500 @christophertubbs @jameshalgren @frsalas-noaa

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions