Dear all
When I was Creating HRUs I got this message:
"Failed to route channels and subbasins in table gis_routing in project database"
I clicked ok, and then, this kind of message arose:
"Internal error: routing sink category PT id 51 not found as a source"
and it was the same not just for that number, but for a lot of PT id
Anyway, I continued and tried to solve it by unpicking options of the inlet, reservoir, pond, and point source, but that option didn't work out, even though the interface was able to create HRUs, however, this Python message appeared:
"An error has occurred while executing Python code:
AssertionError: Watershed seems to have no area
Traceback (most recent call last):
File "C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\hrus.py", line 5106, in readFiles
self.CreateHRUs.printBasins(False, None)
File "C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64\hrus.py", line 2758, in printBasins
assert basinHa > 0, 'Watershed seems to have no area'
AssertionError: Watershed seems to have no area
Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.16.5-Hannover Hannover, 58ba7c1ed6
Python Path:
- C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python
- C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python
- C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
- C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python/plugins
- C:\PROGRA~1\QGIS3~1.16\apps\Python37
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\Scripts
- C:\Program Files\QGIS 3.16\bin\python37.zip
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\DLLs
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib
- C:\Program Files\QGIS 3.16\bin
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32\lib
- C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\Pythonwin
- C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python
- C:/Users/Usuario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_64
- C:/QSWATPlus_Projects/QSWAT_CALI/Demo7/Cali7"
Clearly, I obtain HRUs, as it is shown in the image below
But when I import files into SWAT+ Editor, I don't have any HRU.
Does anyone know how to solve this problem?
Thank you in advance!
Diana H.