Description Usage Arguments Author(s) Examples
After a model run is initiated, this function should be first executed to load DEM raster.
1 | FM.readDEM(demfile, waterdepth = 0, waterdepthfile = "", rerun = FALSE)
|
demfile |
full file path of the DEM raster. |
waterdepth |
(OPTIONAL) a number represents initial surface water depth (unit: m) to be applied to all grid cells. |
waterdepthfile |
(OPTIONAL) full file path of the initial surface water depth raster (unit: m). If a raster file is specified, the model will use this raster to initialize the surface water depth. |
rerun |
OPTIONAL, assign TRUE if this is a rerun. |
Xander Wang <xiuquan.wang@gmail.com>
1 2 3 4 5 6 | ## Load FloodMapper package
library(FloodMapper)
## Refer to Step 2 in the sample code of FM.start():
## Step 2. Load the 1000km DEM raster for Lafayette Parish,
## LA, USA from the sample dataset.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.