Arguments
lat
numeric, latitude (degrees) of the point of the Earth where calculations are needed. It is positive for locations above the Equator.
G0dm
numeric, a vector of length 12 with monthly mean values of daily global irradiation (Wh/m²) in the horizontal plane. It is needed only when modoRad='prom'
Ta
numeric, ambient temperature ($^{\circ}{\rm C}$). It may be a constant value or a set of 12 values (one for each month). It is not used when modoRad='mapa'
modoRad
character, describes the kind of source data of the global irradiation. It can be modoRad='prom'
for monthly mean calculations. With this option, a set of values for G0dm
must be provided. When modoRad='mapa'
the sou
MAPA
list
, with the components Provincia
, Estado
, FechaInicio
, FechaFinal
as required by LeeMAPA
. It is needed when modoRad='mapa'
BaseDatos
data.frame
with, at least, a numeric component named G
with information about daily global irradiation (Wh/m²) on the horizontal surface, and another character component named Fecha
with information about the dates w
FormatoFecha
character, date format of the component Fecha
of BaseDatos
. Its default value is %d/%m/%Y
Nm
Number of samples per hour. The maximum number allowed is Nm=60