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
Add waterdata.get_combined_metadata for combined location + time-series inventory
Wraps the Water Data API's combined-metadata collection, which joins the
monitoring-locations catalog with the time-series-metadata catalog and
returns one row per (location, parameter, statistic) inventory entry.
Each row carries every column from both source endpoints, so any
location attribute (state, HUC, site type, drainage area, well depth,
...) can be combined with any time-series attribute (parameter code,
statistic, data type, period of record, ...) in a single query.
Mirrors R's read_waterdata_combined_meta. Implementation re-uses the
existing get_ogc_data infrastructure: the function is a thin parameter
declaration plus a service / output_id pair (combined-metadata,
combined_meta_id), since _switch_arg_id, _switch_properties_id,
_construct_api_requests, and _walk_pages are all already
service-agnostic.
Closes#263.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: NEWS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
**05/05/2026:** Added `waterdata.get_combined_metadata(...)` — wraps the Water Data API's `combined-metadata` collection, which joins the monitoring-locations catalog with the time-series-metadata catalog and returns one row per (location, parameter, statistic) inventory entry. This is the most flexible "what data is available" endpoint in the API: any location attribute (state, HUC, site type, drainage area, well-construction depth, …) can be combined with any time-series attribute (parameter code, statistic, data type, period of record, …) in a single query. Mirrors R's `read_waterdata_combined_meta`.
2
+
1
3
**05/05/2026:** Added `waterdata.get_samples_summary(monitoringLocationIdentifier=...)` — wraps the Samples database `/summary/{id}` endpoint, returning per-characteristic result and activity counts plus first / most recent activity dates for a single monitoring location. Useful for taking inventory of available discrete-sample data before pulling observations with `get_samples`.
2
4
3
5
**05/01/2026:** The `nadp` module is now deprecated. Calling any of `get_annual_MDN_map`, `get_annual_NTN_map`, or `get_zip` will emit a `DeprecationWarning`. The module is scheduled for removal on or after **2026-11-01**. NADP is not a USGS data source; users should retrieve NADP data directly from https://nadp.slh.wisc.edu/.
0 commit comments