| ck_growing_season | R Documentation |
Compute the growing season length following the ETCCDI definition: the number of days between the first occurrence of at least 6 consecutive days with daily mean temperature above 5 degrees C and the first span of 6 consecutive days with Tmean below 5 degrees C after July 1 (Northern Hemisphere) or January 1 (Southern Hemisphere). Calculated per year.
ck_growing_season(tavg, dates, lat = 50)
tavg |
Numeric vector of daily mean temperatures (degrees C). |
dates |
Date vector of the same length as |
lat |
Numeric. Latitude in decimal degrees (used to determine hemisphere for end-of-season rule). Default 50 (Northern Hemisphere). |
A data frame with columns period, value, index, and unit.
dates <- as.Date("2024-01-01") + 0:364
set.seed(42)
tavg <- sin(seq(0, 2 * pi, length.out = 365)) * 15 + 5
ck_growing_season(tavg, dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.