In the days leading up to Independence Day the average global temperature was 17.82 degrees Celsius which beat the previous record of 17.01 set the day before.