maximeagez / pylcaio Goto Github PK
View Code? Open in Web Editor NEWA Python class to hybridize lifecycle assessment (LCA) and environmentally extended input-output (EEIO) databases.
License: GNU General Public License v2.0
A Python class to hybridize lifecycle assessment (LCA) and environmentally extended input-output (EEIO) databases.
License: GNU General Public License v2.0
Hi, Maxime Agez,
Thanks for sharing your excellent work about the Hybrid LCA database generated using Ecoinvent and EXIOBASE.
I want to construct the hybrid LCA ecoinvent 3.8_exiobase 3.8.1.
Due to specific additional features are not available for hybridization ecoinvent 3.8 with exiobase, i made the following settings.
path_to_capitals = ''
complete_extensions = False
impact_world = False
regionalized = False
lcaio_object = database_loader.combine_ecoinvent_exiobase(path_to_capitals=path_to_capitals, complete_extensions=complete_extensions, impact_world=impact_world, regionalized=regionalized)
However, when i tried to update hybrid-ecoinvent, I got the following error. “AttributeError: 'DataFrame' object has no attribute 'todense'.” Could you please tell me how can I deal with this problem? Thank you very much.
First, thank you for sharing this brillient work!
Is there a plan to update the package and support the new Ecoinvent 3.8 database? Thanks!
The following line is causing inconsistencies between the sector names from the concordance excel file (productTaypeName) and the filtered sector_of_IO list. this is because there are sector names that have brackets with numbers and brakcets without. The split function cuases the issue. E.g:
"Wood and products of wood and cork (except furniture); articles of straw and plaiting materials (20)"
becomes:
"Wood and products of wood and cork"
can be fixed by replacing the following line:
[i.split(' (')[0] if re.findall(r'\d', i) else i for i in self.sectors_of_IO]
with:
self.sectors_of_IO = [re.sub(r' (\d\d)', '', i) for i in self.sectors_of_IO]
Could you provide some info on what the xlsx file patching_exiobase represents? I see it is used for constructing the gamma matrix (where the STAM_table is elemently multiplied with the patching table), however, if I do this in Excel I get a different result from the gamma filter shown in supplementary table of the paper Agez et al. (2020).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.