as.met {oce} | R Documentation |
Coerces a dataset into a met dataset.
as.met(time, temperature, pressure, u, v, filename="(constructed from data)")
time |
Vector of obseration times (or character strings that can be coerced into times). |
temperature |
vector of temperatures. |
pressure |
vector of pressures. |
u |
vector of eastward wind speed in m/s. |
v |
vector of northward wind speed in m/s. |
filename |
optional string indicating data source |
This function is used by read.met
, and may be used to
construct objects that behave as though read by that function.
An object of class
"met"
(for details, see
met-class
).
Dan Kelley
The documentation for met-class
explains the structure
of met
objects, and also outlines the other functions dealing with
them.