# NOT RUN {
# Create a met file for Kingsthorpe, Qld
# from 1985-01-01 to 1985-06-30 and
# save it in the current R session
# tempdir() as `APSIM_example.met`
# }
# NOT RUN {
create_met(lonlat = c(151.81, -27.48),
dates = c("1985-01-01", "1985-12-31"),
dsn = tempdir(),
file_out = "APSIM_example.met"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataCamp Workspace