As the planet continues to warm, extreme weather events such as heatwaves and heavy rainfall are becoming more frequent, intense and longer, according to global weather data.