-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add functionality for multiple sensor / parameter code combinations #77
Comments
This is interesting! I never knew it was possible for one site to have two versions of the same parameter code! NWIS is so complex and has so many different applications that it is hard to cover them all. I'm going to look into this and see if I can come up with a way of dealing with it. In the meantime, I think you should be able to go I'll take a look into this! Thank you! |
Thank you for being so responsive. I just tried to view the full dataframe and the same level of data is available for the parameter code (with the addition of the '_qualifiers' column). Thanks again and let me know if I can clarify anything! |
Hello again, I wanted to check back and see if you were able to understand my issue or if you have had the chance to look into this at all. Thank you! |
Hi Adam! @ajb474 It seems too easy, but I just look for multiple 'method'-series inside of a series, and then treat it like another series. It is basically just an extra for loop. You can see my progress on this branch: https://github.com/mroberge/hydrofunctions/tree/bugfix-multiple-methods-in-NWIS-json Would you be interested in helping out? I need to:
BTW, I just noticed that you were NAU! I got my PhD from ASU Geography! Anyway, thank you, and I hope I can get something working soon. You can try using the new branch, if you want. |
I think I've got this one solved. I'm closing the issue, but feel free to comment if you find another site or situation that has multiple methods for a single parameter. |
Thank you so much for taking this on! Believe it or not providing you some
edge cases was on my to do list this week, I've just been a bit behind.
Actually, I was working with the R version (dataRetrieval) last week and
found some good examples of the issue. It was the same deal, for a single
site and WQ parameter multiple instruments were used for data collection at
different times.
Thanks again and if I can be of any help in the future please let me know.
…On Tue, Nov 17, 2020, 21:36 Martin Roberge ***@***.***> wrote:
I think I've got this one solved. I'm closing the issue, but feel free to
comment if you find another site or situation that has multiple methods for
a single parameter.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#77 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGBCO6QPLSTSHZ56BIOG5F3SQNFOHANCNFSM4TBFQCZQ>
.
|
Description
When making a general data request using the 'NWIS' function, I could not differentiate between sensor/parameter code combinations and ultimately unable to retrieve a full dataset for a location. More specifically, I am looking at a site with multiple instances of a parameter code and the NWIS request cannot specify between these. For example, if you refer to USGS site 444306122144600 the measurements of a parameter (say Turbidity / 63680) are taken from different sensors. When querying using the parameter code '63680' there is no way to get either or both instances.
What I Did
The text was updated successfully, but these errors were encountered: