soilmdistribute: Spatially distribute soil moisture by topographic wetness...

View source: R/Rimplementation.R

soilmdistributeR Documentation

Spatially distribute soil moisture by topographic wetness index

Description

The function 'soilmdistribute' spatially distrubutes soil moisture by the Bevan and Kirkby topographic wetness index

Usage

soilmdistribute(micro, tfact = 1.5)

Arguments

micro

an object of class microin as returned by e.g. modelin

tfact

coefficient determining sensitivity of soil moisture to variation in topographic wetness

Value

a 3D array of soil moistures with the same x and y dims as 'dtm' and z equivelent to length(soilm)

Examples

micropoint <- runpointmodel(climdata, 0.05, dtmcaerth, vegp, soilc)
micropoint <- subsetpointmodel(micropoint)
micro <- modelin(micropoint, vegp, soilc, dtmcaerth)
micro <- soilmdistribute(micro) # default tfact
plot(rast(micro$soilm[,,1]))

ilyamaclean/microclimf documentation built on Sept. 28, 2024, 4:55 p.m.