dailyToHourly {meteor} | R Documentation |
Estimate hourly values from daily values
Description
Estimate hourly temperature from daily minimum and maximum temperature, or hourly relative humidity from average relative humidity and minimum and maximum temperature.
The functions require the day of the year and latitude to compute the photoperiod.
Usage
hourlyFromDailyTemp(tmin, tmax, doy, latitude)
hourlyFromDailyRelh(relh, tmin, tmax, doy, latitude)
Arguments
tmin |
numeric. minimum temperature (must be in C for hourlyFromDailyRelh) |
tmax |
numeric. maximum temperature (must be in C for hourlyFromDailyRelh) |
relh |
relative humidity (percent) |
doy |
integer. Day of the year (between 1 and 365) |
latitude |
numeric. Latitude |
Value
matrix
Examples
hourlyFromDailyTemp(c(20,22), c(28,34), c(150,151), 52)
hourlyFromDailyRelh(80, c(20,22), c(28,34), c(150,151), 52)
[Package meteor version 0.4-5 Index]