-
Notifications
You must be signed in to change notification settings - Fork 10
Description
What happened?
I don't know that this is a HyRiver issue, but I know I have gotten basin geometry in the past using pynhd.get_basin for gage 06899700 and 'nwissite'. When I try today it says the service returns no features. I can get geometries for other gages.
When I run the same command using Swagger here I also get an error: The comid for feature source 'nwissite' and feature ID 'USGS-06899700' does not exist.
I tried running on Swagger with WQP and I do get a geometry returned. When I set get_basin(fsource='WQP'), I still get the same error.
I have a workaround to get the geometry for this particular gage, but the change in behavior and inconsistency with the Swagger results seem odd.
What did you expect to happen?
- I expected to get a basin geometry from nwissite from this gage because I have done it before
- I expected to get a basin geometry from WQP after doing so successfully with Swagger tool
Minimal Complete Verifiable Example
from pynhd import NLDI
station_id = '06899700'
basin1 = NLDI().get_basins(station_id, fsource='WQP')
basin2 = NLDI().get_basins(station_id, fsource='nwissite')MVCE confirmation
- 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
Details
SYS INFO
commit: None
python: 3.12.8 | packaged by conda-forge | (main, Dec 5 2024, 14:06:27) [MSC v.1942 64 bit (AMD64)]
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 186 Stepping 2, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: ('English_United States', '1252')