set_up_transect | R Documentation |
This function calls RDCOMClient to establish a COM application for Echoview. This function is primarily a wrapper for functions found in EchoviewR (https://github.com/AustralianAntarcticDivision/EchoviewR) applied to files stored in an expected file path.
set_up_transect(template, ecsfile, projecthome, sonartype, transectname)
template |
A file path to an Echoview template |
ecsfile |
A file patch to the ecs calibration file |
projecthome |
A file path to the project directory. Generally, when working in an RStudio project environment you can populate this field using 'getwd()' |
sonartype |
The function uses a text pattern matching to find acoustic data files. Function expects an input of *BIOSONICS* or *SIMRAD* to detect \*.dt4 or \*.raw file types. |
transectname |
Transect name that matches a valid directory in *3_Ping_Data/* directory |
## Not run:
library(erieacoustics)
evtemplate <- file.path(getwd(), '2_EVTemplate/EVTemplate.EV')
calfile <- file.path(getwd(), '2_EVTemplate/calibrationfile.ecs')
dir.exists("3_Ping_Data")
file.exists(evtemplate)
file.exists(calfile)
set_up_transect(evtemplate, projecthome = getwd(),
sonartype = "SIMRAD", transectname = "ERIE")
set_up_transect(evtemplate, projecthome = getwd(),
sonartype = "BIOSONICS", transectname = "COB")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.