read.sealevel {oce}R Documentation

Read a sea-level data file

Description

Read a data file holding sea level data. BUG: the time vector assumes GMT, regardless of the GMT.offset value.

Usage

read.sealevel(file,debug=FALSE)

Arguments

file A connection or a character string giving the name of the file to load.
debug Set to TRUE to get debugging information during processing.

Details

See sealevel for details of the data format.

Value

A sealevel object containing

header The header line (helpful if detail extraction failed)
n Number of data values
hour Times [h]
time Time [POSIXct]
eta Sea level [m]

Author(s)

Dan Kelley Dan.Kelley@Dal.Ca

References

ftp://ilikai.soest.hawaii.edu/rqds/hourly.fmt.

See Also

summary.sealevel summarizes the information, while plot.sealevel plots it.

Examples

## Not run: 
library(oce)
h <- read.sealevel("ftp://ilikai.soest.hawaii.edu/rqds/pacific/monthly/m652a.dat")
summary(h)
plot(h)
## End(Not run)

[Package oce version 0.1.59 Index]