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
{{ message }}
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.
I'm trying to run the README.md example but I got this error wen trying to import data:
------------------------------
station: 83936
OK (HTTP 200).
Error in (rowheader + 1):(length(x) - 1) : argument of length 0
My code is:
stations<- c("Santa Maria", "Macapá")
stations_rows<- pmatch(stations, bdmep_meta$name)
stns_codes<-bdmep_meta[stations_rows, "id"]
# the line that returns this errormet_data<- bdmep_import(id=stns_codes,
sdate="01/01/2012",
edate="01/02/2012",
destdir='C:/',
email="user@gmail.com",
passwd="666",
verbose=T)
Is this problem related to the code (in the example)? or with any change in the location or format of the data (I saw that the site has changed its address)?
Thank you,
Daniel
The text was updated successfully, but these errors were encountered:
Hello @Schuch666,
Inmet has changed the way to acces the bdmep. You can see it clicking the link below. They redirect you to a new URL.
This means that {inmet} will be retired (archived) very soon in GitHub. I hope you enjoyed it while it lasted. The new bdmep does everything by email. This makes it difficult to automate data retrieval.
Thanks for letting me know about the problem.
Hi,
I'm trying to run the README.md example but I got this error wen trying to import data:
My code is:
Is this problem related to the code (in the example)? or with any change in the location or format of the data (I saw that the site has changed its address)?
Thank you,
Daniel
The text was updated successfully, but these errors were encountered: