Description Usage Arguments Details Examples
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
1 2 |
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 |
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.
1 2 | #takes a few mins to run
#rast_potato_suit_ph <- suit_soil_ph('potato')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.