mh {sirad} | R Documentation |
'mh()' calculates daily solar radiation based on daily temperature range using Mahmood-Hubbard model.
mh(days, lat, Tmax, Tmin)
days |
Vector of class 'Date' of length n. |
lat |
Latitude in decimal degrees. |
Tmax |
Vector of length n containing daily maximum temperature [C]. |
Tmin |
Vector of length n containing daily minumum temperature [C]. |
Mahmood and Hubbard proposed a method for estimating solar radiation from air temperature measurements without a need of calibraing empirical coefficients.
Vector of length n of daily solar radiation [MJm-2].
Jedrzej S. Bojanowski
Mahmood, R., and K.G. Hubbard. 2002. Effect of time of temperature observation and estimation of daily solar radiation for the Northern Great Plains, USA. Agron. J., 94:723-733.
'bc' and 'ha' to calculate solar radiation based on temperature range using different models.
require(zoo)
data(Metdata)
tmax <- Metdata$meteo$TEMP_MAX
tmin <- Metdata$meteo$TEMP_MIN
days <- Metdata$meteo$DAY
lat <- Metdata$LATITUDE
plot(zoo(mh(days=days, lat=lat, Tmax=tmax, Tmin=tmin),order.by=days))