Add the calculation of the end day for the multiyear climatology to be within the loop through all the years so that leap years are accounted for properly. Also correct the number of days by which to pad the leap year data.
Add the calculation of the end day for the multiyear climatology to be within the loop through all the years so that leap years are accounted for properly. Also correct the number of days by which to pad the leap year data.

pwcazenave/fvcom-toolbox,pwcazenave/fvcom-toolbox