obtain_soilgrids: Obtain Soilgrids

Description Usage Arguments Value

View source: R/obtain_soilgrids.R

Description

Obtain soilgrids layer from the ISRIC geoserver.

Usage

1
obtain_soilgrids(project_path, shp_file, variables, depths, quantiles, wcs)

Arguments

project_path

Path to the SWAT project / Path where soilgrids layers are saved

shp_file

Shape file (or path to shape file) that defines the extent of the soilgrids layers. If NULL the shape file from the SWAT project will be used.

wcs

URL of the ISRIC soilgrids geoserver

layer_meta

List with the entries extent (Vector of length 4 with the soilgrids extent) and the soilgrids pixel_size. Check if these values are correct with get_layermeta()]

layer_names

Character vector of names of the soilgrids layers to be downloadad.

Value

Writes the required soilgrids layer to project_path/soilgrids.


chrisschuerz/SWATsolaR documentation built on Oct. 19, 2020, 2:33 p.m.