Material and organization for the DdS 2024 Spring School
Important
🙋♀️
Ask ANY Brightway/Premise/Wurst or Python question ANONYMOUSLY here!
Answers will be posted to the Chat Room!
Restoring clean Brightway projects:
Wurst and Premise class:
bw2io.restore_project_directory('/etc/data/ecoinvent-3.9.1-cutoff-bw2.tar.gz', overwrite_existing=True)
bw2data.projects.set_current('Quebec')
Brightway class:
import bw2io as bi
import b2data as bd
PROJECT_NAME = "ecoinvent-3.10-cutoff BW25" # You can change this
bi.restore_project_directory(
fp='/etc/data/ecoinvent-3.10-cutoff-bw25.tar.gz',
project_name=PROJECT_NAME,
overwrite_existing=True
)
bd.projects.set_current(PROJECT_NAME)