getSoilGrid: getSoilGrid

Description Usage Arguments Value Examples

View source: R/getSoilGrid.R

Description

Downloads soil data (sand, clay, OM, gravel, bulk density and depth) from soilgrids.org in raster format, calculates the weigthed average according to the layer depths

Usage

1
getSoilGrid(bbox, global_depth, ouputdir = getwd())

Arguments

bbox,

any type of spatial object

global_depth,

global raster of depth to the R horizon, unfortunately not available anymore in the new update of soilgrids, so, download it separately fromhttps://files.isric.org/soilgrids/former/2017-03-10/data/BDRICM_M_250m_ll.tif

ouputdir,

directory where to save the files

Value

A RasterBrick object with the layers organized as sand(perc),clay(perc),organic matter(perc),coarse-fragments-fraction(perc), bulk density(g cm-3) and depth (m)

Examples

1

dsval/splashTools documentation built on Jan. 9, 2021, 2:46 a.m.