Create a rsk object.
as.rsk( time, columns, filename = "", instrumentType = "rbr", serialNumber = "", model = "", sampleInterval = NA, debug = getOption("oceDebug") )
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.
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.
An rsk object.
The contents of
columns are be copied into the
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
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