Closed dvivas-eth closed 3 months ago
Hi @dvivas-eth,
Right now it's only possible to install ecoinvent 3.10 into a new project through the setup project wizard. You cannot download ecoinvent 3.10 into an existing project because the biosphere version will not match and there is no way to patch right now.
Kind regards,
Marin
Also, on further inspection I see that you're still running 2.9.7. You can't update like usual because your environment is using Python 3.9, which isn't supported bij Activity Browser 2.10. Please update using the following commands instead:
conda create -n ab -c conda-forge --solver libmamba activity-browser
And confirm when the updater asks you if you want to overwrite your environment.
This will overwrite the old environment, but your projects and other data will be untouched.
Kind regards,
Marin
Dear Marin, that is also for me very helpful, I managed to upgrade to Activity-browser 2.10 and import Eco-Invent 3.10. Now the question I have is: How can I now import into my new project (which uses EcoInvent 3.10) my former own database which I created in Activity-browser 2.9.7? I have database back-ups as brightway2 file AB 2.10 import of own database trouble shoot.docx and as xlsx-file. but when I try to import one of these files, AB runs idle. [Uploading AB 2.10 import of own database trouble shoot.docx…]()
Hi @LetinoisU
I don't see a direct error related to this in your file. Are you sure you are giving it enough time? Importing a database may take some time.
Kind regards,
Marin
confidential
Dear Marin,
It looks like some re-linking does not work. I manually solved one re-linking error, it was related to an “oxygen, liquid entry” by deleting in my old project the “oxygen-model” in one activity and putting again oxygen, liquid into the model. @.*** But after doing so, creating again a new back-up and trying to re-import it into my EI 3.10 project, I got another exchange-error:
@.***
Is there a general method to work with the re-linking issues?
Kind regards,
Ulla
From: Marin Visscher @.> Sent: Monday, July 1, 2024 15:47 To: LCA-ActivityBrowser/activity-browser @.> Cc: Ulla Letinois @.>; Mention @.> Subject: Re: [LCA-ActivityBrowser/activity-browser] Ecoinvent 3.10 import (Issue #1318)
CAUTION: This email originated from outside dsm-firmenich. DO NOT CLICK on links and DO NOT OPEN attachments unless you recognize the sender and know the content is safe. If you think it is suspicious, report this email using Report Suspicious Email button available (once the email is opened) in the Microsoft Outlook ribbon above.
Hi @LetinoisUhttps://github.com/LetinoisU
I don't see a direct error related to this in your file. Are you sure you are giving it enough time? Importing a database may take some time.
Kind regards,
Marin
— Reply to this email directly, view it on GitHubhttps://github.com/LCA-ActivityBrowser/activity-browser/issues/1318#issuecomment-2200205401, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFDKUDJFVF3RC5KK7R2TLMLZKFMT7AVCNFSM6AAAAABKB7LWDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGIYDKNBQGE. You are receiving this because you were mentioned.Message ID: @.**@.>>
DISCLAIMER: This email and any files transmitted with it, including replies and forwarded copies subsequently transmitted from dsm-firmenich, are confidential and for the intended recipient only. If you have received this email by mistake then please notify the sender immediately and then delete it from your system; access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited.
DISCLAIMER: This email and any files transmitted with it, including replies and forwarded copies subsequently transmitted from dsm-firmenich, are confidential and for the intended recipient only. If you have received this email by mistake then please notify the sender immediately and then delete it from your system; access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited.
Hi @LetinoisU,
Quick message to let you know that replying to a GitHub thread is public, even if you reply via e-mail: https://github.com/LCA-ActivityBrowser/activity-browser/issues/1318#issuecomment-2202124535
You can mail me at: m.r.visscher@cml.leidenuniv.nl if you want to share something non-publicly
Kind regards,
Marin
Hello, I am a beginner in Brightway and activity browser, I am trying to import the ecoinvent database into Activity Browser but have yet to succeed. I have made sure that my Activity Browseer is the newest version 2.10. From the posts I have gathered the problem of compatibility of Activity Browser with EcoInvent 3.10 is already solved?
I have the Ecoinvent 3.10 as .ecospold 2 and .xlsx file format stored in the network (so not local computer). I have tried different ways in importing the database, like downloading the files to my local computer in .7z or .zip format.
Can anyone please tell me how to proceed? Thank you in advance for your support.
Hi @KellyC-IBP ,
Do you get any errors in the terminal (the black screen with the text)? That would be very helpful for us to diagnose what's going wrong.
Kind regards,
Marin
This may well be related to #1321 by the way. Right now importing the .z7 directly is broken, but unpacking the file first and then importing should work as usual.
Hi Marin,
Thank you for your reply, this is very helpful. I’ll try and see if it works.
Best, Kelly
From: Marin Visscher @.> Sent: Tuesday, August 6, 2024 3:38 PM To: LCA-ActivityBrowser/activity-browser @.> Cc: Chang, Hsin-Yu @.>; Mention @.> Subject: Re: [LCA-ActivityBrowser/activity-browser] Ecoinvent 3.10 import (Issue #1318)
This may well be related to #1321https://github.com/LCA-ActivityBrowser/activity-browser/issues/1321 by the way. Right now importing the .z7 directly is broken, but unpacking the file first and then importing should work as usual.
— Reply to this email directly, view it on GitHubhttps://github.com/LCA-ActivityBrowser/activity-browser/issues/1318#issuecomment-2271318327, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKKNC72ETS6L7FHHMFD4EY3ZQDGTXAVCNFSM6AAAAABKB7LWDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRGMYTQMZSG4. You are receiving this because you were mentioned.Message ID: @.***>
Hi, Turns out my initial problem was that I chose the wrong file for ecoinvent (the larger '_lci_ecospold2' one)
I am encountering the same problem as above mentioned when I try to import EcoInvent 3.10 into my project.
When I create a new project, I always have to import biosphere 3 first ('set up your project with default data'), how can I get around this problem?
Thanks!
Okay, right, I should've seen this coming.
At this moment, you cannot install only the biosphere3 for ecoinvent 3.10 through the Activity Browser. In technical terms: it is not available in bw2io as a direct install, and can only be installed through the ecoinvent_interface library, which will download it directly for you from the ecoinvent servers.
This means the following for you: the only way to install the right version of biosphere3, with the right methods, that is compatible with ecoinvent 3.10 is through the project setup wizard. In there you can choose to setup your project with ecoinvent 3.10 after you've logged in with your ecoinvent credentials.
This setup is still quite slow, so hang in there. But it should setup your project with everything you need.
Kind regards,
Marin
Hi Marin,
thank you for your reply. Unfortunately I do not have ecoinvent login credentials, but I have .ecospold2 files in the server.
I also tried to import EcoInvent 3.10 to Brightway25, but there are many unlinked exchanges. The solutions to this also suggested using EcoInvent credentials. I am quite confused right now regarding the different options of Activity Browser, Brightway 2 and Brightway 25 and the individual issues they have with EcoInvent 3.10.
Can you help me on deciding which option to go for and how to proceed more smoothly? Just to be clear on my situation again:
Have:
Don't have:
Thank you so much for your support Best, Kelly
Hi @KellyC-IBP ,
The situation is indeed confusing right now, this is something we'll need to work on. Having the credentials would make the process a lot easier. Not having them means you're going to have to write your own Python code to do this.
First things first, you'll need to at least have: the EcoInvent 3.10 ecospold2 .7z that contains both the datasets and MasterData folders, and the LCIA Implementation file (excel), that contains the EcoInvent 3.10 methods.
Importing the biosphere and ecoinvent databases is doable, you can use the Ecospold2BiosphereImporter
and SingleOutputEcospold2Importer
that are part of bw2io. Point them to the right files/folders of your unpacked EcoInvent 3.10.
Now, the methods, that's another story. I checked out bw2io, and right now there doesn't seem to be a straightforward way to import the LCIA Implementation 3.10.xlsx
file. If I were you, I'd write my own function, taking inspiration from the EcoinventLCIAImporter
and the import_ecoinvent_release
function in bw2io.ecoinvent
.
I know this is quite a lot, which shows that we need to do better in this regard.
Hopefully this helps in some way!
Kind regards,
Marin
Updating AB
What happened?
Even after the last update, I am not able to download ecoinvent 3.10 (the latest I can download is ecoinvent 3.9.1), from the Database Import Wizard, when importing from ecoinvent online directly. I believe the issue is that it puts 3.10 as an older version than the rest (since it starts with 1 and not 9), and hence it does not appear in the scroll-out options.
I am quite bad with coding unfortunately so I do not understand what the latest update of Activity-Browser, 3 weeks ago, did in order to solve this issue.
I tried updating everything several times but it did not help unfortunately.
Relevant errors
No response
Operating system
Windows 10
Conda environment