How do scientists know how much climate change affects a hurricane, a heat wave, a drought, and more?

Many headlines these days are explicitly tying extreme weather events to climate change. The field of attribution science, dedicated to analyzing the effects of climate change on the weather, has made great strides in confidently making these linkages.