T-reX.ExplodeDatabase
This module is responsible for exploding a Brightway2 database into a single-level list of all exchanges. It utilizes the wurst package to unpack the database, explode it to a list of all exchanges, and save this data in a DataFrame as a .pickle binary file.
Functions
|
Explode a Brightway2 database into a single-level list of all exchanges using wurst. |
Module Contents
- T-reX.ExplodeDatabase.ExplodeDatabase(db_name)[source]
Explode a Brightway2 database into a single-level list of all exchanges using wurst.
- Parameters:
db_name (str) – Name of the Brightway2 database to be exploded.
- Returns:
None The function saves the output to a file and logs the operation, but does not return any value.
- Return type:
None