read.sealevel(file, tz=getOption("oceTz"),
processingLog, debug=getOption("oceDebug"))
oceTz
, is set to UTC
at setup. (If a time zone is present in the file header, this will
supercede the value given here.)TRUE
to get debugging information during processing.class
"sealevel"
, which
is a list
containingdata
metadata
processingLog
oce
format.Station_Name
on the first line
of the file, indicating type 2.) If the file is in neither of these
formats, the user might wish to scan it directly, and then to use
as.sealevel
to create a sealevel
object.http://ilikai.soest.hawaii.edu/uhslc/datai.html
provides a graphical
interface for downloading sealevel data in Type 1, with format as described
at http://ilikai.soest.hawaii.edu/rqds/hourly.fmt
(this link
worked for years but failed at least temporarily on December 4, 2016). The MEDS
repository (sealevel-class
explains the
structure of sealevel objects, and also outlines the other functions dealing
with them.library(oce)
# this yields the sealevel dataset
sl <- read.oce("h275a96.dat")
summary(sl)
plot(sl)
m <- tidem(sl)
plot(m)
Run the code above in your browser using DataLab