as.ctd(S, t, p, ship=NA, scientist=NA, institute=NA, address=NA,
cruise=NA, station=NA, date=NA, start.time=NA,
latitude=NA, longitude=NA, recovery=NA, water.depth=NA,
sample.interval=NA, src="")
ctd
object, e.g. so that plot.ctd
can be used to make a
standard four-panel plot, or so that a section can be constructed with
make.section
.read.ctd
. A ctd
object may be summarized with
summary.ctd
. Overview plots may be made with
plot.ctd
, while plot.TS
produces TS plots
and plot.ctd.scan
produces scan plots that may help with
data editing. Extraneous data such as those collected during upcasts
and equilibration intervals may be trimmed with
ctd.trim
, and the data may be cast onto specified
pressure levels with ctd.decimate
. Low-level
manipulation may be done with ctd.add.column
and
ctd.update.header
, as well as by direct manipulation of
the items within ctd
objects.library(oce)
p <- seq(0,100,1)
T <- 10 - p / 100
S <- 35 - p / 100
ctd <- as.ctd(S, T, p)
summary(ctd)
Run the code above in your browser using DataLab