We could slow climate change by dimming the sun. But should we? How astronomers scour the sky to spot asteroids headed for Earth Supercomputers, simulations, and the new science of extreme weather attribution