read.rbrtdr {oce} | R Documentation |
Read an RBR temperature-depth recorder file, producing an object of type rbrtdr
.
read.rbrtdr(file, debug=FALSE)
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. |
Read an RBR TDR (temperature-depth recorder) file.
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 |
processing.log |
a processing log, in the standard oce format. |
Dan Kelley
(fill in later ... presumably RBR has a manual online.)
The generic function read.oce
provides an
alternative to this. The object may be summarized and plotted using
generic functions (see examples).
## Not run: library(oce) x <- read.rbrtdr("011855_1a.dat") summary(x) plot(x) # timeseries ## End(Not run)