Comments (5)
If you install from github yes.
from ecmwfr.
This seems to be a bug, due to double use of variables (which generally doesn't cause issues).
The demo below shows the fix by splitting up the dataset and the dataset_short_name variable. Will post a fix to master later on. Will take a while as this traces through a lot of code and validation subroutines.
request <- list(
format = "zip",
product_type = "reanalysis",
variable = "fire_weather_index",
version = "3.1",
dataset_short_name = "cems-fire-historical",
dataset = "Consolidated dataset",
year = "1979",
day = "01",
month = "05",
target = "download.zip"
)
url <- "https://cds.climate.copernicus.eu/api/v2"
user <- "XXX"
key <- "XXX"
response <- httr::POST(
sprintf(
"%s/resources/%s",
url,
request$dataset_short_name
),
httr::authenticate(user, key),
httr::add_headers("Accept" = "application/json",
"Content-Type" = "application/json"),
body = request,
encode = "json"
)
from ecmwfr.
Fix is in master, tentative on unit checks with CI. YMMV
from ecmwfr.
OK, thanks!!
It is thus already fixed in all the package??
from ecmwfr.
if(!require(devtools)){install.packages("devtools")}
devtools::install_github("khufkens/ecmwfr")
library("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
- Increase unit tests / code coverage HOT 4
- 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.