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
Enrich waterdata getter docstrings with examples adapted from R (#265)
Cross-referenced each Python waterdata getter's Examples section
against the corresponding R analogue in DOI-USGS/dataRetrieval and
ported the distinctive examples that the Python docs were missing:
- get_daily: add ISO 8601 duration ("P7D") and last_modified ("P7D")
examples. Also fix a pre-existing bug where the multi-site /
approval_status example block was missing its closing parenthesis
and trailing comma.
- get_latest_continuous: add time="P7D" and multi-site +
last_modified="P7D" examples.
- get_latest_daily: add last_modified="P7D" and multi-site +
multi-parameter examples.
- get_field_measurements: add a half-bounded-time example
("1980-01-01/..") and document the inverse "../<date>" form.
Docs only — no signature, behavior, or test changes. Ruff clean.
Live spot-verification was attempted but blocked by a 429 rate
limit; the new examples only use date-format and multi-value idioms
that are already covered by existing tests.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments