DOI-USGS / dataRetrieval

This R package is designed to obtain USGS or EPA water quality sample data, streamflow data, and metadata directly from web services.
https://doi-usgs.github.io/dataRetrieval/
Other
260 stars 84 forks source link

Can't query data using the dataRetrieval functions #647

Closed aachmano closed 1 year ago

aachmano commented 1 year ago

What is your question? Hello, I am new to using the dataRetrieval package but I can't seem to get it working.

To Reproduce I started by using the code posted on the help/vignette

library(dataRetrieval)
site <- "USGS.430427089284901"
site_info <- readNGWMNsites(siteNumbers=site)

Expected behavior I expected it to retrieve the site info for the given site number

Screenshots However, I keep getting the following error. something to do with my attr()? image

OR here is the error in written format

"DISCLAIMER: NGWMN retrieval functions are still in flux, and no future behavior or output is guaranteed Unknown content, returning NULL Error in attr(siteDF, "url") <- url : attempt to set an attribute on NULL

Can anyone please help?

ldecicco-USGS commented 1 year ago

Sorry @aachmano! The services are currently down due to some databases work. I was told to expect them back up and running sometime next week. I'll let you know when I hear they are back up.

aachmano commented 1 year ago

@ldecicco-USGS Thank you so much for you timely response, I really appreciate it! I will be on the lookout for your green light next week.

hallieella commented 1 year ago

Hello @ldecicco-USGS! I was having a similar issue, are the databases up and running again? Thank you!

ldecicco-USGS commented 1 year ago

Some of the database issues have been resolved...some are still being fixed. I think if you are asking for service = "observation", things are mostly working. The service="featureOfInterest" is still not working properly.

My understanding is that the developers are getting close to having it all straightened out!

hallieella commented 1 year ago

Good to know, thank you!

ldecicco-USGS commented 1 year ago

I believe the featureOfInterest services are also now working. If you notice any problems, let me know.