UMEP-dev / UMEP

Urban Multi-scale Environmental Predictor
https://umep-docs.readthedocs.io/
61 stars 15 forks source link

error when using Outdoor Thermal Comfort: SOLWEIG v2022a #539

Closed arz54 closed 1 year ago

arz54 commented 1 year ago

I'm trying to use SOLWEIG v2022a like explain in the docs for TreePlanter with the dataset of the tutorial but when i run SOLWEIG i have an error

File "C:\Users/xxxxxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\processor\solweig_algorithm.py", line 1231, in processAlgorithm radG_for_plot = radG[DOY == unique_days[0]] UnboundLocalError: local variable 'unique_days' referenced before assignment

I'm using

nilswallenberg commented 1 year ago

Hi,

Can you please attach your data and I will have a look at it.

Cheers, Nils

nilswallenberg commented 1 year ago

Hi again,

Should be fixed now.

Cheers, Nils

arz54 commented 1 year ago

Hi sorry I've forgot to send you the data i test this soon ;)