Fix issues with the climatology vs. timeseries allocation of the output arrays.