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"]], and wind direction (in degrees
clockwise of North) as
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.