Description Usage Arguments Value
Creates the Climate.in file from daily climate data and vegetation properties, providing some flexibility with regards to radiation (solar radiation or sunshine hours) and precipitation correction
1 2 3 4 | writeClimate.in(dates, tmax, tmin, vappres, wind, prec, globrad, sunhours,
densef, height, lai, sai, age, latitude, mesfl = rep(0, length(dates)),
filename = "in/Climate.in", use.sunhours = F,
richter.prec.corr = F, prec.int = 1, snow.ini = 0, gwat.ini = 0)
|
dates |
date sequence with daily resolution. |
tmax |
daily maximum air temperature, °C. |
tmin |
daily minimum air temperature, °C. |
vappres |
daily mean air vapor pressure, kPa. |
wind |
daily mean wind speed, m s^{-1}. |
prec |
daily precipitation, mm d^-1. |
globrad |
solar radiation on the zero plane, MJm^{-2}d^{-1} |
sunhours |
sunshine duration, hours per day |
densef |
canopy density multiplier between 0.05 and 1, dimensionless |
height |
canopy height, m |
lai |
projected leaf area index, m^{2} m^{-2} |
sai |
projected stem area index, m^{2} m^{-2} |
age |
stand age, years |
latitude |
geographic latitude of the simulated site, decimal degrees |
mesfl |
measured stream flow, mm d^{-1} |
filename |
filename for writing. Defaults to '~in/Climate.in |
use.sunhours |
Use sunshine duration hours rather than global radiation? |
richter.prec.corr |
Correct precipitation values for evaporation and wind losses? |
prec.int |
number of precipitation intervals per day. Currently only 1 interval per day is supported. |
snow.ini |
initial amount of snow on the ground, mm water equivalent |
gwat.ini |
initial groundwater storage below soil layers, mm |
no return value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.