bw2io.strategies.lcia
#
Module Contents#
Functions#
|
Add |
|
Drop CFs which don't have |
Ecoinvent 3.8 LCIA implmentation uses some flow names from 3.7. |
|
|
Given a characterization with a top-level category, e.g. |
|
|
|
Set CF types to 'biosphere', to keep compatibility with LCI strategies. |
- bw2io.strategies.lcia.add_activity_hash_code(data)[source]#
Add
code
field to characterization factors usingactivity_hash
, ifcode
not already present.
- bw2io.strategies.lcia.fix_ecoinvent_38_lcia_implementation(data)[source]#
Ecoinvent 3.8 LCIA implmentation uses some flow names from 3.7.
Update these when possible, delete when not.
- bw2io.strategies.lcia.match_subcategories(data, biosphere_db_name, remove=True)[source]#
Given a characterization with a top-level category, e.g.
('air',)
, find all biosphere flows with the same top-level categories, and add CFs for these flows as well. Doesnât replace CFs for existing flows with multi-level categories. Ifremove
, also delete the top-level CF, but only if it is unlinked.