Skip to content

docs(waterdata): drop R-analogue notes from getter docstrings#299

Merged
thodson-usgs merged 1 commit into
DOI-USGS:mainfrom
thodson-usgs:docs/drop-r-analogue-notes
May 30, 2026
Merged

docs(waterdata): drop R-analogue notes from getter docstrings#299
thodson-usgs merged 1 commit into
DOI-USGS:mainfrom
thodson-usgs:docs/drop-r-analogue-notes

Conversation

@thodson-usgs
Copy link
Copy Markdown
Collaborator

Summary

Removes the "The R analogue is read_waterdata_…" notes from three Water Data getter docstrings and the ratings module docstring:

  • get_combined_metadata
  • get_field_measurements_metadata
  • get_ratings (and the ratings.py module docstring)

These cross-package pointers to R dataRetrieval don't help a Python caller reading help(...), and the other getters (get_daily, get_continuous, get_waterdata, …) don't carry them — so this makes the docstrings consistent and lets each describe the function on its own terms.

Kept intentionally:

  • the OpenAPI / STAC / WDFN service-reference links, and
  • the Python-to-Python cross-reference in get_field_measurements_metadata ("the discrete-measurement analogue to get_time_series_metadata"), which points at a related function in this package.

Docstrings only — no code or signature changes. ruff clean; imports verified.

🤖 Generated with Claude Code

The combined-metadata, field-measurements-metadata, and ratings
docstrings (and the ratings module docstring) each pointed at their R
dataRetrieval counterpart. Those cross-package references don't help a
Python caller reading help(...), and the other getters don't carry them,
so remove them and let each docstring describe the function on its own
terms. The OpenAPI/service reference links and the Python-to-Python
"analogue to get_time_series_metadata" cross-reference are kept.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@thodson-usgs thodson-usgs marked this pull request as ready for review May 30, 2026 16:50
@thodson-usgs thodson-usgs merged commit f903491 into DOI-USGS:main May 30, 2026
8 checks passed
@thodson-usgs thodson-usgs deleted the docs/drop-r-analogue-notes branch May 30, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant