The heatwave was due to a mass of hot , dry air from the southeast , said Mario Almeida of Portugal 's weather service .