Trying to show a gradient of temperature in Grasshopper

My code shows the daylighting on the ground surface based on a .epw file. However right now it is only showing the daylight based on obstructions from buildings (breps). I want to extract the temperature data from this but not sure how to go about this.

Hi @Energizer100

Have a look at this example file.