Closed cswh closed 10 months ago
With brightway-lca/brightway2-io@c71298d7f54dbe1255b90bc9aa50f5d6f3e094c4 it works without errors now for:
import bw2data as bd
import bw2io as bi
bd.projects.set_current("test-ei3.10")
bi.ecoinvent.import_ecoinvent_release('3.10', 'cutoff')
bd.projects.set_current("test-ei3.9.1")
bi.ecoinvent.import_ecoinvent_release('3.9.1', 'cutoff')
Both databases are displayed correctly on a first glance with the Acitivity Browser. MultiLCA runs as well.
@cmutel Thank you very much for the quick fix!
Fixed in 0.8.12 release
With c71298d it works without errors now for:
import bw2data as bd import bw2io as bi bd.projects.set_current("test-ei3.10") bi.ecoinvent.import_ecoinvent_release('3.10', 'cutoff') bd.projects.set_current("test-ei3.9.1") bi.ecoinvent.import_ecoinvent_release('3.9.1', 'cutoff')
Both databases are displayed correctly on a first glance with the Acitivity Browser. MultiLCA runs as well.
@cmutel Thank you very much for the quick fix!
Hey, just came across this thread and I tried your steps, but I was not able to get ecoinvent 3.10 working in activity browser. Could you provide some more details on how you got it working?
I am able to get ecoinvent 3.10 with brightway25, but that project remains empty in Activity Browser. If I go into /Application Support/Brightway3/ , I can copy and paste the brightway25 project folder into the activity browser folder (same name, but longer string at the end). Then, in activity browser, I am able to see the biosphere and database from 3.10, but I am unable to run any calculations. There seems to be a different type of sorting or package type in the "Processed" folder where the items are in .npy
format for Activity Browser and .zip
for Brightway25. Due to this, I get the following error when trying to run any calculation in activity browser:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/public/Library/Application Support/Brightway3/ecoinvent-3.10-cutoff.12ea39045af329bc9f6c2294848a0ac0/processed/ecoinvent-310-biosphere.04a9da528dddb92c3348d87a882594fd.npy'
Anything would help, thanks!
I tried the new easy ecoinvent biosphere flows/LCI/LCIA import of bw2io version 0.8.11 on a Windows machine and got the following error:
The environment consists of the following: