Usage
read.section(file, directory, sectionId="", flags,
ship="", scientist="", institute="",
missingValue=-999,
debug=getOption("oceDebug"), processingLog)
Arguments
file
a file containing a set of CTD observations. At present, only
the exchange BOT format is accepted (see Details).
directory
a directory that contains a set of CTD files that hold individual
stations in the section.
sectionId
optional string indicating the name for the section.
If not provided, the section ID is determined by examination of
the file header.
ship
name of the ship carrying out the sampling
scientist
name of chief scientist aboard ship
institute
name of chief scientist's institute
flags
optional list of salinity-quality flags that will be
demanded of the salinity data. If not given, an appropriate flag will be
chosen based on the data type. For example, for WOCE data, any
data with salinity flag not equal to 2 will be rej
missingValue
numerical value used to indicate missing data
debug
logical. If TRUE
, print some information that
might be helpful during debugging.
processingLog
if provided, the action item to be stored in the
log. (Typically only provided for internal calls; the default that
it provides is better for normal calls by a user.)