-
Notifications
You must be signed in to change notification settings - Fork 52
Remove qwdata documentation, tests, etc. and replace with waterdata.get_samples() #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
You don't think we're ready to move |
Following our discussion today, I have moved |
|
@thodson-usgs this is ready for review. |
thodson-usgs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just ensure your tests path with any accepted changes.
dataretrieval/nwis.py
Outdated
| **kwargs, | ||
| ) | ||
| return df | ||
| return print("qw data are no longer available from" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raise an exception here. Something like:
raise ValueError(
"qwdata endpoint was decomissioned.",
"Please use `samples.get_usgs_samples()` instead."
)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed as an option for a service. Put back in?
Co-authored-by: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com>
Co-authored-by: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com>
This PR updates documentation to refer to
waterdata.get_samples()rather thannwis.get_qwdata.