View source: R/input_file_utils.R
accum_input | R Documentation |
Program Partial builds a raster giving the contributing area to each DEM cell for a storm of specified duration. Inputs to Partial are read from an ASCII input file using "Keyword: arguments" format.
accum_input(dem, k, d, length_scale, scratch_dir, out_raster)
dem |
Character string: The file name (full path) for the input DEM. |
k |
Numeric (dbl): Saturated hydraulic conductivity, in meters per hour. |
d |
Numeric (dbl): Storm duration in hours. |
length_scale |
Numeric (dbl): Diameter for smoothing the DEM. |
scratch_dir |
Character string: Directory for temporary files. The input file is written to the scratch_dir. |
out_raster |
Character string: File name (full path) for the output binary floating point (.flt) raster. |
There is no explicit return object, but an explicit side effect is writing to disk of the partial input file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.