Hi everyone,
Has anyone ever experienced this error during snapping outlets:
AssertionError
Traceback (most recent call last):
File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python/plugins\QSWATPlus3_12\QSWATPlus\delineation.py", line 1703, in runTauDEM2
self.runTauDEM(outletFile, True)
File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python/plugins\QSWATPlus3_12\QSWATPlus\delineation.py", line 1959, in runTauDEM
ok = self.createSnapOutletFile(outletLayer, streamLayer, chanLayer, outletFile, snapFile, root)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python/plugins\QSWATPlus3_12\QSWATPlus\delineation.py", line 4793, in createSnapOutletFile
point1 = QSWATTopology.snapPointToReach(reachLayer, point, snapThreshold, transform, self._gv.isBatch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python/plugins\QSWATPlus3_12\QSWATPlus\QSWATTopology.py", line 2356, in snapPointToReach
p1, p2 = QSWATTopology.intercepts(line, pointIndex, point)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python/plugins\QSWATPlus3_12\QSWATPlus\QSWATTopology.py", line 2569, in intercepts
upper = QSWATTopology.getIntercept(line[pointIndex], line[pointIndex+1], point)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python/plugins\QSWATPlus3_12\QSWATPlus\QSWATTopology.py", line 2591, in getIntercept
assert not (X == 0 and Y == 0)
^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
Python version: 3.12.3 (main, Apr 14 2024, 17:21:43) [MSC v.1938 64 bit (AMD64)]
QGIS version: 3.34.6-Prizren Prizren, 623828f5
Looking forward to your thoughts.
Cheers,
Nolan.