read.argo {oce} | R Documentation |
Read an Argo file, producing an object of type argo
.
read.argo(file, debug=getOption("oceDebug"), processingLog, ...)
file |
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. |
This reads netCDF formatted ARGO data, as described at [2]
An object of class
"argo"
.
Dan Kelley
2. http://archimer.ifremer.fr/doc/00187/29825/40575.pdf documents the codes used in the netCDF files.
The documentation for argo-class
explains the
structure of argo objects, and also outlines the other functions dealing
with them.
## Not run: library(oce) d <- read.argo("/data/OAR/6900388_prof.nc") summary(d) plot(d) ## End(Not run)