partition_depth: Partition soilgrids Layers over Depth.

Description Arguments Examples

Description

Partition the soilgrids layers within the soil project over their respective depth. By convention most layers are divided into 7 depth-classes.This function allows to newly partition them over chosen depths.

Arguments

lower_bound

Vector defining the lower bounds of the aggregated soil layers (depths in cm).

Examples

1
2
3
4
5
6
7
8
9
# Not run
# Replace "my_project" with the actual project name

# Partition the soil layers to three layers with 0-30cm 30-100cm and 100-200cm
# In this case only works if all 7 depths from soilgrids are loaded
my_project$partition_depth(lower_bound = c(30,100,200))

# This works if for example only the first three layers are loaded:
my_project$partition_depth(lower_bound = 8)

chrisschuerz/SWATsolaR documentation built on Oct. 19, 2020, 2:33 p.m.