odf-class: Class to Store ODF data

Description Methods Author(s) See Also


Class for data stored in a format used at Canadian Department of Fisheries and Oceans laboratories. This is somewhat unusual amongst oce classes, in that it does not map to a particular instrument, but rather to a storage type; in that sense, it is similar to the bremen-class.


Consider an ODF object named odf.

Accessing metadata.

Metadata (contained in the S4 slot named metadata) may be retrieved or set by name, odf[["longitude"]] <- odf[["longitude"]] + 1 corrects a one-degree error.

Accessing measured data.

Column data may be accessed by name, e.g. odf[["salinity"]], odf[["temperature"]], odf[["pressure"]], etc. It is up to the user to realize what is in the object.

Assigning values.

Items stored in the object may be altered with e.g. odf[["salinity"]] <- rep(35,10).

Overview of contents.

The show method (e.g. show(odf)) displays information about the object.


Dan Kelley

See Also

Other things related to odf data: ODF2oce, ODFNames2oceNames, [[,odf-method, [[<-,odf-method, plot,odf-method, read.ctd.odf, read.odf, subset,odf-method, summary,odf-method

Other classes provided by oce: adp-class, adv-class, argo-class, bremen-class, cm-class, coastline-class, ctd-class, echosounder-class, lisst-class, lobo-class, met-class, oce-class, rsk-class, sealevel-class, section-class, topo-class, windrose-class

Search within the oce package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.