metadata
, data
and processingLog
.section[["station", 1]]
for the first station (which returns a
ctd-class
object; see the example). Aggregated values of
the quantities measured at each level of the CTD profiles contained
within the section may be accessed as e.g.
section[["salinity"]]
. This works for any quantity whose name
is present in the constituent profiles. Since it is often useful to
pair such quantities with locations, section[["latitude"]]
and
section[["longitude"]]
return vectors with values repeated for
each level in each CTD (see the pairs()
call in the example
section). If just one latitude or longitude is desired per station,
e.g. section[["latitude", "bystation"]]
may be used. Station-by-station
values of dynamic height are provided by e.g. section[["dynamic height"]]
.}
show
method (e.g.
show(section)
) displays information about the object.}
read.section
or created with
read.section
or created from CTD objects by using
makeSection
or by combining an existing section with a CTD
object with the +
operator.
Sections may be sorted with sectionSort
, smoothed with
sectionSmooth
, and gridded with sectionGrid
.
Gridded sections may be plotted with plot.section
.
Statistical summaries are provided by summary.section
, while
overviews are provided by show.section
.
Two section datasets are provided in the package: a03
,
containing data along WOCE line A03, and section
, containing
data in Halifax Harbour.library(oce)
data(a03)
plot(a03[['station', 1]])
pairs(cbind(z=-a03[["pressure"]],T=a03[["temperature"]],S=a03[["salinity"]]))
Run the code above in your browser using DataLab