| ctd.update.header {oce} | R Documentation |
Update the header of a ctd object
ctd.update.header(x, debug=FALSE)
x |
A ctd object, e.g. as read by read.ctd. |
debug |
Set to TRUE for debugging. |
Update the header of a ctd object, e.g. adjusting
nvalues and the span of each column. This is done
automatically by ctd.trim, for example.
A new ctd object.
Dan Kelley
The Seabird CTD instrument is described at http://www.seabird.com/products/spec_sheets/19plusdata.htm.
read.ctd reads a ctd object, and write.ctd writes one.
library(oce) data(ctd) ctd$data$p <- ctd$data$p + 3 # adjust pressures ctd.new <- ctd.update.header(ctd)