Calculate vernalisation time using cardinal temperatures

vernalisation_days(
  mint,
  maxt,
  x_temp = canola$get("phenology.vernalisation_time.x"),
  y_temp = canola$get("phenology.vernalisation_time.y")
)

Arguments

mint

The minimum temperature

maxt

The maximum temperature

x_temp

The cardinal temperatures used to calculate vernalisation time. The default values are defined in canola$get("phenology.vernalisation_time.x").

y_temp

The effective vernalisation time at the corresponding cardinal temperatures. The default values are defined in canola$get("phenology.vernalisation_time.y").

Value

The vernalisation time (days).

Details

The daily vernalisation time is calculated by interpolating the effective vernalisation time at three hour intervals between the daily minimum and maximum temperatures, and then averaging these values to get the daily vernalisation time.

For more information about the canola phenology model, see the APSIM Next Generation Canola Documentation.

Examples

mint <- c(0, 10)
maxt <- c(30, 40)
vernalisation_days(mint, maxt)
#> [1] 0.31119792 0.05186607