B1_Meteo-class {solaR} | R Documentation |
Class "Meteo"
Description
A class for meteorological data.
Objects from the Class
Objects can be created by the family of readBD
functions.
Slots
latData
:Latitude (degrees) of the meteorological station or source of the data.
data
:A
zoo
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
,bdI
ormapa
, depending on the constructor.
Methods
- getData
signature(object = "Meteo")
: extracts thedata
slot as azoo
object.- getG0
signature(object = "Meteo")
: extracts the irradiation time series as azoo
object.- 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.
See Also
readBD
,
readBDi
,
zoo2Meteo
,
df2Meteo
,
dfI2Meteo
,
readG0dm
,