bldgrds_nochannels_input: Create an input file for Fortran program bldrds.

View source: R/input_file_utils.R

bldgrds_nochannels_inputR Documentation

Create an input file for Fortran program bldrds.

Description

Program bldgrds does flow routing for a DEM. This function creates an input file specifying that the flow routing will not involve delineation of channels. Therefore, flow directions are entirely based on D-infinity.

Usage

bldgrds_nochannels_input(
  dem,
  aspect_length,
  plan_length,
  grad_length,
  out_raster,
  scratch_dir
)

Arguments

dem

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

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.

aspect_length:

double, length in meters over which aspect is measured.

plan_length:

double, length in meters over which plan curvature is measured.

grad_length:

double, length in meters over which gradient is measured.

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.