-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wf_request problem #49
Comments
@vegvarizs, There's a small but in the current version when your system doesn't support keyrings. See here: #46 remotes::install_github("khufkens/ecmwfr", ref = remotes::github_pull(47)) |
Thanks, I have installed it, but the same problem prevails. The libsodium is also installed on my Ubuntu. Still experiencing. |
Have you used |
Yes! Should I remove it and reinstall ecmwfr? |
Just try, but be sure to reinstall |
Done: the warning messages about the backend environment disappeared, but the message: Error in FUN(X[[i]], ...) : argument is missing, with no default is still there. |
Drop the . from the job name and use an explicit path name. Then try again. I don't think this is an authentication error. |
The same problem persists (also with and without invoking library(keyrings).
2019. 12. 20. 22:14 keltezéssel, Koen Hufkens írta:
…
Drop the . from the job name and use an explicit path name. Then try
again. I don't think this is an authentication error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#49>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOC3GRRW2GTJGTADWCSAVOTQZUYURANCNFSM4J57VP4A>.
|
Could you run the example code as listed in the documents for me and provide all the code as you run it. (see https://khufkens.github.io/ecmwfr/articles/cds_vignette.html) Also provide the system you use both in terms of software and hardware. With just a vague error message and no knowledge of what you run I can't do much but guess toward the problem.
|
Thanks! I wish you a Happy New Year!
I tried, but it still results in "Error in FUN(X[[i]], ...) : argument
is missing, with no default'
On Ubuntu 18.04, using RStudio with R3.4.4., I run the following code:
library(ecmwfr)
wf_set_key(user = "31712", key=mykey, service = "cds") #successfully
completed
request <- list("dataset" = "reanalysis-era5-pressure-levels",
"product_type" = "reanalysis",
"variable" = "temperature",
"pressure_level" = "850",
"year" = "2000",
"month" = "04",
"day" = "04",
"time" = "00:00",
"area" = "70/-20/30/60",
"format" = "netcdf",
"target" = "era5-demo.nc")
# Start downloading the data, the path of the file
# will be returned as a variable (ncfile)
ncfile <- wf_request(user = "31712", # <-- your USER ID HERE
request = request,
transfer = TRUE,
path = "~",
verbose = FALSE)
Best,
Zsolt
2019. 12. 26. 13:22 keltezéssel, Koen Hufkens írta:
…
Could you run the example code as listed in the documents for me and
provide all the code as you run it. (see
https://khufkens.github.io/ecmwfr/articles/cds_vignette.html)
Also provide the system you use both in terms of software and
hardware. With just a vague error message and no knowledge of what you
run I can't do much but guess toward the problem.
|# Specify the data set request <- list("dataset" =
"reanalysis-era5-pressure-levels", "product_type" = "reanalysis",
"variable" = "temperature", "pressure_level" = "850", "year" = "2000",
"month" = "04", "day" = "04", "time" = "00:00", "area" =
"70/-20/30/60", "format" = "netcdf", "target" = "era5-demo.nc") #
Start downloading the data, the path of the file # will be returned as
a variable (ncfile) ncfile <- wf_request(user = "2088", # <-- your
USER ID HERE request = request, transfer = TRUE, path = "~", verbose =
FALSE) |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#49>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOC3GRU3RD5OVHM45P5B75DQ2SOZRANCNFSM4J57VP4A>.
|
You run a rather old version of R, lots changed between 3.4 and 3.6. I would upgrade and try again. This seems like a likely cause as my unit tests (using the code above) come out clean on 3.6. Previously they ran on 3.4 but since a little while it is 3.6 by default. |
Thanks, I will try.
2020. 01. 02. 13:25 keltezéssel, Koen Hufkens írta:
…
You run a rather old version of R, lots changed between 3.4 and 3.6.
I would upgrade and try again. This seems like a likely cause as my
unit tests (using the code above) come out clean on 3.6. Previously
they ran on 3.4 but since a little while it is 3.6 by default.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#49>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOC3GRV3JFL677YSY6SZNL3Q3XMLFANCNFSM4J57VP4A>.
|
I installed R 3.4.4 and using the CRAN version of the package I didn't get any error. But I can reproduce using the development version. I'll look into it. |
There! It was a trailing comma in one function call. It seems that R 3.4.4 treats it as expecting another argument while R 3.6 doesn't. |
Thanks! I will manage that.
2020. 01. 02. 21:42 keltezéssel, Elio Campitelli írta:
…
There! It was a trailing comma in one function call. It seems that R
3.4.4 treats it as expecting another argument while R 3.6 doesn't.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#49>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOC3GRUN6EKH2Q3ARUZUCITQ3ZGVHANCNFSM4J57VP4A>.
|
Hi,
after successfully completing the wf_set_key command using my uid as user identity, the wf_request command terminates with an error message (using a sample request list) :
Error in FUN(X[[i]], ...) : argument is missing, with no default
Calls: sourceWithProgress ... eval -> eval -> wf_request -> which -> vapply -> FUN
In addition: Warning messages:
1: In default_backend_auto() :
Selecting ‘env’ backend. Secrets are stored in environment variables
2: In default_backend_auto() :
Selecting ‘env’ backend. Secrets are stored in environment variables
3: In default_backend_auto() :
Selecting ‘env’ backend. Secrets are stored in environment variables
4: In default_backend_auto() :
Selecting ‘env’ backend. Secrets are stored in environment variables
Execution halted
What can be the problem?
Bests,
Zsolt
The text was updated successfully, but these errors were encountered: