I am having some issues using the bw2analyzer.traverse_tagged_databases
function based on the recommendations of this answer. I would like to apply the bw2analyzer.traverse_tagged_databases
function on tags. I have ensured that the activity I am assessing (my_act
in the following) has a tag and then some of the inputs exchanges have tags (but not all of them), and some inputs exchanges of the inputs exchanges have tags (not all of them). Here is what I do (omitting some definition lines):
import bw2analyzer as bw2analyzer
ipcc2013 = ('IPCC 2013', 'climate change', 'GWP 100a')
fu = {my_act:1}
lca_calc = bw.LCA(fu,ipcc2013)
lca_calc.lci()
lca_calc.lcia()
result, tree = bw2analyzer.traverse_tagged_databases(fu, ipcc2013, label='tag',default_tag='other')
When I do that, the kernel dies (exact message: Kernel died, restarting
. I am using Spyder v3.3.1, brightway2 v2.3, bw2analyzer v0.9.4) and then it runs indefinitely. Am I using the function correctly? What I am missing? Does that work for you? Thank you for your help!