View source: R/AgroSoil_generic_functions.R
aggregate_cov | R Documentation |
Loads a list of raster files for specific soil depths and aggregates them for a user-specified soil depth interval. Eg. aggregate Clay content maps at 0, 5, 15, 30 and 60cm into 0-30cm or 0-60cm
aggregate_cov( in.cov_name, depth, in.covs_path, ot = "Int32", dstnodata = -32768, in.lst )
in.cov_name |
Name of raster files to grep |
depth |
Standard depths to aggregate. Default soil depths are 0, 5, 15, 30 and 60cm |
in.covs_path |
Path to directory holding raster files. |
ot |
Output raster file type. Default value is "Int32". |
dstnodata |
Impute for missing or NO_DATA value. Default value is -32768. |
library(raster) library(rgdal) aggregate_cov(in.cov_name, depth, in.covs_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.