U.S. District Judge John D. Bates granted a restraining order temporarily reversing the Trump administration’s moves to remove scientific data.