Empirical_hourly_temperatures {chillR} | R Documentation |
Empirical daily temperature prediction
Description
This function generates hourly temperatures from daily minimum and maximum
temperatures, based on an empirical relationship of these two daily
temperature extremes with the hourly temperature. Usually, this relationship
will have been determined with the
Empirical_daily_temperature_curve
function.
Usage
Empirical_hourly_temperatures(Tdaily, empi_coeffs)
Arguments
Tdaily |
data.frame containing daily minimum and maximum temperatures.
Must contain columns |
empi_coeffs |
data.frame containing coefficients for the hourly temperature
prediction, e.g. generated with the function
|
Value
data.frame containing all columns of the Tdaily
dataset, but also the
columns Hour
and Temp
, for the hour of the day and the predicted temperature,
respectively.
Author(s)
Eike Luedeling
Examples
coeffs<-Empirical_daily_temperature_curve(Winters_hours_gaps)
Winters_daily<-make_all_day_table(Winters_hours_gaps, input_timestep="hour")
Empirical_hourly_temperatures(Winters_daily,coeffs)