series, e.g. at the beginning or end if the timeseries doesn't
% start and end on the same calendar day.  However, this can also occur if
% you choose a binning interval on a finer scale than your original data.
% For example, in this dataset, the early data is sampled every 2 days.  If
% we try binning this on a daily basis, we end up with sparse data,
% staggered every other year:

isearly = t < datetime(1988,1,1);
[ice, yr, tmid] = reshapetimeseries(t(isearly), extent_N(isearly));

tlbl = doy(tmid, 'deci