Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import Ecoinvent 3.10 #1401

Open
1 task done
javid-isayev opened this issue Oct 23, 2024 · 1 comment
Open
1 task done

Can't import Ecoinvent 3.10 #1401

javid-isayev opened this issue Oct 23, 2024 · 1 comment
Labels
data imports Issues related to importing data feature Issues/PRs related to a new feature

Comments

@javid-isayev
Copy link

Updating AB

  • Yes, I have updated AB and still experience this issue

What happened?

I am trying to import Ecoinvent 3.10 locally to my AB, but the following error appears: "The import failed because the biosphere3 database of this project is incompatible with the version of ecoinvent that you're trying to install". I tried to update biosphere3, but the latest version is 3.9.1. Is there any way I can fix this error?

Relevant errors

The import failed because the biosphere3 database of this project is incompatible with the version of ecoinvent that you're trying to install

Operating system

MacOS

Conda environment

2024-10-23 16:13:31.108 python3.11[3845:30012] The class 'NSOpenPanel' overrides the method identifier.  This method is implemented by class 'NSWindow'
Extracted 20772 datasets in 70.67 seconds
Applying strategy: normalize_units
Applying strategy: update_ecoinvent_locations
Applying strategy: remove_zero_amount_coproducts
Applying strategy: remove_zero_amount_inputs_with_no_activity
Applying strategy: remove_unnamed_parameters
Applying strategy: es2_assign_only_product_with_amount_as_reference_product
Applying strategy: assign_single_product_as_activity
Applying strategy: create_composite_code
Applying strategy: drop_unspecified_subcategories
Applying strategy: fix_ecoinvent_flows_pre35
Applying strategy: drop_temporary_outdated_biosphere_flows
Applying strategy: link_biosphere_by_flow_uuid
Applying strategy: link_internal_technosphere_by_composite_code
Applying strategy: delete_exchanges_missing_activity
Applying strategy: delete_ghost_exchanges
Applying strategy: remove_uncertainty_from_negative_loss_exchanges
Applying strategy: fix_unreasonably_high_lognormal_uncertainties
Applying strategy: convert_activity_parameters_to_list
Applying strategy: add_cpc_classification_from_single_reference_product
Applying strategy: delete_none_synonyms
Applying strategy: update_social_flows_in_older_consequential
Applying strategy: set_lognormal_loc_value
Applied 22 strategies in 3.85 seconds
Writing activities to SQLite3 database:
16:15:14 | INFO | Database Ecoinvent deleted!
@javid-isayev javid-isayev added the bug Issues/PRs related to bugs label Oct 23, 2024
@mrvisscher
Copy link
Collaborator

mrvisscher commented Oct 23, 2024

Right now you can only install ecoinvent 3.10 through the project setup wizard, which will install the right ecoinvent, biosphere and impact categories for the release you choose.

We're working on a manual import, but for this to work you will need the LCIA implementation excel (LCIA Implementation 3.10.xlsx) from ecoinvent as well, as that contains the impact categories. If you're feeling brave, you can install the development version that supports manual importing using the following command:

conda create -n ab-dev -c mrvisscher -c conda-forge --solver libmamba activity-browser-dev

Afterwards activate the environment and run activity-browser

@mrvisscher mrvisscher added feature Issues/PRs related to a new feature data imports Issues related to importing data and removed bug Issues/PRs related to bugs labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data imports Issues related to importing data feature Issues/PRs related to a new feature
Projects
None yet
Development

No branches or pull requests

2 participants