Researchers can now link weather events to emissions – and to the companies responsible. A string of lawsuits is about to give “attribution science” a real-life test.