prepareDATRAS: Generate DATRAS output for a specific StoX project or user...

Description Usage Arguments Examples

Description

Generate DATRAS output for a specific StoX project or user specified cruise number and ship name. NOTE: There are some differences between the output of this function and the previous submissions in the HH file due to lack of trawl sensor and CTD data: (HydroStNo, Netopening, DoorSpread, WingSpread) (SurTemp BotTemp SurSal BotSal)

Usage

1
prepareDATRAS(projectName, fileName = NULL)

Arguments

projectName

The name or full path of the project, a baseline object (as returned from getBaseline or runBaseline), or a project object (as returned from openProject). Projects located in sub directories of the default workspace can be given by the relative path, or are searched for by name.

fileName

The path to the DATRAS csv file to be written, defaulted to "DATRAS.csv" in the output/r/data directory in the project directory.

Examples

1
2
3
4
5
6
7
## Not run: 
# Process existing project
datras <- prepareDATRAS("NMD_CruiseNumber_2018102_ShipName_G.O.Sars")
head(datras$outputData$DATRASConvert$DATRASConvert_BioticData_HH.txt)
head(datras$outputData$DATRASConvert$DATRASConvert_BioticData_HL.txt)

## End(Not run)

Sea2Data/Rstox documentation built on May 14, 2019, 8:58 a.m.