as_apsim_met | R Documentation |
It makes minimum assumptions about the data so it is recommended to change defaults
as_apsim_met(
x,
filename = "noname.met",
site = "nosite",
latitude = 0,
longitude = 0,
tav = NA,
amp = NA,
colnames = c("year", "day", "radn", "maxt", "mint", "rain"),
units = c("()", "()", "(MJ/m2/day)", "(oC)", "(oC)", "(mm)"),
constants = NA,
comments = NA,
check = TRUE
)
x |
object of class ‘data frame’ |
filename |
default ‘noname.met’ |
site |
default ‘nosite’ |
latitude |
default is zero (0) |
longitude |
default is zero (0) |
tav |
average temperature (calculated if not supplied) |
amp |
temperature amplitude (calculated if not supplied) |
colnames |
default are “year”, “day”, “radn”, “maxt”, “mint”, “rain” |
units |
default are “()”, “()”, “(MJ/m2/day)”, “(oC)”, “(oC)”, “(mm)” |
constants |
default is “NA” |
comments |
default is “NA” |
check |
whether to check the resulting met file using |
Simple utility for converting a data frame to an object of class met
it returns an object of class ‘met’.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.