Problem with Adding Lake Cells

20 views
Skip to first unread message

Tawan Charoenpittaya

unread,
Jun 22, 2025, 11:10:11 PM6/22/25
to QSWAT+

I'm experiencing an issue when trying to add lake cells. After clicking to add them, it seems like Python doesn't finish executing properly. It shows the following warning:

2025-06-21T22:55:29 WARNING Traceback (most recent call last): File "C:\Users/Kairyuramon/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus\QSWATPlus\delineation.py", line 2970, in addLakeCells self._gv.topo.addGridReservoirsPondsAnsWetlands(gridLayer, streamsLayer, demLayer, self._gv) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'QSWATTopology' object has no attribute 'addGridReservoirsPondsAnsWetlands'. Did you mean: 'addGridReservoirsPondsAndWetlands'?

Even though the grid gets added successfully, the RES field in the watershed grid doesn't get updated in the database. As a result, when I close and reopen the program, I have to re-run "Create Watershed" again.

How can I fix this issue?

Reply all
Reply to author
Forward
0 new messages