You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: misc cleanups from the package review (#312)
Small, low-risk fixes bundled from the review (no behavior change beyond the
two noted):
- docs(waterdata): the `bbox` docstring labeled the 4th coordinate "Northern-most
longitude"; it is the Northern-most *latitude* (xmin, ymin, xmax, ymax). Fixed
across the OGC getters and get_samples (7 spots).
- docs(waterdata): get_field_measurements' `properties` listed daily/continuous
columns it doesn't have (time_series_id, statistic_id, time); point to the
field-measurements OpenAPI schema instead.
- fix(nwis): get_discharge_peaks ran format_response twice (via _read_rdb, then
again with service="peaks"); parse raw with read_rdb so it formats once.
- fix(nwis): query_waterdata validated a dead `state_cd` key while the docs,
error message, and callers use `stateCd`; align it so a stateCd-only query is
recognized as a major filter.
- fix(waterdata): _construct_api_requests omitted an empty-list param as a
filterless `¶m=` (read by the server as "match empty"); drop it instead.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments