adding query to get average temp over 15 min irradiance intervals