Global warming could increase the number of extreme weather events.