Open BenPortner opened 8 months ago
Successful workflow result here: https://github.com/brightway-lca/brightway2-parameters/actions/runs/7966380898/job/21747522619 (dunno why Github doesn't show it on the MR...)
@cmutel not pushing, just making sure you've noticed my answer.
This PR adds a couple of fixes, which are necessary to use the new PintInterpreter with ecoinvent databases. Ecoinvent uses some specific units (like EUR2005, Sm3, unit), which cannot be interpreter by pint out of the box. I added a
ecoinvent_units.txt
file to easily add these definitions to pint. I also wrote tests to make sure they are imported correctly.@cmutel I am not sure if the definition file should be in bw2parameters or rather in bw2data. What do you think?