A geek's guide to extreme weather