read.rbrtdr {oce}R Documentation

Read an RBR temperature-depth recorder data file

Description

Read an RBR temperature-depth recorder file, producing an object of type rbrtdr.

Usage

read.rbrtdr(file, debug=FALSE)

Arguments

file a connection or a character string giving the name of the file to load.
debug a flag that can be set to TRUE to turn on debugging.

Details

Read an RBR TDR (temperature-depth recorder) file.

Value

An object of class "rbrtdr", which is a list with elements detailed below. The most important elements are the station name and position, along with the profile data that are contained in the data frame named data. (Other elements in the list may be deleted in future versions of the package, if they prove to be of little use in practice, or if they prove to have been idiosyncratic features of the particular files used in early development of oce.)

data a data table containing the (t, temperature, pressure) data.
metadata a list containing the following items
header
the header itself, normally containing several dozen lines of information.
processing.log a processing log, in the standard oce format.

Author(s)

Dan Kelley

References

(fill in later ... presumably RBR has a manual online.)

See Also

The generic function read.oce provides an alternative to this. The object may be summarized and plotted using generic functions (see examples).

Examples

## Not run: 
library(oce)
x <- read.rbrtdr("011855_1a.dat")
summary(x)
plot(x) # timeseries
## End(Not run)

[Package oce version 0.1.74 Index]