Learn R Programming

oce (version 0.8-3)

met-class: Class to store meteorological data

Description

Class to store meteorological data, with standard slots metadata, data and processingLog.

Arguments

Methods

Accessing values. For an object named m, temperature may be accessed as m[["time"]], which yields a vector. Similarly pressure is m[["pressure"]]. The components of wind are stored in oceanographic convention, i.e. the eastward component is available as m[["u"]] and the northward component is m[["v"]]. m[["u"]], and wind direction is m[["direction"]]. The filename from which the data came (if any) may be found with m[["filename"]]. Assigning values. Everything that may be accessed may also be assigned, e.g. m[["temperature"]] <- 1 + m[["temperature"]] increases temperature by 1C.

Overview of contents. The show method (e.g. show(met)) displays information about the object.

See Also

A file containing CTD profile data may be read with read.met, and a CTD object can also be created with as.met. Statistical summaries are provided by summary.met, while show displays an overview. Plotting may be handled with plot.met.