Patricia Espinosa will replace Christina Figueres as the executive secretary of the United Nations Framework Convention on Climate Change.