Learn R Programming

oce (version 0.9-19)

read.observatory: Read observatory data file

Description

This is a preliminary version of a function that may be extended or deleted in a future version of Oce. Part of the uncertainty is that the format was inferred from inspection of files, and this is a dangerous procedure, path because the data archiver might alter formats in future.

Usage

read.observatory(file, type = c("ctd"), debug = getOption("oceDebug"), processingLog, ...)

Arguments

file
a connection or a character string giving the name of the file to load.
type
type of data; must be "ctd", the only type handled at present.
debug
a flag that turns on debugging. Set to 1 to get a moderate amount of debugging information, or to 2 to get more.
processingLog
if provided, the action item to be stored in the log. (Typically only provided for internal calls; the default that it provides is better for normal calls by a user.)
...
additional arguments, passed to called routines.

Value

An object of class "ctd".

References

http://venus.uvic.ca/data/data-archive/

See Also

The documentation for ctd-class explains the structure of ctd objects, and also outlines the other functions dealing with them.