The president made progress on climate in the U.S., but his administration had limited reach across the world.