Note that the data files in this repository are only compatible with openLCA 2. See the version tags for older versions of these files.
This repository contains reference data (units, flow properties, flows etc.) and Life Cycle Impact Assessment (LCIA) methods for openLCA and the databases on openLCA Nexus. The database templates in openLCA are directly created from the main branch of this repository. Contributions like bug reports or pull requests are very welcome.
- docs: contains the documentation of the CSV format for reference data and mapping files
- refdata: contains files with reference data, LCIA methods, and mapping files
- scripts: contains utilities for packaging and validation
We may provide prepared packages as releases. The current LCIA method package
is available on openLCA Nexus. The data in the refdata
folder can be
directly imported into openLCA via the integrated Python editor:
# 1. create an empty database and activate it
# 2. checkout or download the data repository
# 3. let the path below point to the `refdata` folder
refdata_path = '/full/path/top/data/refdata'
from java.util.function import Consumer
class MessageLog(Consumer):
def __init__(self, fn):
self.accept = fn
imp = RefDataImport(File(refdata_path), db)
imp.log().listen(MessageLog(lambda m: m.log())) # log import messages
imp.run() # this can take a bit
You can also export the reference data of a database via the integrated Python editor in openLCA:
refdata_path = '/full/path/top/data/refdata'
RefDataExport(File(refdata_path), db).run()
This work
is licensed under a Creative Commons
Attribution-ShareAlike 4.0 International License.