suit_soil_ph: suit_soil_ph

Description Usage Arguments Details Examples

Description

generate a global suitability (0/1) raster for a crop based on it's ph limits from ecocrop and regridded harmonised world soil database v1.2 at 0.05 degree resolution

Usage

1
2
suit_soil_ph(cropname, phmin = NULL, phmax = NULL, phopmn = NULL,
  phopmx = NULL, suit_or_opt = "suit1_opt2", filename = "", plot = TRUE)

Arguments

cropname

name of the crop

phmin

min ph from ecocrop

phmax

max ph from ecocrop

phopmn

min optimal ph from ecocrop

phopmx

max optimal ph from ecocrop

suit_or_opt

'suit', 'opt', 'suit1_opt2'

filename

optional output file

plot

whether to plot result

Details

Wieder, W.R., J. Boehnert, G.B. Bonan, and M. Langseth. 2014. Regridded Harmonized World Soil Database v1.2. Data set. Available on-line [http://daac.ornl.gov] from Oak Ridge National Laboratory Distributed Active Archive Center, Oak Ridge, Tennessee, USA. http://dx.doi.org/10.3334/ORNLDAAC/1247.

Examples

1
2
#takes a few mins to run
#rast_potato_suit_ph <- suit_soil_ph('potato')

AndySouth/climcropr documentation built on May 20, 2019, 5:08 p.m.