-
I've created a pLCI database using ecoinvent and the ScenarioLink plugin / premise. Now there are many more activities that are not classified. Does anyone now a way to assign / change the ISIC classification of activities? AFAIK AB does not support this. I also tried using the DB Browser for SQLite (https://sqlitebrowser.org/about/) but that didn't even show ISIC classification. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, The short answer is: More context: We are working in the background on Activity Browser 3, which will use a completely different system to show activity data, making the old tree based on ISIC deprecated. Instead you will be able to dynamically create trees based on any data for the activities. But it will be a while before this version is ready for the public.
This is currently not possible in AB, but you can do it in Brightway, e.g.: import bw2data as bd
activity = bd.get_activity(activity_key)
# read classifications:
classifications = activity["classifications"]
# edit classifications:
activity["classifications"] = new_classification
activity.save()
That's correct. Brightway stores this kind of metadata in a binary file (the blob in the SQL db), so not all activity data can be accessed directly in SQL. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi,
The short answer is:
You can edit classifications in Brightway, The reason they are missing for Premise data is because Premise does not assign any classifications to new activities it creates.
More context:
We are looking at adding classifications to Premise, here is a PR that adds CPC classifications to all premise processes. I also have a private version of AB that shows the tree based on the CPC classifications instead of ISIC. The reason for the switch to CPC instead of ISIC is because ecoinvent has full coverage of CPC and not of ISIC.
We are working in the background on Activity Browser 3, which will use a completely different system to show activity data, making the old tree b…