Returns the contents of the requested url as a NetCDF file downloaded to disk or the current status of the requested transfer.
rs_transfer(task_id, user, path = tempdir(), verbose = TRUE)
R6 rs_request
) query output or task id
user (email address) used to sign up for the AppEEARS data service,
used to retrieve the token set by rs_set_key
.
path were to store the downloaded data
show feedback on data transfers
data on disk as specified by a
rs_request
if (FALSE) {
# set key
rs_set_key(user = "test", password = "123")
# request data and grab url and try a transfer
r <- rs_request(request, "test", transfer = FALSE)
# check transfer, will download if available
rs_transfer(r$get_task_id(), user = "test")
}