DEV_input: Create an input file for Fortran program LocalRelief.

View source: R/input_file_utils.R

DEV_inputR Documentation

Create an input file for Fortran program LocalRelief.

Description

Program LocalRelief builds a deviation-from-local-elevation (DEV) raster (and other things as well, DEV is all we need here).

Usage

DEV_input(dem, radius, out_raster, scratch_dir)

Arguments

dem

Character string: The file name (full path) for the input DEM.

radius

dbl: Radius in meters for calculating DEV.

out_raster

Character string: File name (full path) for the output binary floating point (.flt) raster.

scratch_dir

Character string: Directory for temporary files. The input file is written to the scratch_dir.

Value

There is no explicit return object, but an explicit side effect is writing to disk of the input file.


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