ini_cfgDef: setup cfg input

Description Usage Arguments Value Author(s) Examples

View source: R/ini_cfgDef.R

Description

Soil parameterisation setup and returns a vector of characters for each line in the _cfg.ini file. Main inputs are i) soil hydraulic properties, and ii) initial conditions, Through the arguments, the Default settings can be changed. arguments soil and start_values have to be provided

Usage

1
2
3
4
5
6
7
8
9
ini_cfgDef(
  simulation = NA,
  location = NA,
  climate = NA,
  preceding_crop = NA,
  soil,
  start_values,
  farm = NA
)

Arguments

simulation

a vector with two named elements start and end, both characters, giving the dates (YYYY-MM-DD) of the simulation (should coincide with the weather file)

location

a vector with named elements specifying location of the simulations, as well as the wind measurement height (wind_measure_height) and the temperature measurement height (temp_measure_height)

climate

a vector with named elements specifying the average annual temperature (AveYearTemp; from weather file) and monthly Temperature amplitude (MonthTempAmp; from weather file)

preceding_crop

a vector with named elements giving details on the preceeding crop. Best left unchanged for long simulations

soil

the list returned from the fucntion which determines the model setup of ini_cfgsoilDef

start_values

the list returned from the function which determines the initial conditions ini_cfgicDef

farm

a vector of named elements giving details which should be changed

Value

Setup the cfg.ini given several arguments

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de

Examples

1
2
3
## Not run: 
# no sensible example
## End(Not run)

tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.