read.bioArgo: Read an MBARI BioArgo file

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/bioArgo.R

Description

Reads a "Bio-Argo" formatted file into an oce argo object.

Usage

1

Arguments

file

local filename or connection from which to read data. In the case where the argument url=TRUE, it can specify the float file without the .TXT extention.

url

logical indicating if the file should be obtained directly via download from the MBARI website. Will also check to see if there is a locally cached copy in the current working directory (see cache argument).

cache

ignored if url=FALSE. Logical indicating if the downloaded file should be cached locally.

Details

Reads the plain-text csv files obtained from http://www.mbari.org/science/upper-ocean-systems/chemical-sensor-group/floatviz/

Value

An oce argo object, containing the extra data columns corresponding to the biological data.

Author(s)

Clark Richards, Dan Kelley, Cara Wilson

See Also

read.argo, as.argo, and as.section from the oce package

Examples

1
2
3
4
5
d <- read.bioArgo(system.file("extdata", "5145HawaiiQc.txt", package="bioArgo"))
ds <- as.section(d)
par(mfrow=c(2, 1))
plot(d)
plot(ds, xtype='time', which='oxygen')

richardsc/mbari documentation built on May 27, 2019, 7:59 a.m.