Learn R Programming

oce (version 0.9-19)

ctdUpdateHeader: Update a CTD Header

Description

Update the header of a ctd object, e.g. adjusting nvalues and the span of each column. This is done automatically by ctdTrim, for example.

Usage

ctdUpdateHeader(x, debug = FALSE)

Arguments

x
A ctd object, i.e. one inheriting from ctd-class.
debug
An integer specifying whether debugging information is to be printed during the processing. This is a general parameter that is used by many oce functions. Generally, setting debug=0 turns off the printing, while higher values suggest that more information be printed.

Value

A new ctd-class object.

References

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

See Also

Other things related to ctd data: [[,ctd-method, [[<-,ctd-method, as.ctd, cnvName2oceName, ctd-class, ctdAddColumn, ctdDecimate, ctdFindProfiles, ctdRaw, ctdTrim, ctd, gps-class, handleFlags,ctd-method, plot,ctd-method, plotProfile, plotScan, plotTS, read.ctd.itp, read.ctd.odf, read.ctd.sbe, read.ctd.woce.other, read.ctd.woce, read.ctd, subset,ctd-method, summary,ctd-method, woceNames2oceNames, write.ctd

Examples

Run this code
library(oce)
data(ctd) 
ctd[["pressure"]] <- ctd[["pressure"]] + 3
ctdNew <- ctdUpdateHeader(ctd)

Run the code above in your browser using DataLab