Learn R Programming

oce (version 0.1.69)

ctd.write: Write a CTD data object as a .cnv file

Description

Write a CTD data object as a .cnv file.

Usage

ctd.write(object, file=stop("'file' must be specified"))

Arguments

object
A ctd object, e.g. as read by read.ctd.
file
Either a character string (the file name) or a connection. This is a mandatory argument.

Value

    Details

    Writes a file in a format as for reading by read.ctd.

    References

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

    See Also

    read.ctd.

    Examples

    Run this code
    library(oce)
    data(ctd)
    ctd.write(ctd, "ctd.cnv")

    Run the code above in your browser using DataLab