Ladybug_CDD_HDD

Hello community,

I found something realy strange between, the legacy version 0.0.69 and the last release 1.2.0

The Dry_Bulb_temperature does not return the same values between the two versions.
The first index of the 1.2.0 is found at the end at the 0.0.69

So, there is a bug with the addition of °C / °F calculation

Also, the formula between is “UK met office” for the 0.0.69 and the 1.2.0

daily_heatingDegDays =

if minT > heatingSetPoint:
daily_heatingDegDays.append(0)

elif (maxT + minT)/2 > heatingSetPoint:
daily_heatingDegDays.append((heatingSetPoint-minT)/4)

elif maxT >= heatingSetPoint:
daily_heatingDegDays.append((heatingSetPoint-minT)/2-(maxT-heatingSetPoint)/4)

elif maxT < heatingSetPoint:
daily_heatingDegDays.append(heatingSetPoint-(maxT+minT)/2)

But, we got something different with LB Defree Days (HDD_CDD) component in the 1.2.0