B1_Meteo-class {solaR2} | R Documentation |
Class "Meteo"
Description
A class for meteorological data.
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
andTempMin
).source
:A character with a short description of the source of the data.
type
:A character,
prom
,bd
orbdI
depending on the constructor.
Methods
- getData
signature(object = "Meteo")
: extracts thedata
slot as adata.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 thedata
slot.- xyplot
signature(x = "formula", data = "Meteo")
: plot the content of the object according to theformula
argument.- xyplot
signature(x = "Meteo", data = "missing")
: plot thedata
slot using thexyplot
method forzoo
objects.
Author(s)
Oscar Perpiñán Lamigueiro, Francisco Delgado López.
See Also
readBDd
,
readBDi
,
zoo2Meteo
,
dt2Meteo
,
readG0dm
,