brightway-lca / bw_processing

Tools to create structured arrays in a common format
https://docs.brightway.dev/projects/bw-processing/
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

bw2regional - issue with bw2regional.raster_as_extension_table() #69

Open nrogy opened 3 months ago

nrogy commented 3 months ago

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 commented 3 months ago

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.