R/compute_EC.R
compute_EC_fixed_number_windows.Rd
Compute the environmental covariates based on the daily weather table of an environment (Year x Location), and over a fixed number of time windows, which is common across all environments. The length of day-windows in days in each environment is determined by dividing the total length of the growing season of this environment by the number of windows to use. Each EC is then computed over a fixed number of days within each environment, but the length of the windows can vary across environments.
compute_EC_fixed_number_windows( table_daily_W = x, base_temperature = 10, method_GDD_calculation = c("method_b"), nb_windows_intervals = 10, capped_max_temperature = F, max_temperature = 35, ... )
table_daily_W |
|
---|---|
base_temperature |
|
method_GDD_calculation |
|
nb_windows_intervals |
|
An object of class data.frame
with
10 x number_total_fixed_windows + 1 last column (IDenv):
mean_TMIN: number_total_fixed_windows columns, indicating the average minimal temperature over the respective day-window.
mean_TMAX: number_total_fixed_windows columns, indicating the average maximal temperature over the respective day-window.
mean_TMEAN: number_total_fixed_windows columns, indicating the average mean temperature over the respective day-window.
freq_TMAX_sup30: number_total_fixed_windows columns, indicating the frequency of days with maximum temperature over 30°C over the respective day-window.
freq_TMAX_sup35: number_total_fixed_windows columns, indicating the frequency of days with maximum temperature over 35°C over the respective day-window.
sum_GDD: number_total_fixed_windows columns, indicating the growing degree days over the respective day-window.
sum_PTT: number_total_fixed_windows columns, indicating the accumulated photothermal time over the respective day-window.
sum_P: number_total_fixed_windows columns, indicating the accumulated precipitation over the respective day-window.
sum_et0: number_total_fixed_windows columns, indicating the cumulative reference evapotranspiration over the respective day-window.
freq_P_sup10: number_total_fixed_windows columns, indicating the frequency of days with total precipitation superior to 10 mm over the respective day-window.
sum_solar_radiation: number_total_fixed_windows columns, indicating the accumulated incoming solar radiation over the respective day-window.
mean_vapr_deficit: number_total_fixed_windows columns, indicating the mean vapour pressure deficit over the respective day-window.
IDenv character
ID of the environment (Location_Year)
@author Cathy C. Westhues cathy.jubin@uni-goettingen.de @export