Learn R Programming

solaR2 (version 0.11)

B1_Meteo-class: Class "Meteo"

Description

A class for meteorological data.

Arguments

Objects from the Class

Objects can be created by the family of readBDd functions.

Slots

latm:

Latitude (degrees) of the meteorological station or source of the data.

data:

A data.table object with the time series of daily irradiation (G0, Wh/m²), the ambient temperature (Ta) or the maximum and minimum ambient temperature (TempMax and TempMin).

source:

A character with a short description of the source of the data.

type:

A character, prom, bd or bdI depending on the constructor.

Methods

getData

signature(object = "Meteo"): extracts the data slot as a data.table object.

getG0

signature(object = "Meteo"): extracts the irradiation as vector.

getLat

signature(object = "Meteo"): extracts the latitude value.

indexD

signature(object = "Meteo"): extracts the index of the data slot.

xyplot

signature(x = "formula", data = "Meteo"): plot the content of the object according to the formula argument.

xyplot

signature(x = "Meteo", data = "missing"): plot the data slot using the xyplot method for zoo objects.

Author

Oscar Perpiñán Lamigueiro, Francisco Delgado López.

See Also

readBDd, readBDi, zoo2Meteo, dt2Meteo, readG0dm,