"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
object containing the section to be gridded.section
. If p="levitus"
, then pressures will be set to be those
of the Levitus atlas, given by standardDepths
, trimmed to the
maximum pressure in section
. If p
is a single numerical value,
it is taken as the number of subdivisions to use in a call to seq
that has range from 0 to the maximum pressure in section
. Finally, if a
vector numerical values is provided, then it is used as is.ctdDecimate
, which is used for the decimation.read.adv.nortek()
calls read.header.nortek()
, so that
read.adv.nortek(...,debug=2)
provides information about not just the
main body of the data file, but also the details of the header.ctdDecimate
.section-class
that contains stations whose
pressure values match identically.
handleFlags
or some other means to
deal with flags before calling the present function.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))
Run the code above in your browser using DataLab