The US Secretary of State John Kerry says he will continue his efforts to implement the Paris Agreement on global warming, until the day President Barack Obama leaves office.

Speaking in New Zealand following a trip to Antarctica, Kerry said his administration would continue to do everything possible to meet its responsibility to future generations.

Kerry has long championed climate action but now his legacy is under threat.

President-elect Donald Trump has called climate change a hoax and said he would "cancel" US involvement in the landmark Paris deal.

Under the deal, which came into force this month, countries have agreed to limit global warming to 2C above pre-industrial levels. Achieving the goal will require a major shift away from fossil fuels.

Kerry said it would be up to the Trump administration to define itself on climate change. He said that sometimes there is a divide between what is said on the campaign trail and what is done in governance.

But Kerry appeared to take a swipe at Trump when he listed some of the ways in which global warming could already be seen. He said that globally, there were more fires, floods and damaging storms, and sea levels were rising.

Paris climate talks in pictures Show all 12 1 /12 Paris climate talks in pictures Paris climate talks in pictures A man is covered with a multi-coloured banner with the message, "Climate" as environmentalists attend a demonstration near the Eiffel Tower in Paris, France, during the World Climate Change Conference 2015 (COP21) that meets in Le Bourget, December 12, 2015 Reuters Paris climate talks in pictures French President Francois Hollande (C) and French Foreign Minister Laurent Fabius (R) applaud after a statement at the COP21 Climate Conference in Le Bourget, north of Paris, on December 12, 2015. The years-long quest for a universal pact to avert catastrophic climate change neared the finish line today with conference host France announcing that the final draft had been completed in the early hours of the morning. Getty Paris climate talks in pictures US Secretary of State John Kerry (C) speaks with China's Special Representative on Climate Change Xie Zhenhua (R) and officials at the COP21 Climate Conference in Le Bourget, north of Paris, on December 12, 2015. The years-long quest for a universal pact to avert catastrophic climate change neared the finish line today with conference host France announcing that the final draft had been completed in the early hours of the morning. Getty Paris climate talks in pictures Delegates and members of NGO's read and work on copies of 'The adoption of the Paris agreement' is pictured after the announcement of the final draft by French Foreign Affairs minister Laurent Fabius at the COP21 Climate Conference in Le Bourget, north of Paris, on December 12, 2015. The years-long quest for a universal pact to avert catastrophic climate change neared the finish line with conference host France announcing that the final draft had been completed in the early hours of the morning Getty Paris climate talks in pictures UN climate chief Christiana Figueres (C) speaks with French President Francois Hollande (L), United Nations Secretary General Ban Ki-moon (2ndL) and French Foreign Minister Laurent Fabius (R) after a statement at the COP21 Climate Conference in Le Bourget, north of Paris, on December 12, 2015. The years-long quest for a universal pact to avert catastrophic climate change neared the finish line today with conference host France announcing that the final draft had been completed in the early hours of the morning Getty Paris climate talks in pictures A Swiss Dominican priest poses with activists dressed as polar bears as activists gather for a demonstration to form a giant red line at the Avenue de la Grande armee boulevard in Paris on December 12, 2015, as a proposed 195-nation accord to curb emissions of the heat-trapping gases that threaten to wreak havoc on Earth's climate system is to be presented at the United Nations conference on climate change COP21 in Le Bourget, on the outskirts of Paris. Getty Paris climate talks in pictures Activists hold up a giant banner reading 'Climate justice' by association 'ourpowercampaign' during a demonstration near the Arc de Triomphe at the Avenue de la Grande armee boulevard in Paris on December 12, 2015, as a proposed 195-nation accord to curb emissions of the heat-trapping gases that threaten to wreak havoc on Earth's climate system is to be presented at the United Nations conference on climate change COP21 in Le Bourget, on the outskirts of Paris. Getty Paris climate talks in pictures Representatives of indigenous peoples demonstrate in Paris, France, as the World Climate Change Conference 2015 (COP21) continues at Le Bourget, December 12, 2015. Reuters Paris climate talks in pictures Environmentalists demonstrate near the Arc de Triomphe in Paris, France, as the World Climate Change Conference 2015 (COP21) continues at Le Bourget, December 12, 2015. Reuters Paris climate talks in pictures Environmentalists demonstrate near the Arc de Triomphe in Paris, France, as the World Climate Change Conference 2015 (COP21) continues at Le Bourget, December 12, 2015. Reuters Paris climate talks in pictures Activists form a giant red line during a demonstration on the Avenue de la Grande armee boulevard in Paris on December 12, 2015, as a proposed 195-nation accord to curb emissions of the heat-trapping gases that threaten to wreak havoc on Earth's climate system is to be presented at the United Nations conference on climate change COP21 in Le Bourget, on the outskirts of Paris ALAIN JOCARD/AFP/Getty Images Paris climate talks in pictures The slogan "No Plan B" is projected on the Eiffel Tower as part of the World Climate Change Conference 2015 (COP21) in Paris, France, December 11, 2015. Reuters

"The evidence is mounting in ways that people in public life should not dare to avoid accepting as a mandate for action," Kerry said.

He also made a point of crediting a previous Republican president, George H W Bush, with first joining the global effort to address climate change in Rio de Janeiro in 1992.

"Now the world's scientific community has concluded that climate change is happening beyond any doubt. And the evidence is there for everybody to see," Kerry said. "So we will wait to see how the next administration addresses this."

He said he thinks his administration is on the right track because the majority of Americans believe climate change is happening and want action.

John Kerry: The US election is "downright embarrassing"

Kerry plans to fly this week to a global climate conference in Morocco, where he will give a major speech. Officials there have begun working on a "rulebook" to implement the Paris deal.