Comments (15)
@vegvarizs, There's a small but in the current version when your system doesn't support keyrings. See here: #46
You can try installing [this](https://github.com/khufkens/ecmwfr/pull/47] pull request version with
remotes::install_github("khufkens/ecmwfr", ref = remotes::github_pull(47))
from ecmwfr.
Thanks, I have installed it, but the same problem prevails. The libsodium is also installed on my Ubuntu. Still experiencing.
from ecmwfr.
Have you used keyring
package in another context so the environmental variables are mixed up?
from ecmwfr.
Yes! Should I remove it and reinstall ecmwfr?
from ecmwfr.
Just try, but be sure to reinstall keyring
as well.
from ecmwfr.
Done: the warning messages about the backend environment disappeared, but the message:
Error in FUN(X[[i]], ...) : argument is missing, with no default
Calls: sourceWithProgress ... eval -> eval -> wf_request -> which -> vapply -> FUN
Execution halted
is still there.
I am using this request:
wf_request(request = request, user = uid, transfer = TRUE, job_name = "vzs.test", path = ".")
from ecmwfr.
Drop the . from the job name and use an explicit path name. Then try again. I don't think this is an authentication error.
from ecmwfr.
from ecmwfr.
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)
from ecmwfr.
from ecmwfr.
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.
from ecmwfr.
from ecmwfr.
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.
from ecmwfr.
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.
from ecmwfr.
from ecmwfr.
Related Issues (20)
- `wf_requests_batch()` accepts requests that overwrite each other HOT 3
- `wf_request_batch()` with `transfer=FALSE` HOT 12
- batch requests: Send a new request as soon as one is downloaded HOT 8
- Daily averages using CDS API HOT 28
- Empty CDS queue after download HOT 4
- CRAN release 1.5.0
- wf_set_key gives pop up message 'Keyring password' HOT 12
- Decomissioning WebAPI service HOT 2
- wf_transfer failed actually stops loops. HOT 2
- Error when requesting data HOT 12
- Addressing failure of long batch jobs HOT 1
- SVG version of logo HOT 2
- Unlock keyring in (headless) scripts
- Check status of WebAPI?
- Failed HTTP request (500) in update_status() breaks wf_request() for CDS HOT 8
- Errore: Data identifier cems-fire-historical-v1 is not found in Web API, CDS or ADS datasets. Or your login credentials do not match your request. HOT 1
- Migration CDS/ADS -- anticipated package failure HOT 5
- Use {cli} for nice messaging
- Wrong version in curl config? HOT 2
- Confused by the new update of `wf_transfer()` HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecmwfr.