Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brightway-lca/bw_exiobase
Painlessly import EXIOBASE into Brightway
https://github.com/brightway-lca/bw_exiobase
bw3
Last synced: about 2 months ago
JSON representation
Painlessly import EXIOBASE into Brightway
- Host: GitHub
- URL: https://github.com/brightway-lca/bw_exiobase
- Owner: brightway-lca
- License: bsd-3-clause
- Created: 2019-10-14T09:51:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-04T06:58:00.000Z (8 months ago)
- Last Synced: 2024-05-04T07:35:15.405Z (8 months ago)
- Topics: bw3
- Language: Python
- Size: 55.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bw_exiobase
Import the [EXIOBASE](https://exiobase.eu/) database into Brightway (version 3).
Currently only works with version 3.3.17, Hybrid Input-Output tables. See details on matching [EXIOBASE to Ecoinvent biosphere flows](https://github.com/brightway-lca/bw_migrations/blob/master/bw_migrations/data/exiobase-3-ecoinvent-3.6.json#L634) here.
Usage:
Download EXIOBASE ([version 3.3.17 HSUT 2011](https://exiobase.eu/index.php/data-download/exiobase3hyb)).
Install `bw_exiobase` using [conda](https://docs.conda.io/en/latest/miniconda.html):
conda install -c conda-forge -c cmutel -c cmutel/label/nightly -c haasad bw_exiobase
Then, run the following in a Python shell or Jupyter notebook:
import bw_default_backend as be
import bw_projects as p
import bw_ecoinvent_metadata
from bw_exiobase import import_exiobase, convert_exiobasep.projects.create_project("exiobase", add_base_data=True)
bw_ecoinvent_metadata.add_ecoinvent_metadata()
import_exiobase()