CTD2TSD: Converts a CTD file to the TSD format for the variables...

View source: R/CTD2TSD.R

CTD2TSDR Documentation

Converts a CTD file to the TSD format for the variables relevant to echoIBM().

Description

Converts a CTD file to the TSD format for the variables relevant to echoIBM().

Usage

CTD2TSD(f = NULL, outfile = NULL, hpr0 = NULL, Pain = FALSE, vessel = list())

Arguments

f

is the CTD file in cnv format.

outfile

is file to which the CTD data are written.

hpr0

is the pressure at sea level, which must be given externally. Defaulted to 101325 pascal.

Pain

is TRUE if pressure "ihpr" is given in Pascal and FALSE if given in decibar relative to surface pressure (10000 Pascal, giving values approximately equivalent to water depth).

vessel

A list of vessel info by which the closest CTD station is found as the minimum of the sum of distance in meters and seconds.


arnejohannesholmin/sonR documentation built on April 14, 2024, 11:39 p.m.