R: Class to Store ODF data

odf-class {oce} | R Documentation

## Class to Store ODF data

### Description

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`.

### Methods

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.

### Author(s)

Dan Kelley

### See Also

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`

Other things related to `odf` data: `ODF2oce`, `[[,odf-method`, `[[<-,odf-method`, `plot,odf-method`, `subset,odf-method`, `summary,odf-method`

[Package oce version 0.9-20 Index]