Usage
setMet(location = NULL, metdat = NULL, year = 2012, month = NA,
day = NA, nsteps = 10, PARday = 22, AtmTrans = 0.76, fbeamday = NA,
fbeammethod = c("spitters", "constant"), Tmin = 10, Tmax = 25,
VPDmax = NA, maxlag = 0.1, Ca = 390, Patm = 101)Arguments
location
A Yplant location object (class 'yplocation', see
setLocation). metdat
Optionally, a dataframe (or name of CSV file) with standard
weather variables.
year
Optional (slight effects on solar path).
nsteps
number of steps (will affect number of simulation steps in
YplantDay. PARday
Total daily PAR on a horizontal surface (MJ m-2 d-1).
AtmTrans
Atmospheric transmission.
fbeamday
Daily beam fraction.
fbeammethod
If 'Spitters', uses the Spitters algorithm to estimate
fbeam by timestep, otherwise it is constant (and given by fbeamday.
Tmin,Tmax
Daily minimum and maximum temperature (deg C).
VPDmax
Optional. Daily maximum VPD (if not given, estimated from
Tmin).
maxlag
Lag of temperature maximum behind solar maximum (fraction of
day).
Ca
Atmospheric CO2 concentration (ppm).
Patm
Atmospheric pressure (kPa).