The goal of this project is to build sankey diagrams to represent all possible calculation scopes for greenhouse gases footprints. We use EXIOBASE3 to calculate the footprints and plotly.graph_objs.sankey to build the diagrams.
$ pip install -r requirements.txt
Running runme.py requires 50GB of disk space as it will download all exiobase data.
$ python runme.py
It will:
- download EXIOBASE data and save it in Data/EXIO3
- download Kbar data and save it in Data/Kbar, convert files to .feather
- run functions from exiobase_functions.py to calculate the footprints
- run functions from sankey_function.py to generate files that will be used as inputs for building the sankey diagrams
- run save_sankey() from fig_sankey.py to generation sankey figures and save them in Results/Sankey_figs
The application to visualize all the sankey diagrams is available in another repository: https://github.com/baptiste-an/Application-mapping-GHG
Andrieu, B., Le Boulzec, H., Delannoy, L., Verzier, F., Winter, G., Vidal, O., Mapping global greenhouse gases emissions: an interactive, open-access, web application. Available at: