Learn R Programming

oce (version 0.8-3)

read.drifter: Read a drifter data file

Description

Read a drifter file, producing an object of type drifter.

Usage

read.drifter(file, debug=getOption("oceDebug"), processingLog, ...)

Arguments

file
a connection or a character string giving the name of the file to load.
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 "drifter".

Details

This reads netCDF formatted ARGO data.

References

http://www.argo.ucsd.edu/

See Also

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

Examples

Run this code
library(oce)
d <- read.drifter("/data/OAR/6900388_prof.nc")
summary(d)
plot(d)

Run the code above in your browser using DataLab