Empirical_hourly_temperatures: Empirical daily temperature prediction

Description Usage Arguments Value Author(s) Examples

View source: R/Empirical_temperature_curve.R

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

1
Empirical_hourly_temperatures(Tdaily, empi_coeffs)

Arguments

Tdaily

data.frame containing daily minimum and maximum temperatures. Must contain columns Year (year of observation), Month (month of observation), Day (day of observation), Tmin (Minimum daily temperature) and Tmax (Maximum daily temperature).

empi_coeffs

data.frame containing coefficients for the hourly temperature prediction, e.g. generated with the function Empirical_daily_temperature_curve. Needs to contain the following columns: Month (month for which coefficient applies), Hour (hour for which coefficient applies) and Prediction_coefficient (the coefficient used for empirical temperature prediction). Coefficients indicate, by what fraction of the daily temperature range the temperature during the specified hour is above the daily minimum temperature.

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

1
2
3
4

chillR documentation built on Jan. 11, 2022, 5:07 p.m.