SoilDiscretize: Discretize soil vertically

Description Usage Arguments Details Value Author(s) Examples

View source: R/soil_discretize.R

Description

Generate thickness and depth of soil layers for numerical model

Usage

1
SoilDiscretize(dzmin, zmax, base)

Arguments

dzmin

Minimal z-spacing [m] ("how fine is the grid")

zmax

Depth of lowermost node [m] center ("how large is the domain")

base

Resolution reduction ("how strong is the grid corsened with depth"); base = 1 corresponds to equal spacing, base = 1.5 implies each successive layer with depth begin 1.5 times thicker than the one above.

Details

Makes a soil layer spacing based on the simple model dz = dzmin * base^(n) where n is the layer number.

Value

data frame with layer thickness (dz) and depth of layer centre (z) below the surface

Author(s)

Stephan Gruber <stephan.gruber@carleton.ca>

Examples

1
soil <- SoilDiscretize(0.1, 20, 1.25)

geocryology/PermafrostTools documentation built on Dec. 20, 2021, 10:40 a.m.