Closed ldecicco-USGS closed 2 years ago
Here's an example:
bbox_6120 <- c(xmin = 178.768914, ymin = 51.398187, xmax = 180.768914, ymax = 53.398187) x <- whatWQPdata(sampleMedia = c("Water", "water"), siteType = "Stream", bBox = bbox_6120)
If we run getWebServiceData in debug mode, we see that on line 33, we're making an assumption that the 400 message is coming back as plain text (that is what it is for NWIS). We can add something to also look at the warnings from the header
getWebServiceData
Here's an example:
If we run
getWebServiceData
in debug mode, we see that on line 33, we're making an assumption that the 400 message is coming back as plain text (that is what it is for NWIS). We can add something to also look at the warnings from the header