Science is not done by consensus, it isn't a vote.
Historically, the claim of consensus has been the first refuge of scoundrels; it is a way to avoid debate by claiming that the matter is already settled. Whenever you hear the consensus of scientists agrees on something or other, reach for your wallet, because you're being had.
Michael Crichton

Regarding 'global boiling', the widely-publicized '97% consensus' study was done by Australian John Cook — a conclusion that to this day is routinely regurgitated by AGW Party members:
97 percent of peer-reviewed climate studies confirm that climate change is happening and that human activity is largely responsible.
John Kerry

But the analysis is patently wrong, and demonstrates a complete misunderstanding/misrepresentation of the data.

Climate researcher David Legates demolished Cook's study soon after its publications. Unfortunately though, Legates' revelatory findings - "0.3% consensus, not 97%" - was not so widely circulated.

Legates’ analysis of Cook’s “97%” claim.
Legates’ analysis of Cook’s “97%” claim.
You read that right — the much-vaunted '97% consensus' turns out to be a mere '0.3% consensus'.

Today, the claim that almost all published papers support AGW 'in some way' is indeed on its face correct, but only because the vast majority of skeptical papers are now refused at peer-review or publication.

The entire process has been completely subverted to support the UN's 'global boiling' position, which gives the entirely misleading impression that everyone agrees, when they most certainly do not.

Alarmists are quick to claim that 'the science is settled', that 'the debate is over', but little do they realize the scientific establishment is now setup in such a way to allow only certain theories and particular narratives to enter the public domain.

An honest pursuit of the truth has been traded for the interests of the powerful — AGW has fallen foul of this.

We find ourselves in a reality where facts and fibs are nigh-on impossible to distinguish between, which is by design. Even the critical thinking among us are having a hard time finding which way is up; and as for the trusting, those conditioned by the factory schooling system to accept the mainstream narrative as read, no matter how absurd, well, there is no hope for them.

One truth does remain, however, and forever will: The science, in any subject, is never settled, and so scientific debate should never be censored. My new favorite line doing the rounds: "Follow The Silence".