Scientists were threatened with firings after the National Weather Service projections for Hurricane Dorian contradicted President Trump’s tweets.