Description Usage Arguments Details Value Author(s) References
View source: R/BumpRiverStage.R
Decrease stage values in river cells if they are implausible with respect to water always flowing downhill.
1 | BumpRiverStage(r, outlets, min.drop = 1e-06)
|
r |
'RasterLayer'. Numeric cell values representing river stages. |
outlets |
'SpatialPoints*', 'SpatialLines*', 'SpatialPolygons*' or 'Extent'.
Designates the location of discharge outlets.
The |
min.drop |
'numeric' number. Minimum drop in stage between adjacent river cells. |
The Lee algorithm (Lee, 1961) is used to identify flow paths among the modeled river cells. An analysis of river cell stage values along a flow path identifies any problematic cells that are obstructing downhill surface-water flow. Stage values for these problematic cells are then lowered to an acceptable elevation.
An object of class 'RasterLayer' with cell values representing the vertical change in stream stage.
These changes can be added to r
to ensure that water always flows downhill.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
Lee, C.Y., 1961, An algorithm for path connections and its applications: IRE Transactions on Electronic Computers, v. EC-10, no. 2, p. 346–365.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.