Description Usage Arguments Examples
This functions creates physicalvariable maps from catagorical information, e.g. a map of hydraulic conductivity from the map of Soil Categories.
1 2 3 4 5 | SoilPropertyMap(x, map = "SoilMapFile", metacat = "SoilParFile",
header = "Header", names = NULL, use.soilwater.function = NULL,
psi = NULL, ...)
PropertyMap(x, map = "LandUseMapFile", ...)
|
x |
variable or variables to map |
map |
catagory input map, i.e. soiltype maps or related GEOtop keyword. |
metacat |
list of dataframe containingcatagory definitions, e. g. the list of soil properties for each class or related GEOtop keyword. |
header |
header sting using in |
names |
names for the layer of the |
use.soilwater.function |
list. It it is not |
psi |
|
... |
further arguments for |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | wpath <- system.file("geotop_simulation",package="geotopsim")
x <- "Alpha"
b <- SoilPropertyMap(x,wpath=wpath)
xp <- c("LateralHydrConductivity","N","Alpha")
bp <- SoilPropertyMap(xp,wpath=wpath)
## Use soilwater function
library(soilwater)
data(PsiTheta)
t <- 5
psit <- psi[[t]]
#khy(psi = 0.5, v = 0.5, ksat = 0.01, alpha = 1, n = 1.5, m = 1 -
# 1/n, theta_sat = 0.4, theta_res = 0.05, psi_s = -1/alpha, lambda = m *
# n, b = NA, type_swc = "VanGenuchten", type_khy = c("Mualem",
# "BrooksAndCorey"), ...)
use.soilwater.function <- list()
use.soilwater.function$fun <- "khy" ## called function of "soilwater" packege
use.soilwater.function$args <- list(ksat="LateralHydrConductivity",alpha="Alpha",n="N",
type_swc = "VanGenuchten", type_khy = "Mualem")
xs <- c("LateralHydrConductivity","Alpha","N")
khmap <- SoilPropertyMap(xs,wpath=wpath,use.soilwater.function=use.soilwater.function,psi=psit)
### BELOW a list of some keywords used for soil property variables
#HeaderSoilDz = "Dz"
#HeaderLateralHydrConductivity = "Kh"
#HeaderNormalHydrConductivity = "Kv"
#HeaderThetaRes = "vwc_r"
#HeaderWiltingPoint = "vwc_w"
#HeaderFieldCapacity = "vwc_fc"
#HeaderThetaSat = "vwc_s"
#HeaderAlpha = "alpha"
#HeaderN = "n"
#HeaderSpecificStorativity = "stor"
#HeaderKthSoilSolids = "Kth"
#HeaderCthSoilSolids = "Cth"
#HeaderSoilInitPres = "InitPsi"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.