calc_soilset: evaluate soil parameters on hillslopes in EROSION-3D

View source: R/calc_soilset.R

calc_soilsetR Documentation

evaluate soil parameters on hillslopes in EROSION-3D

Description

This function takes a dataframe including all soil parameters of EROSION-3D and models one hillslope for each of given parameter sets. It returns a dataframe with POLY_ID as identifier and calculated cumulative runoff [litres] and soil loss [kg].

Usage

calc_soilset(
  soils = dummy_soilset(),
  intensity = 0.7,
  plotlength = 22,
  slope = 9,
  endmin = 30,
  resolution = 1,
  ponding = FALSE,
  path = tempdir(),
  pourpoint_obs = FALSE,
  path_to_ini = ""
)

Arguments

soils

dataframe, holding all EROSION-3D soil parameters in named columns

intensity

numeric vector, rainfall intensity of preceding time interval - correspondences to endmin

plotlength

integer value, length of experimental plot, needs to be an integer due to spatial resolution of 1 meter in E3D

slope

integer value, mean slope of experimental plot in percent

endmin

numeric vector, duration since start of rainfall experiment in full minutes, length must equal length of intensity

resolution

set spatial resolution

ponding

logical TRUE means ponding option is used, FALSE - is not used in E3D, ponding limits amount of infiltrating water to available water

path

path to modeling directory, default is a temporary directory

pourpoint_obs

bool use POURpoint observation

path_to_ini

use only with pourpoint observation - path to e3d.ini (C:/Users/<user>/AppData/Roaming/GeoGnostics/<..erosion-3d version..")

Examples

calc_soilset(soil_params)


jonaslenz/toolbox.e3d documentation built on Jan. 16, 2025, 5:24 a.m.