The issue
SOLWEIG main process started crashing upon "run". A few days ago, it was working fine, I do not think I changed anything since it worked. I don't understand the error since there is no mention of 'patches_in_band' in solweigworker.py nor in Solweig_2022a_calc.py (see below)
Error messages
When running from UMEP tab (not processing), I get this error :
2022-06-09T12:23:27 CRITICAL EXCEPTION IN
C:\Users/udesr4d/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SOLWEIG\solweigworker.py,
LINE 290 "dRad, Kside = so.Solweig_2022a_calc("
ERROR` MESSAGE: local variable 'patches_in_band' referenced before assignment
When running from UMEP processing, I get this error :
File"C:\Users/udesr4d/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\processor\solweig_algorithm.py", line 955, in processAlgorithm
dRad, Kside = so.Solweig_2022a_calc(
File"C:\Users/udesr4d/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\functions\SOLWEIGpython\Solweig_2022a_calc_forprocessing.py", line 344, in Solweig_2022a_calc
Lside, L_patches, CI_Tg, CI_TgG, KsideD, dRad, Kside
UnboundLocalError: local variable 'L_patches' referenced before assignment
To Reproduce
I tried with different combinations of parameters, see one of them below. I also tried with another qgis project with different data, but the issue is the same.It event stopped working with the Goteborg tutorial.
Hi!
The issue SOLWEIG main process started crashing upon "run". A few days ago, it was working fine, I do not think I changed anything since it worked. I don't understand the error since there is no mention of 'patches_in_band' in solweigworker.py nor in Solweig_2022a_calc.py (see below)
Error messages When running from UMEP tab (not processing), I get this error :
2022-06-09T12:23:27 CRITICAL EXCEPTION IN C:\Users/udesr4d/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SOLWEIG\solweigworker.py, LINE 290 "dRad, Kside = so.Solweig_2022a_calc(" ERROR` MESSAGE: local variable 'patches_in_band' referenced before assignment
When running from UMEP processing, I get this error : File"C:\Users/udesr4d/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\processor\solweig_algorithm.py", line 955, in processAlgorithm dRad, Kside = so.Solweig_2022a_calc( File"C:\Users/udesr4d/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\functions\SOLWEIGpython\Solweig_2022a_calc_forprocessing.py", line 344, in Solweig_2022a_calc Lside, L_patches, CI_Tg, CI_TgG, KsideD, dRad, Kside UnboundLocalError: local variable 'L_patches' referenced before assignment
To Reproduce I tried with different combinations of parameters, see one of them below. I also tried with another qgis project with different data, but the issue is the same.It event stopped working with the Goteborg tutorial.
Desktop
Thanks for your time and have a nice day!