SWAT-MODFLOW Error

17 views
Skip to first unread message

Aashi Agarwal

unread,
Jul 17, 2025, 7:26:32 AMJul 17
to ArcSWAT
Can anyone help on this SWAT-MODFLOW Python error?
While checking the YES box for irrigation(pumping from MODFLOW), it shows this error.


2025-07-16T15:53:35     WARNING    
Traceback (most recent call last):
              File "C:\Users/lab/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\QSWATMOD2.py", line 905, in irr_mf
              config_sets.create_conv_runoff(self)
              File "C:\Users/lab/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\pyfolder\config_sets.py", line 99, in create_conv_runoff
              wel_max = int(data[0][0])
             UnboundLocalError: local variable 'data' referenced before assignment


Reply all
Reply to author
Forward
0 new messages