LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
134 stars 50 forks source link

Improvements to Biosphere use #1142

Closed marc-vdm closed 6 months ago

marc-vdm commented 7 months ago

Feature request

Current situation:

Managing biosphere versions in AB projects is currently not ideal. Creating a new project installs the most recent version of the biosphere, potentially losing compatibility with older versions. (e.g. #1137).

Biosphere import when project is started

image image

https://github.com/LCA-ActivityBrowser/activity-browser/blob/fe69950ac930a9cdaed5271ff39be2849cbdc516/activity_browser/ui/widgets/dialog.py#L529-L532

Biosphere importer in Brightway

Updating Biosphere

image https://github.com/LCA-ActivityBrowser/activity-browser/blob/fe69950ac930a9cdaed5271ff39be2849cbdc516/activity_browser/ui/widgets/biosphere_update.py#L44 https://github.com/LCA-ActivityBrowser/activity-browser/blob/fe69950ac930a9cdaed5271ff39be2849cbdc516/activity_browser/ui/widgets/biosphere_update.py#L52-L55

Proposal

What I propose is the following (explained more extensively in sections below):

Downloading a specific version of biosphere

Should provide popup that allows user to choose ecoinvent-compatible version, sorted from highest to lowest Should provide information that biosphere databases are not always backwards compatible (e.g. ei 3.8 does not work on biosphere for ei 3.9) and that versions cannot be downgraded

TODO

Updating to specific version

Should provide popup that allows user to choose ecoinvent-compatible version, sorted from highest to lowest Should provide information that biosphere databases are not always backwards compatible (e.g. ei 3.8 does not work on biosphere for ei 3.9) and that versions cannot be downgraded

TODO

Show limited list of available ecoinvent versions for importing

Should limit the list of ecoinvent versions shown available for import

TODO

Host file online

Host a file on our github with a list per AB version about what ecoinvent versions are compatible

TODO

github-actions[bot] commented 6 months ago

This issue has been implemented in the new release of Activity Browser 🚀 (version 2.9.3), you can get the new version by updating Activity Browser.

🤖beep boop! I'm a bot and this message was an automated action. If updating does not make sense for this issue, just ignore this.