FM.readInflow: Load Inflow Data (OPTIONAL)

Description Usage Arguments Author(s) Examples

Description

After precipitatoin data is loaded, users may use this function to load inflow data in case that the selected domain is expected to receive water from its outside. The inflow data can come from monitoring stations or other raster datasets.

Usage

1
FM.readInflow(datatype = 0, txtfile, startdatetime, enddatetime, interval)

Arguments

datatype

0 = monitoring stations, 1 = raster data (NOT supported in this version)

txtfile

full file path of the text file required for inflow data. If the data comes from multiple monitoring stations, the format of this text file should be given as follows:
#: ——————————————
#: ID Lon Lat Datafile
#: 1 -92.0296 30.1800 in1.txt
#: 2 -92.0260 30.1779 in2.txt
#: 3 ... ... ...
#: ——————————————
If the inflow data comes from rasters, the format of this text file should be given as follows:
#: ——————————————
#: ID Rasterfile
#: 1 in_2016-06-09_12-00-00.tif
#: 2 in_2016-06-09_13-00-00.tif
#: 3 ...
#: ——————————————

startdatetime

start datetime of inflow records, should be formated as "YYYY-MM-DD hh:mm:ss". E.g., "2016-06-09 12:00:00".

enddatetime

end datetime of inflow records, should be formated as "YYYY-MM-DD hh:mm:ss". E.g., "2016-06-09 13:00:00".

interval

interval of inflow records, unit: seconds. E.g., 1 hr = 60 min * 60 sec = 3600 sec.

Author(s)

Xander Wang <xiuquan.wang@gmail.com>

Examples

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

## Refer to Step 7 in the sample code of FM.start():
## Step 7. Load inflow data from one weather station

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