Skip to content

rjbergerud/Super-Sankey-CAN-Energy-Flows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canadian Energy Flows Super Sankey

Inspired by the work of Otherlabs who created a detailed sankey diagram of US energy flows.

Setup

To setup your environment, either run

conda config --add channels conda-forge
conda config --set channel_priority strict
conda env create --file environment.yaml
conda activate supersankey
python -m ipykernel install --user --name=supersankey

Make sure to activate the environment whenever working on the project

conda activate supersankey

The required datasets can be downloaded by running the script from the root directory of the project

cd data
bash download_data.sh

Any required datasets should be added to this list.

Tools

For nice diff's of notebook's, you can change your git configuration with nbdime config-git --enable

qgrid allows easy interactive exploration of pandas dataframes

Guide & Troubleshooting

  • If packages are missing, try installing using conda (preferred over pip since some packages are jupyter extensions, and conda takes care of their setup). Try conda update --file environment.yml
  • Make sure to add newly required packages to environment.yml (conda doesn't add them automatically).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published