QSWATMOD2 2.9.1 released

100 views
Skip to first unread message

Seonggyu Park

unread,
Mar 27, 2025, 10:18:52 AMMar 27
to SWAT-MODFLOW
An updated version of QSWATMOD has been released. 

Release notes:
  • Converted the `updateFeature` method in a loop to native functions `joinAttributesTable` and `fieldCalculator` for the linking process, achieving significantly improved performance.
Picture1.png
  • fixed the raster import errors for aquifer properties 
  • automated the MODFLOW grid (id, row, col) correction process

Jürgen Gotthard (Jürgen G.)

unread,
Mar 29, 2025, 8:11:36 AMMar 29
to SWAT-MODFLOW
Dear Seonggyu,

thank you very much for providing the new version of the plugin.
Loading raster files for Hydraulic Conductivity, Specific Yield and Initial Head seems to work smoothly now.

However, there is a new problem with loading the raster for Bottom Elevation: When trying to select the raster file for Bottom Elevation (“...”) a dialog “Choose evt Rasterfile” opens. So my raster for Bottom Elevation, appears to be "mistaken" for Evapotranspiration (evt not needed by me in this specific case).

So far, I tried to rename the imported file evt.tif  (in the org_shps folder) to bot_elev.tif, but I am always ending up with the following error when I try to write the MODFLOW model:
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users/Jürgen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\dialogs\createMFmodel_dialog.py", line 1190, in writeMF
    writeMF.writeMFmodel(self)
  File "C:\Users/Jürgen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\pyfolder\writeMF.py", line 725, in writeMFmodel
    bot_elev = QgsProject.instance().mapLayersByName("bot_elev (MODFLOW)")[0]



Please help!

Best,
Jürgen

Screenshot 2025-03-29 125818.png
Screenshot 2025-03-29 130316.png

Seonggyu Park

unread,
Mar 30, 2025, 1:02:50 AMMar 30
to SWAT-MODFLOW
Dear Jürgen,

Thank you for reporting this issue. I have identified the problem and will fix it soon. The updated version 2.9.2 will be released shortly.
Also, for faster notifications and tracking, I recommend reporting issues through the QSWATMOD repo at https://github.com/spark-brc/QSWATMOD2-plugin/issues. This helps streamline debugging and ensures a quicker response.

Best,
Seonggyu

Jürgen Gotthard (Jürgen G.)

unread,
Mar 30, 2025, 5:33:00 AMMar 30
to SWAT-MODFLOW

Dear Seonggyu,

thank you for your prompt reply and the prospect of an updated version being available soon.
I will report possible future issues directly on Github. 

Best,
Jürgen
Reply all
Reply to author
Forward
0 new messages