Class to store meteorological data, with standard slots
processingLog. For objects created with
data slot will contain all the columns
within the original file (with some guesses as to units) in addition to
several calculated quantities such as
v, which are
velocities in m/s (not the km/h stored in typical data files), and which
obey the oceanographic convention that
u>0 is a wind towards the
Accessing values. For an object named
m, temperature (in degC)
may be accessed as
m[["temperature"]], dew point (in degC) as
m[["dewPoint"]], pressure (in kPa) as
eastward wind component (in m/s) as
m[["u"]], northward wind
component (in m/s) as
m[["v"]]. Caution: the other elements
stored in the dataset are mainly in the format of the source file, and thus
their use requires some extra knowledge; for example,
m[["direction"]] yields the wind direction, measured in 10-degree
units positive clockwise from North. The filename from which the data came
(if any) may be found with
m[["filename"]]. Items in
must be specifield by full name, but those in
data may be
abbreviated, so long as the abbreviation is unique.
Assigning values. Everything that may be accessed may also be assigned, e.g.
m[["temperature"]] <- 1 + m[["temperature"]]
increases temperature by 1C.
Other classes provided by
Other things related to
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.