znicholls / globalwarmingpotentials

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global Warming Potentials

PyPI npm

Global warming potentials of greenhouse gases.

IPCC reports:

  • Second assessment Report (SAR)
  • Fourth Assessment Report (AR4)
  • Fifth Assessment Report (AR5)

CSV file

CSV file: globalwarmingpotentials.csv

Python

pip install globalwarmingpotentials

Example usage:

import globalwarmingpotentials as gwp

print(gwp.data["AR5GWP100"]["CH4"])  # prints '28'

df = gwp.as_frame()  # Returns a Pandas DataFrame

Node

npm install globalwarmingpotentials

Releasing

Running

make tag

and pushing with

git push origin main --tags

will create new releases on PyPI and NPM.

Sources

https://www.ghgprotocol.org/sites/default/files/ghgp/Global-Warming-Potential-Values%20%28Feb%2016%202016%29_1.pdf

AR5CCFGWP100 are AR5 100 year GWPs with climate carbon cycle feedbacks: https://www.ipcc.ch/site/assets/uploads/2018/07/WGI_AR5.Chap_.8_SM.pdf, Table 8.SM.16 and https://www.ipcc.ch/site/assets/uploads/2018/02/WG1AR5_Chapter08_FINAL.pdf , Table 8.7 (page 714).

This project was based on the implementations in the OpenSCM project.

About


Languages

Language:Python 93.4%Language:JavaScript 5.7%Language:Makefile 0.5%Language:Shell 0.4%