-
Notifications
You must be signed in to change notification settings - Fork 37
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
Question: Using dataretrieval
as searvey
backend
#59
Comments
Hi @SorooshMani-NOAA, I'm obviously not Tim but I'll weigh in with some thoughts anyway.
This is true. The To your other question, which is generally "what is the point of using I hope that helps and that I understood the gist of your questions correctly. Jay |
@elbeejay, thank you for the detailed explanation. I had missed that the metadata returned by On a side note, another concern that I/we have is how long it might take for bugs we notice to be fixed if we depend on |
@SorooshMani-NOAA, As for bugs and the time it takes to fix them. We do our best under the constraints we have. There are several other good Python packages for pulling USGS hydrologic data, but ours is a good place to contribute because |
@thodson-usgs thank you for your take on this. As you know our initial plan was to use I close this ticket, since I know your perspective for using |
If you find a gap in what |
Sure, thank you! |
Hi @thodson-usgs, we started exploring using
dataretrieval
and soon realized there are a lot of metadata provided by the REST API that is discarded and not passed to the user when usingget_record
. This metadata can provide a lot of information about what type of data we're looking at, e.g. name of variable, units, etc. which will be hidden under variable codes columns withget_record
.This made us (
searvey
dev) wonder if using REST API directly might still make more sense or not. Per @brey's suggestion we wanted to reach out to you and ask your opinion before moving on with having our implementation from scratch. For more information please take a look at oceanmodeling/searvey#14 (comment)A couple of points we're thinking about:
dataretrieval
compared to them using REST API, if the final data-frame columns need to be reorganized anyways (whether it's from REST ordataretrieval
)?In summary,
searvey
is supposed to be a light wrapper around data provider calls to then [minimally] reorganize the data and present to the end-user.dataretrieval
seems to have the similar goals, but with a different way of transforming the data. That made us wonder if it makes sense to use it to retrieve the data and then re-transform the data to our liking!The text was updated successfully, but these errors were encountered: