NWIS - not all data at a site is retrieved? Any insight?

19 views
Skip to first unread message

Emily Baker

unread,
Feb 6, 2018, 5:39:58 PM2/6/18
to ulmo
Hello Ulmo developers,

Thank you for making such a great package - perhaps soon I will be skilled enough to help contribute to its development.

I'm wondering if you can provide any insight. For a given USGS NWIS site, a query may not return all variables that are shown on the NWIS web page.

For example, below temperature is shown on the NWIS web interface, but is not retrieved by nwis.get_site_data().

Any insight for me? Many thanks!

The query:

siteno='15478038'
site_data=ulmo.usgs.nwis.get_site_data(siteno, service="daily", period="all", methods='all')




Dharhas Pothina

unread,
Feb 8, 2018, 9:09:35 AM2/8/18
to ul...@googlegroups.com

That site is showing only 3 parameters available if I visit the web url:


I'm not sure why your screenshot doesn't match the link above...

- dharhas

--
You received this message because you are subscribed to the Google Groups "ulmo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ulmo+uns...@googlegroups.com.
To post to this group, send email to ul...@googlegroups.com.
Visit this group at https://groups.google.com/group/ulmo.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted
Message has been deleted

Dharhas Pothina

unread,
Feb 12, 2018, 9:10:29 AM2/12/18
to ul...@googlegroups.com

great. glad to help.

- d

On Fri, Feb 9, 2018 at 4:43 PM Emily Baker <emily.hew...@gmail.com> wrote:
Hi Dharhas,

Thanks so much for your reply.

I'm at the USGS on our network, which gives me access to an "unverified" and not publicly accessible version of the data via my web browser. Thus, my confusion on # of available variables. Resolved my problem over on the NWIS database side with the water team here.

Many thanks,
Emily

Emilio Mayorga

unread,
Feb 12, 2018, 8:57:35 PM2/12/18
to ul...@googlegroups.com
Hi Emily (and Dharhas),

Actually ... your ulmo nwis request attempt uses the argument service="daily", but your screenshot had a "uv" in the URL, which as I understand it stands for "unit values" (or "unverified"?), which is basically the instantaneous data.

See these two listings, daily vs uv:

The ulmo nwis service also supports requests for instantaneous data, via the argument service="instantaneous" (or "iv"). I tried the same request with service="iv", and I got back all the parameters on your screenshot.

See the ulmo nwis service documentation:
http://ulmo.readthedocs.io/en/latest/api.html#module-ulmo.usgs.nwis

SO: ulmo does provide access to the data and parameters you're looking for. You just have the select the right service (iv/instantaneous).

Cheers,
-Emilio


To unsubscribe from this group and stop receiving emails from it, send an email to ulmo+unsubscribe@googlegroups.com.

To post to this group, send email to ul...@googlegroups.com.
Visit this group at https://groups.google.com/group/ulmo.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "ulmo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ulmo+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages