Create a rsk object.
as.rsk(
time,
columns,
filename = "",
instrumentType = "rbr",
serialNumber = "",
model = "",
sampleInterval = NA,
debug = getOption("oceDebug")
)
An rsk object.
a vector of times for the data.
a list or data frame containing the measurements at the indicated times; see “Details”.
optional name of file containing the data.
type of instrument.
serial number for instrument.
instrument model type, e.g. "RBRduo"
.
sampling interval. If given as NA
, then this is
estimated as the median difference in times.
a flag that can be set to TRUE
to turn on debugging.
Dan Kelley
The contents of columns
are be copied into the data
slot
of the returned object directly, so it is critical that the names and units
correspond to those expected by other code dealing with
rsk objects. If there is a conductivity, it must be called
conductivity
, and it must be in units of mS/cm. If there is a
temperature, it must be called temperature
, and it must be an in-situ
value recorded in ITS-90 units. And if there is a pressure, it must be
absolute pressure (sea pressure plus atmospheric pressure) and it must
be named pressure
. No checks are made within as.rsk
on any of
these rules, but if they are broken, you may expect problems with any further
processing.
Other things related to rsk data:
[[,rsk-method
,
[[<-,rsk-method
,
plot,rsk-method
,
read.rsk()
,
rsk-class
,
rskPatm()
,
rskToc()
,
rsk
,
subset,rsk-method
,
summary,rsk-method