Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bw2regional - issue with bw2regional.raster_as_extension_table() #69

Open
nrogy opened this issue Jul 22, 2024 · 1 comment
Open

bw2regional - issue with bw2regional.raster_as_extension_table() #69

nrogy opened this issue Jul 22, 2024 · 1 comment

Comments

@nrogy
Copy link

nrogy commented Jul 22, 2024

Which operating system and Python version are you using?
Windows and Python 3.12.4

Which version of this project are you using?
BW2Regional version (0, 7, 'DEV2')

What did you do?
I am working with the following notebook : https://github.com/brightway-lca/from-the-ground-up/blob/main/regionalization/7%20-%20XT%20combinations.ipynb
I tried to use the method bw2regional.raster_as_extension_table() with the argument engine='rasterstats' and have an error message.
image

What did you expect to see?
I expected to create a new extension table based on a raster. There is no problems when i'm running the remote engine.

What did you see instead?
I have an error on line 77 of gis_tasks.py
image

@nrogy
Copy link
Author

nrogy commented Jul 23, 2024

I figured out that the latest version of rasterstats (0.19.0) is not compatible with bw2regional.
You should also add the "fs" package in bw2regional requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant