tdrTrim(x, method="water", parameters=NULL, debug=getOption("oceDebug"))
tdr
object, e.g. as read by read.tdr
.read.adv.nortek()
calls read.header.nortek()
,
so that read.adv.nortek(...,debug=2)
class
"tdr"
, with data
having been trimmed in some way, and with the pressure being reduced
by mean sea-level pressure."water"
method is mainly for quick and dirty work.
In many cases, the user will be working with several files, and so it
will make sense to use the "time"
method, to synchronize the
time series. Normally, notes will have been taken in the field, so no
guessing need be done about the time the instruments went in the
water. In some cases, though, the time will have to be inferred from
the data, and so it might make sense to start by trimming with the
"water"
method, after which summary.tdr
is used
to find the probably time when the instrument was put into the water.After the data are trimmed in time, the pressure record is modified by subtracting 10.1325~dbar, the average sea-level pressure.
tdr-class
explains the structure of
PT objects, and also outlines the other functions dealing with them.library(oce)
data(tdr)
tdrTrimmed <- tdrTrim(tdr)
plot(tdrTrimmed)
Run the code above in your browser using DataLab