The sentence that contains an analogy is:
"If you're living with an angry beast, you shouldn't poke it with a sharp stick," he said.
This sentence uses the analogy of the earth's climate being compared to an "angry beast" to illustrate the idea that provoking the climate can lead to unpredictable and potentially dangerous outcomes.