
Last chance! 50% off unlimited learning
Sale ends in
sectionSmooth(section, df, debug=getOption("oceDebug"), ...)
section
object containing the section to be smootheddf
, used by
smooth.spline
. If not supplied, this is set to the
number of stations, divided by 5.smooth.spline
.class
"section"
that
has less lateral variation than the input section.The section is smoothed using smooth.spline
on
individual pressure levels. This is done for temperature, salinity,
and sigma-theta individually. (This may change; perhaps
sigma-theta should be calculated from the smoothed temperature and
salinity.)
The ...
arguments will be passed to the spline routine,
allowing the user to control the spline as desired. If no ...
arguments are supplied, sectionSmooth
will set df
to
the number of stations divided by 5, which could be interpreted as
smoothing across 5 adjacent stations.
section-class
explains the
structure of section objects, and also outlines the other functions dealing
with them.# Eastern North Atlantic, showing Mediterranean water.
library(oce)
data(coastlineWorld)
data(a03)
s <- sectionGrid(subset.oce(a03, indices=90:3), p=seq(00, 2500, 100))
ss <- sectionSmooth(s, df=8)
plot(ss,coastline=coastlineWorld,map.xlim=c(-75,0))
Run the code above in your browser using DataLab