Page 1 of 1

Cool & Heat Degree Days in dayfile.txt

Posted: Sun 01 Dec 2013 6:04 pm
by mcrossley
I'm not sure how this has happened, but I was running some SQL queries and noticed that I was getting some odd results. Upshot the SQL table has the heat and cool degree values swapped for 2010 and 2011. I checked the source dayfile and it is the same in there. Winter months have cooling values, and summer heating values. The NOAA reports that were generated by Cumulus are correct though.

I have no idea how this has happened? I must have swapped the columns when I edited once upon a time?

I guess I could rename one of the old NOAA reports and get Cumulus to regen it - I expect it will then be wrong though.

Re: Cool & Heat Degree Days in dayfile.txt

Posted: Sun 01 Dec 2013 6:49 pm
by steve
There was a bug in 'create missing' in the dayfile.txt editor which put the heating and cooling days the wrong way round - fixed in 1.9.4 build 1083. Could that have been the cause?

Re: Cool & Heat Degree Days in dayfile.txt

Posted: Sun 01 Dec 2013 6:56 pm
by mcrossley
That must be it Steve, I'll swap the values over manually in the dayfile, then fix the SQL table from that. It will have to be tomorrow now...

Re: Cool & Heat Degree Days in dayfile.txt

Posted: Sun 01 Dec 2013 7:03 pm
by mcrossley
Would I be right in thinking that these values were added to the dayfile in version 1.9.2 - October 5, 2011 (build 1017)?

That gives me an approximate date to look for the data problems to finish.

Re: Cool & Heat Degree Days in dayfile.txt

Posted: Sun 01 Dec 2013 7:10 pm
by steve
Heating and Cooling degree days were added to dayfile.txt in 1.9.2 build 1004, released July 21st 2011.