View source: R/ExtractData_Soils.R
Areas with no soil are 'removed' and the remaining data 'scaled' to 1.
1 2 3 4 5 6 7 8 9 10 11 12 | calc_cell_ISRICWISE(
i,
i_sim_cells_SUIDs,
sim_soils,
layer_N,
layer_Nsim,
ldepth,
dat_wise,
nvars,
var_tags,
val_rocks = NULL
)
|
i |
An integer value. The number of the simulation site/cell location. |
i_sim_cells_SUIDs |
A named numeric vector. A row of of the data.frame
returned by |
sim_soils |
A named numeric vector. First element is 'i' and second is
'depth'. The following elements represent the soil variables (currently,
"density", "sand", "clay", "rock", "carbon"; see
|
layer_N |
An integer value. The number of soil layers in the dataset
(i.e., 5, see |
layer_Nsim |
An integer value. The number of soil layers of a
rSFSW2 project representing the dataset (i.e., 6, see
|
ldepth |
An integer vector. The depth limits of the extracted
|
dat_wise |
A data.frame representing the main ‘ISRIC-WISE’ database. |
nvars |
An integer value. The number of soil variables extracted from a
‘ISRIC-WISE’ dataset (currently, 5; see
|
var_tags |
A vector of character string. The column names for “suid”, bulk density (“density”), “sand”, “clay”, coarse fragments (“rock”), and organic carbon content (“carbon”). |
val_rocks |
An integer vector. The (negative) values which correspond to
rocky outcrops and/or rocky subsoils. Soil depth is limited to above layers
that have values in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.