writeClimate.in: Writes the LWF-Brook90 input file Climate.in

Description Usage Arguments Value

View source: R/writeclimate.R

Description

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

Usage

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)

Arguments

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

Value

no return value


pschmidtwalter/brook90r documentation built on April 6, 2020, 6:35 p.m.