layer_init_params: Generate soil layer initialization table for define_hisafe

Description Usage Arguments Value See Also Examples

View source: R/define.R

Description

Generates a soil layer initialization table suitable for passing to define_hisafe. The output of this function is always passed to define_hisafe via the layer.initialization argument (see example below). Any passed parameters modify the table in the provided template.

Usage

1

Arguments

template

A character string of the path to the directory containing the template set of Hi-sAFe simulation folders/files to use. See define_hisafe for more details.

...

Any parameters of Hi-sAFe soil layer initialization table:

  • "waterContent"

  • "no3Concentration"

  • "nh4concentration"

Value

A list containing a Hi-sAFE soil layer initialization table.

See Also

Other hisafe definition functions: define_hisafe_file(), define_hisafe(), layer_params(), root_init_params(), tree_init_params(), variety_params()

Examples

1
2
3
4
5
6
## Not run: 
hip <- define_hisafe(path = getwd(),
                     layer.initialization = layer_init_params(template         = "agroforestry",
                                                              no3Concentration = c(40, 15, 5, 2, 0)))

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.