This function adds raw data files to an open Echoview file (.EV) via COM scripting. The function assumes the Echoview fileset name already exists.
Arguments
- EVFile
An Echoview file COM object
- filesetName
Echoview fileset name
- dataFiles
vector of full path and name for each data file.
Value
a list object with two elements. $nbrFilesInFileset: number of raw data files in the fileset, and $msg: message for processing log.
Examples
if (FALSE) {
filenamesV <- c('~~/KAOS/raw/L0055-D20030115-T171028-EK60.raw',
'~~/KAOS/raw/L0055-D20030115-T182914-EK60.raw')
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVNewFile(EVAppObj,templateFn="~~/KAOS/KAOStemplate.EV")$EVFile
EVAddRawData(EVFile = EVFile, filesetName = '038-120-200', dataFiles = filenamesV)
}