Skip to contents

This function exports the Sv values as a .csv file for an acoustic variable by region using COM scripting

Usage

EVExportRegionSv(EVFile, variableName, regionName, filePath)

Arguments

EVFile

An Echoview file COM object

variableName

Echoview variable name for which to extract the data

regionName

Echoview region name for which to extract the data

filePath

File path and name (.csv) to save the data

Value

A list object with one element. $msg message for processing log

Examples

if (FALSE) {
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj,'~~/KAOS/KAOStemplate.EV')$EVFile
EVImportRegionDef(EVFile = EVFile, evrFile = '~~/KAOS/off transect regions/20030114_1200000000.evr', regionName = 'region_1')
EVExportRegionSv(EVFile = EVFile, variableName = '120 seabed and surface excluded', regionName = 'region_1', filePath = '~~/KAOS/EVExportRegionSv_example.csv')
}