FM.readSoil: Load Rasters for Soil Texture, Soil Depth (Groudwater Level),...

Description Usage Arguments Author(s) Examples

Description

After land cover raster is loaded, this function should be executed to load rasters for soil texture, surface soil depth (groundwater level), and initial soil moisture content.

Usage

1
2
FM.readSoil(soilfile, soildepth, soildepthfile = "", soilmoistcontent, 
    soilmoistcontentfile = "", rerun = FALSE)

Arguments

soilfile

full file path of the soil texture raster.

soildepth

a number indicates the depth of unsaturated soil (i.e., aquifer or groundwater level) to be applied to all grid cells, unit: m.

soildepthfile

full file path of the soil depth raster. If a raster file is specified, the model will use this raster to initialize the depth of unsaturated soil.

soilmoistcontent

a number indicates the initial soil moisture content (range: 0.0 - 1.0) to be applied to all grid cells.

soilmoistcontentfile

full file path of the soil moisture content raster. If a raster file is specified, the model will use this raster to initialize the soil moisture content.

rerun

(OPTIONAL) assign TRUE if this is a rerun.

Author(s)

Xander Wang <xiuquan.wang@gmail.com>

Examples

1
2
3
4
5
6
7
## Load FloodMapper package
library(FloodMapper)

## Refer to Step 4 in the sample code of FM.start():
## Step 4. Load the 1000km rasters for soil texture and 
##         soil depth from the sample dataset, set the 
##         initial soil moisture content to 0.4785.

FloodMapper documentation built on May 2, 2019, 5:08 a.m.