Description Usage Arguments Value See Also Examples
Stage a data request, and optionally download the data to disk. Alternatively
you can only stage requests, logging the request URLs to submit download
queries later on using wf_transfer
. The function only
allows NetCDF downloads, and will override calls for grib data.
1 2 3 4 5 6 | wf_request(email, path = tempdir(), time_out = 3600,
transfer = FALSE, request = list(stream = "oper", levtype = "sfc",
param = "167.128/228.128", dataset = "interim", step = "0", grid =
"0.75/0.75", time = "00", date = "2014-07-01/to/2014-07-02", type = "an",
class = "ei", area = "50/10/51/11", format = "netcdf", target =
"tmp.nc"), verbose = TRUE)
|
email |
email address used to sign up for the ECMWF data service and
used to retrieve the token set by |
path |
path were to store the downloaded data |
time_out |
how long to wait on a download to start (default = 3600) |
transfer |
logical, download data TRUE or FALSE (default = FALSE) |
request |
nested list with query parameters following the layout as specified on the ECMWF API page |
verbose |
show feedback on processing |
a download query staging url or a netCDF of data on disk
1 2 3 4 5 | # set key
wf_set_key(email = "test@mail.com", key = "123")
# get key
wf_get_key(email = "test@mail.com")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.