param_temperature | R Documentation |
Calculation Of Heat According To The Growing Degree Day Model. From maximum (tmax) and minimum (tmin) temperature values, and according to the cardinal values of base temperature (Tbase) computes the daily thermal sum in ° C / day
param_temperature(
env.data,
Tmax = NULL,
Tmin = NULL,
Tbase1 = 9,
Tbase2 = 45,
Topt1 = 26,
Topt2 = 32,
merge = FALSE
)
env.data |
data.frame. A |
Tmax |
character. Indicates the column of maximum air temperature (Celsius). |
Tmin |
character. Indicates the column of minimum air temperature (Celsius). |
Tbase1 |
numeric. Minimum cardinal value for temperature base for phenological development (Celsius). |
Tbase2 |
numeric. Maximum cardinal value for temperature base for phenological development (Celsius). |
Topt1 |
numeric. Lower temperature bound for phenological development (Celsius). |
Topt2 |
numeric. Upper temperature bound for phenological development (Celsius). |
merge |
boolean. If |
This function requires a dataframe with all parameters listed above. If any is missing, an error will be returned. The calculated variables are:
GDD: Growing Degree Day (oC/day)
FRUE: Effect of temperature on radiation use efficiency (from 0 to 1)
T2M_RANGE: Daily Temperature Range (oC day)
A dataframe with parameters related to atmospheric temperature. See details for further information.
Germano Costa Neto
## Not run:
### Fetching weather information from NASA-POWER
env.data = get_weather(lat = -13.05, lon = -56.05, country = 'BRA')
### Calculating solar radiation
param_temperature(env.data)
## or simply:
require(tidyverse)
env.data = get_weather(lat = -13.05, lon = -56.05, country = 'BRA') %>%
param_temperature(merge=T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.