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[["pressure"]] <- ptr[["pressure"]] - patm
processingLog(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
The documentation for pt-class explains the structure of
PT objects, and also outlines the other functions dealing with them.