A sample ptr file, created by
ptr <- read.oce("/data/archive/sleiwex/2008/moorings/m08/pt/rbr_011855/manufacturer/pt_rbr_011855.dat", by=600)
patm <- ptPatm(ptr)[4]
ptr$data$ts$pressure <- ptr$data$ts$pressure - patm
ptr <- historyAppend(ptr, "subtract atmospheric pressure")
ptr <- window(ptr, start=as.POSIXct("2008-06-26",tz="UTC"), end=as.POSIXct("2008-06-27",tz="UTC"))
save(ptr, file="ptr.rda")
(which uses a file not supplied with this package).
Note that the name of this object is an exception to the usual in the
oce package, in which the name of the example matches the object
type. This is because the name "pt" is already used for a
function relating to the "t" distribution.
Usage
data(ptr)
Arguments
source
The SLEIWEX experiment.
References
http://myweb.dal.ca/kelley/SLEIWEX/index.php
See Also
See read.pt for reading such files,
plot.pt for plotting them,
summary.pt for summarizing them,
ptPatm for determining the atmospheric pressure,
and
ptTrim for a crude method of removing in-air samples.