Empirical_hourly_temperatures {chillR} | R Documentation |
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.
Empirical_hourly_temperatures(Tdaily, empi_coeffs)
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
|
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.
Eike Luedeling
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)