I have been trying to work in brightway to import ecoinvent that is in ecospold 2 format but have been facing a lot of issues.
If anyone knows what could be done please do update me
dirpath = 'ecoinvent'
ei310 = bw2.SingleOutputEcospold2Importer(dirpath, "ecoinvent 3.10")
ei310.apply_strategies()
ei310.statistics()
ei310.write_database()
I have been trying this code but always have
ValueError Traceback (most recent call last)
Cell In[106], line 1
----> 1 ei310 = bw2.SingleOutputEcospold2Importer(dirpath, "ecoinvent 3.6 conseq")
2 ei310.apply_strategies()
3 ei310.statistics()
File /opt/anaconda3/envs/brightway-env/lib/python3.9/site-packages/bw2io/importers/ecospold2.py:133, in SingleOutputEcospold2Importer.init(self, dirpath, db_name, biosphere_database_name, extractor, use_mp, signal, reparametrize_lognormals, add_product_information)
...
769 return self._value
770 else:
--> 771 raise self._value
ValueError:
This error