sectionGrid {oce} | R Documentation |
Grid a section, by interpolating to fixed pressure levels. 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.
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 |
an integer specifying whether debugging information is
to be printed during the processing. This is a general parameter that
is used by many |
... |
Optional arguments to be supplied to |
An object of section-class
that contains stations whose
pressure values match identically.
Data-quality flags contained within the original object are ignored by this
function, and the returned value contains no such flags. This is because such
flags represent an assessment of the original data, not of quantities derived
from those data. This function produces a warning to this effect. The
recommended practice is to use handleFlags
or some other means to
deal with flags before calling the present function.
Dan Kelley
Other things related to section
data: [[,section-method
,
[[<-,section-method
,
as.section
,
handleFlags,section-method
,
plot,section-method
,
read.section
, section-class
,
sectionAddStation
,
sectionSmooth
, sectionSort
,
section
,
subset,section-method
,
summary,section-method
# 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))