ctd.update.header {oce}R Documentation

Update a CTD header

Description

Update the header of a CTD object

Usage

ctd.update.header(x, debug=FALSE)

Arguments

x A ctd object, e.g. as read by read.ctd.
debug Set to TRUE for debugging.

Details

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.

Value

A new ctd object.

Author(s)

Dan Kelley Dan.Kelley@Dal.Ca

References

The Seabird CTD instrument is described at http://www.seabird.com/products/spec_sheets/19plusdata.htm.

See Also

read.ctd reads a CTD object, and write.ctd writes one.

Examples

library(oce)
data(ctd) 
ctd$data$p <- ctd$data$p + 3 # adjust pressures
ctd.new <- ctd.update.header(ctd)

[Package oce version 0.1.59 Index]