Bug on delayed first output date?
This is probably only affecting rather unusual scenarios, but in the current implementation cases in which the first output date is at year+2 (or more) with respect to the first available input date do not seem to be managed. Say my first input date is 20171201 and my first output date is 20190115, what is actually computed is the output starting from 20180115.
This is probably because the provided solution in "doy_multi_year" only handles transitions from one year to the next:
if(tmp_doy < d_prev-365*year_count) ++year_count; tmp_doy += 365*year_count;
Am I correct?
Thanks,
R