ries
% using |nbin| even time bins per year.  Each bin will hold 365/nbin days
% worth of data in non-leap years and 366/nbin days worth of data in leap
% years.
%
% |[xg, yr] = reshapetimeseries(t, x, 'bin', 'date')| 
% |[xg, yr] = reshapetimeseries(t, x, 'bin', 'month')| 
% These two special options for the 'bin' property allow for bins that
% align with calendar dates rather than evenly dividing each year.  The
% 'date' option (the default option when no 'bin' value is specified) bins
% data from Feb 28-