season_filter
rcpp_season_filter(d, rm_closed = TRUE, rtrough_max = 0.7, r_min = 0.02)check_season_dt(dt)
check_season_list(lst_dt)
Data.frame of growing season dividing info
ytrough <= rtrough_max*A
, A is the amplitude of y.
Threshold is defined as the difference of peak value with trough value. There are two threshold (left and right). The minimum threshold should be greater than r_min.
data.table of growing season division info
list of dt
. Every year is corresponding to a dt
.