sectionGrid {oce} | R Documentation |
Grid a section, by interpolating to fixed pressure levels.
sectionGrid(section, p, method="approx", debug=getOption("oceDebug"), ...)
section |
a |
p |
optional indication of the pressure levels to which interpolation
should be done. If this is not supplied, the pressure levels will be
calculated based on the typical spacing in the ctd profiles stored within
|
method |
the method to use to decimate data within the stations; see
|
debug |
a flag that turns on debugging. The value indicates the depth
within the call stack to which debugging applies. For example,
|
... |
optional arguments to be supplied to |
The "approx"
, "boxcar"
and "lm"
methods are
described in the documentation for ctdDecimate
, which is used
to do this processing. The default "approx"
method is best for
bottle data, the "boxcar"
is best for ctd data, and the "lm"
method is probably too slow to recommend for exploratory work, in which it
is common to do trials with a variety of "p"
values.
An object of class
"section"
that contains
stations whose pressure values match identically.
Dan Kelley
The documentation for section-class
explains the
structure of section objects, and also outlines the other functions dealing
with them.
# Gulf Stream library(oce) data(section) GS <- subset(section, 109<=stationId&stationId<=129) GSg <- sectionGrid(GS, p=seq(0, 5000, 100)) plot(GSg, map.xlim=c(-80,-60))