Usage
as.sealevel(elevation, time, header = NULL, stationNumber = NA, stationVersion = NA, stationName = NULL, region = NULL, year = NA, longitude = NA, latitude = NA, GMTOffset = NA, decimationMethod = NA, referenceOffset = NA, referenceCode = NA, deltat)
Arguments
elevation
a list of sea-level heights in metres, in an hourly
sequence.
time
optional list of times, in POSIXct format. If missing, the list
will be constructed assuming hourly samples, starting at 0000-01-01
00:00:00.
header
a character string as read from first line of a standard data
file.
stationNumber
three-character string giving station number.
stationVersion
single character for version of station.
stationName
the name of station (at most 18 characters).
region
the name of the region or country of station (at most 19
characters).
year
the year of observation.
longitude
the longitude in decimal degrees, positive east of
Greenwich.
latitude
the latitude in decimal degrees, positive north of the
equator.
GMTOffset
offset from GMT, in hours.
decimationMethod
a coded value, with 1 meaning filtered, 2 meaning a
simple average of all samples, 3 meaning spot readings, and 4 meaning some
other method.
deltat
optional interval between samples, in hours (as for the
ts
timeseries function). If this is not provided, and t
can be understood as a time, then the difference between the first two times
is used. If this is not provided, and t
cannot be understood as a
time, then 1 hour is assumed.