pynhd icon indicating copy to clipboard operation
pynhd copied to clipboard

WaterData web services are not working.

Open HydroWEN opened this issue 10 months ago • 2 comments

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

HydroWEN avatar Feb 11 '25 04:02 HydroWEN

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.

cheginit avatar Feb 11 '25 13:02 cheginit

WaterData should be fully functional now. Please check and let me know.

cheginit avatar Feb 20 '25 19:02 cheginit

This is fixed in the latest version. Please feel free to re-open, if the issue persists.

cheginit avatar Mar 07 '25 23:03 cheginit