Skip to contents

Downloads and projects SoilGrids' bulk density of the fine earth fraction (bdod) layers for specified depth intervals. See here for more details. This function project the original data at different depths intervals to the modelling reference grid.

Usage

soil_density_process(depths = NULL, env_file = ".env", n_cores = 6)

Arguments

depths

Character vector of depth intervals (e.g. c("0-5","5-15")). If NULL (default) all valid depths are processed. Valid depths are the SoilGrids BDOD standard horizons (cm): "0-5", "5-15", "15-30", "30-60", "60-100", and "100-200". Each depth string should omit the trailing cm.

env_file

Character. Path to the environment file containing paths to data sources. Defaults to .env.

n_cores

Integer. Number of CPU cores to use for parallel processing. Default: 6.

Value

(Invisibly) the path to the RData file containing the processed soil bulk density data.

References

Author

Ahmed El-Gabbas