gdalCalc: Generic function for using gdal_calc

View source: R/gdal_raster_functions.R

gdalCalcR Documentation

Generic function for using gdal_calc

Description

Generic function for using gdal_calc

Usage

gdalCalc(
  inpath,
  outpath,
  calc_fun = "sum",
  numpy = TRUE,
  na.value = NULL,
  overwrite = TRUE,
  return.raster = TRUE,
  quiet = FALSE
)

Arguments

inpath

file path of inpath file to change.

outpath

file path of output file to generate.

calc_fun

A text function that can be used from numpy, some examples include: "sum", "average", "std", "max", "min"

return.raster

if TRUE raster will be returned from function call.


skiptoniam/sense documentation built on March 18, 2023, 4:36 a.m.