Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brightway-lca/bw_ecoinvent_metadata
Base ecoinvent flows, methods, and characterization factors
https://github.com/brightway-lca/bw_ecoinvent_metadata
bw3 ecoinvent life-cycle-assessment python
Last synced: about 2 months ago
JSON representation
Base ecoinvent flows, methods, and characterization factors
- Host: GitHub
- URL: https://github.com/brightway-lca/bw_ecoinvent_metadata
- Owner: brightway-lca
- License: bsd-3-clause
- Created: 2019-10-07T07:06:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-24T11:48:34.000Z (over 1 year ago)
- Last Synced: 2024-01-26T07:05:34.213Z (11 months ago)
- Topics: bw3, ecoinvent, life-cycle-assessment, python
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Brightway ecoinvent metadata
This package provides metadata based on the `ecoinvent database `__ for life cycle assessment for use in the Brightway framework.
Uses ``bw_projects`` and ``bw_default_backend``.
## Installation
Install via ``pip`` or ``conda`` (``conda install -c cmutel bw_ecoinvent_metadata``).
## Usage
After first creating a new project:
from bw_ecoinvent_metadata import add_ecoinvent_metadata
add_ecoinvent_metadata()## Development
Check out the ``dev`` branch to see the source data files.
A complete source clone require `git large file storage `__.
To regenerate the metadata database, run the following in a new project:
from bw_ecoinvent_metadata import EcoinventMetadataImporter
import bw_default_backend as backend
from bw_projects import projects# Change as desired
temp_project = "__ecoinvent_metadata_temp__"
projects.create_project(temp_project)
version = "3.6" # Or whatever
ei = EcoinventMetadataImporter(version=version)
ei.apply_strategies()
backend.create(ei.data)