Learn R Programming

oce (version 0.1.63)

read.lobo: Read a lobo data file

Description

Read a data file created by a LOBO instrument.

Usage

read.lobo(file, cols=7)

Arguments

file
A connection or a character string giving the name of the file to load.
cols
Number of columns in dataset.

Value

  • A lobo object containing:
  • headerThe files' header.
  • processing.logThe processing log.
  • timeTimes of observations in the time series.
  • uTime series of u component of velocity.
  • vTime series of v component of velocity.
  • nitrateTime series of nitrate concentration.
  • fluorescenceTime series of fluorescence.
  • STime series of salinity.
  • TTime series of temperature.
  • pTime series of pressure.
  • dataThe files's data, as a simple list.

Details

This version of read.lobo is very crude.

References

http://www.satlantic.com/default.asp?mn=1.15.27.139 http://www.mbari.org/lobo/

See Also

summary.lobo plot.lobo

Examples

Run this code
library(oce)
uri <- paste("http://loboviz.satlantic.com/cgi-bin/nph-data.cgi?",
	"min_date=20070110&max_date=20091230",
 	"&x=date&",
 	"y=current_across1,current_along1,nitrate,fluorescence,salinity,temperature&",
 	"data_format=text",sep="")
l <- read.lobo(uri)
summary(l)

Run the code above in your browser using DataLab