This function creates a rectangular (2D) Echoview region file. The function can add regions to an existing EVR file.
Usage
makeRectRegion(
dateStart,
timeStart,
dateStop,
timeStop,
minDepth = 0,
maxDepth,
outPathFn,
regionClassName,
regionType,
append = FALSE,
exactRegionName = NULL
)
Arguments
- dateStart
date stamp for the start of the region (yyymmdd)
- timeStart
time stamp for the start of the region (hhmmss)
- dateStop
date stamp for the end of the region (yyymmdd)
- timeStop
time stamp for the end of the region (hhmmss)
- minDepth
=0 Minimum depth for the region
- maxDepth
maximum depth for the region
- outPathFn
output parth and filename.
- regionClassName
region class name
- regionType
region Type (integer)
- append
= FALSE should be region be added to the EVR file given in outPathFn
- exactRegionName
= NULL exact region name (no integer increment will be applied)
Value
list: $msg messages from the function call $exportFLAG Boolean TRUE EVR file created or added. FALSE otherwise