I know scientists who are climate change skeptics. However, what gets published ("the consensus") isn't the same as "what scientists think".
This isn't only true in science, it's true in virtually all parts of human societies. It's hard to go against the grain and you're naive if you think doing so doesn't blight careers.