WaterData web services are not working.
What happened?
I'm unsure whether the issue is with pynhd or the WaterData webpage. When running wd = WaterData("catchmentsp") , or any other valid option with WaterData , such as nhdp_mr = WaterData("nhdflowline_network"), an error message appears: InputValueError: Given layers is invalid. Valid options are: . But it is not providing any such "valid option".
What did you expect to happen?
Based on the HyRiver tutorial, I expected it to get the catchment associated with any given list of comids.
Minimal Complete Verifiable Example
# Get the WaterData
wd = WaterData("catchmentsp")
#Get catchments for the given COMIDs
catchments = wd.byid("featureid", comids)
MVCE confirmation
- [x] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue.
- [ ] Complete example — the example is self-contained, including all data and the text of any traceback.
- [ ] New issue — a search of GitHub Issues suggests this is not a duplicate.
Relevant log output
Anything else we need to know?
No response
Environment
pynhd version 0.16.3
Yes, unfortunately there's an issue with the WaterData web service since yesterday. I have already notified the web service admins and they are working on fixing it. I will provide an update once the problem is resolved.
WaterData should be fully functional now. Please check and let me know.
This is fixed in the latest version. Please feel free to re-open, if the issue persists.