resample: Resample

resampleR Documentation

Resample

Description

Read an input DEM (.flt or .tif) and output a DEM of lower resolution.

Usage

resample(
  in_raster = "nofile",
  skip = 0,
  out_raster = "none",
  scratch_dir = "none"
)

Arguments

in_raster

Character string: the DEM to be down sampled

skip

Integer, the output cell length is skip * input cell length. So if the input DEM has cell size 1m and skip is 2, the output DEM has cell size 2m. If skip is 5, the output DEM has cellsize 5m.

out_raster

The output DEM, written as a .flt file.

scratch_dir

Character string: A scratch directory where temporary files are written. If an input file for program partial is created, it is written here.

Details

Resample operates as a wrapper for program resample.

Value

A .flt raster written to disk.


tabrasel/WetlandTools documentation built on Dec. 20, 2024, 8:50 a.m.