Returns the contents of the requested url as a NetCDF file downloaded to disk or the current status of the requested transfer.
R6 wf_request
) query output
user (email address) used to sign up for the ECMWF data service,
used to retrieve the token set by wf_set_key
.
which service to use, one of webapi
, cds
or ads
(default = webapi)
path were to store the downloaded data
filename to use for the downloaded data
show feedback on data transfers
a netCDF of data on disk as specified by a
wf_request
if (FALSE) {
# set key
wf_set_key(user = "test@mail.com", key = "123")
# request data and grab url and try a transfer
r <- wf_request(request, "test@email.com", transfer = FALSE)
# check transfer, will download if available
wf_transfer(r$get_url(), "test@email.com")
}