brightway-lca / brightway-lca/bw_processing

bw2regional - issue with bw2regional.raster_as_extension_table()

Open
#69 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8
Forks
6
PR merge metrics
No merged PRs in 30d

Description

**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](https://github.com/user-attachments/assets/05659bea-dd6a-4447-89e5-24187eaf2a20)

**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](https://github.com/user-attachments/assets/eb00afc2-e3a0-4626-9f12-bc756bbce391)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.