statsGRASS | R Documentation |
Translation pipeline using GRASS
statsGRASS( grass, addon_base, areas, tree_cover, tree_loss, tree_co2, idcol, thresholdClump, thresholdCover, years, outdir = NULL, saveRaster, hideoutput = FALSE, .tmpdir = tempdir() )
grass |
A character vector pointing to the directory where GRASS binaries are installed. |
addon_base |
A character vector pointing to the directory where GRASS add-on binaries are installed.
In order to work, the ( |
areas |
An |
tree_cover |
A character vector pointing to the raster file representing tree cover in percentage for the entire study domain. |
tree_loss |
A character vector pointing to the raster file representing the year of tree cover loss for the entire study domain. |
tree_co2 |
A character vector pointing to the raster file representing co2 emissions from tree cover loss for the entire study domain. |
idcol |
A character vector identifying the a column name which uniquely
identifies the polygons in the |
thresholdClump |
A numeric value identifying the number of pixels of smallest clumps. All raster cell clumps smaller than the specified threshold will be removed. |
thresholdCover |
A numeric value identifying the smallest cover percentage to be considered as forest. All raster cell values below this threshold will be removed |
years |
A numeric vector specifying for which years to calculate an annual forest mask starting from 2001. (e.g. years = c(2001:2010)). |
outdir |
A character pointing to a directory where the output files
will be written to. If files with the same name as specified by the values in
|
saveRaster |
Logical indicating if raster are to be saved to disk |
hideoutput |
Logical indicating if grass output should not be printed in console. |
.tmpdir |
A character string pointing to a directory where intermediate
GRASS files will be written to. Defaults to the output of |
Darius Görgen (MapTailor Geospatial Consulting GbR) info@maptailor.net
Maintainer: MAPME-Initiative contact@mapme-initiative.org
Contact Person: Dr. Johannes Schielein
Copyright: MAPME-Initiative
License: GPL-3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.