Prepare Atmosphere Input
Usage
prepare_atmosphere_input(inputs, defaults = defaults_atmosphere())
Arguments
- inputs
tibble or data.frame with user defined inputs for parameters defined in
get_atmosphere_headers
- defaults
defaults for undefined parameters. Default:
defaults_atmosphere
Examples
inputs <- tibble::tibble(tAtm = 1:10, Prec = 10, rSoil = 0.4)
prepare_atmosphere_input(inputs)
#> # A tibble: 10 × 13
#> tAtm Prec rSoil rRoot hCritA rB hB ht tTop tBot Ampl cTop
#> <int> <dbl> <dbl> <int> <int> <int> <int> <int> <int> <int> <int> <int>
#> 1 1 10 0.4 0 100000 0 0 0 0 0 0 0
#> 2 2 10 0.4 0 100000 0 0 0 0 0 0 0
#> 3 3 10 0.4 0 100000 0 0 0 0 0 0 0
#> 4 4 10 0.4 0 100000 0 0 0 0 0 0 0
#> 5 5 10 0.4 0 100000 0 0 0 0 0 0 0
#> 6 6 10 0.4 0 100000 0 0 0 0 0 0 0
#> 7 7 10 0.4 0 100000 0 0 0 0 0 0 0
#> 8 8 10 0.4 0 100000 0 0 0 0 0 0 0
#> 9 9 10 0.4 0 100000 0 0 0 0 0 0 0
#> 10 10 10 0.4 0 100000 0 0 0 0 0 0 0
#> # ℹ 1 more variable: cBot <int>