ctd.trim(x, method="downcast",parameters=NULL, verbose=FALSE)ctd object, e.g. as read by read.ctd.1. The pressure data are despiked with a smooth() filter with method "3R". This remov
ctd object.method="downcast" scheme
is normally quite adequate. However, a wise user will seek
want to exert more control over the trimming process. Visual
inspection is a good way to do this, using plot.ctd.scan() together
with ctd.trim. Normally, this involves
identifying by eye an initial period
in which the CTD is in the air or unequilibrated in the water,
and a final period in which the CTD is no longer descending.
Quite often this final period is easier to find by eye than
with the downcast method, since the instrument
operator may leave the device in deep water for some extra
time to fire off a water bottle, etc., yielding problematic
CTD data (but with some wonderful chemical or biological
samples).ctd object may be read with read.ctd.
plot.ctd.scan is very useful in providing guidance
for trimming with ctd.trim.library(oce)
data(ctd)
ctd.trimmed <- ctd.trim(ctd, "pressure", c(3, 5))
summary(ctd.trimmed)Run the code above in your browser using DataLab