A heatwave has been ongoing since mid-July with temperatures above 50C in some areas.