Global Warming Trend Script

To test what is going wrong here, I added the month to date and year to date differentials to the dashboard as documented here. As you can see, the script is assuming that we have had no rain in the years prior to this year as the totals and the difference are the same.

Also, it states that we have had 3 rain days in March, when in fact we have had 9.

Anyone any idea what is wrong here?