You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error when using EGRET::readNWISSample:
> siteNumber <- "04220045"
> ParameterCd <- '00665'
> StartDate <- "2010-06-17"
> EndDate <- "2019-11-28"
> Sample <- readNWISSample(siteNumber, ParameterCd, StartDate, EndDate)
Error in `[.data.frame`(data, , c("agency_cd", "site_no")) :
undefined columns selected
In addition: Warning messages:
1: NWIS qw web services are being retired.
Please see vignette('qwdata_changes', package = 'dataRetrieval')
for more information.
https://cran.r-project.org/web/packages/dataRetrieval/vignettes/qwdata_changes.html
2: In readLines(f) :
incomplete final line found on 'C:\Users\ryrug\AppData\Local\Temp\RtmpW0AVhG\file3228785379f0'
In the source code for EGRET::readNWISSample I see it uses dataRetrieval::readNWISqw which has been retired and is replaced by dataRetrieval::readWQPqw. Is there an updated version of the EGRET::readNWISSample function that uses the updated WQP function?
I am using EGRET 3.0.9 and R 4.3.3.
Thank you for any help with this.
The text was updated successfully, but these errors were encountered:
If you update EGRET to the version on CRAN (3.0.10): https://cran.r-project.org/web/packages/EGRET/index.html
That function was updated. It should work the same, but it now calls WQP instead of the decommissioned NWIS service.
I am getting the following error when using
EGRET::readNWISSample
:In the source code for
EGRET::readNWISSample
I see it usesdataRetrieval::readNWISqw
which has been retired and is replaced bydataRetrieval::readWQPqw
. Is there an updated version of theEGRET::readNWISSample
function that uses the updated WQP function?I am using EGRET 3.0.9 and R 4.3.3.
Thank you for any help with this.
The text was updated successfully, but these errors were encountered: