# NOT RUN {
# format an archetype function
ERAI <- wf_archetype(
request = list(stream = "oper",
levtype = "sfc",
param = "165.128/166.128/167.128",
dataset = "interim",
step = "0",
grid = "0.75/0.75",
time = "00/06/12/18",
date = "2014-07-01/to/2014-07-31",
type = "an",
class = "ei",
area = "73.5/-27/33/45",
format = "netcdf",
target = "tmp.nc"),
dynamic_fields = c("date", "time")
)
# print output of the function with below parameters
str(ERA_interim("20100101", 3, 200))
# }
Run the code above in your browser using DataCamp Workspace