read.lisst {oce} | R Documentation |
Read a LISST data file, producing an object of type lisst
.
read.lisst(file, year=0, tz="UTC", longitude=NA, latitude=NA)
file |
a connection or a character string giving the name of the file to load. |
year |
year in which the measurement of the series was made. |
tz |
time zone. |
longitude |
longitude of observation (stored in metadata) |
latitude |
latitude of observation (stored in metadata) |
The file should contain 42 columns, with no header. If there are fewer
than 42 columns, an error results. If there are more, only the first 42 are
used. Note that read.oce
can recognize LISST files by their
having a name ending in ".asc"
and by having 42 elements on the first
line. Even so, it is preferred to use the present function, because it gives
the opportunity to specify the year and timezone, so that times can be
calculated properly.
An object of class
"lisst"
, which is a list
with slots as detailed below.
|
: a list containing columns named |
|
: a list containing the following items
|
|
: a log of processing, in the standard |
Dan Kelley
The documentation for lisst-class
explains the structure
of lisst
objects, and also outlines the other functions dealing with
them. In particular, read.lisst
uses as.lisst
to
create the LISST object that is returned.