Hi all, can anyone help me with this? I really don't know what to do anymore. I have repeatedly repaired the cover/soil, but it still appears like this:
ValueError: cannot convert float NaN to integer
Traceback (most recent call last):
File "C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWAT3_9\QSWAT\hrus.py", line 398, in readFiles
OK = self.CreateHRUs.generateBasins(self._dlg.progressBar, self._dlg.progressLabel, root)
File "C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWAT3_9\QSWAT\hrus.py", line 2379, in generateBasins
elevation = int(elevation * self._gv.verticalFactor)
ValueError: cannot convert float NaN to integer
Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS version: 3.30.3-'s-Hertogenbosch 's-Hertogenbosch, 2411cec1
Python Path:
- C:/PROGRA~1/QGIS33~1.3/apps/qgis/./python
- C:/Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python
- C:/Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
- C:/PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins
- C:\PROGRA~1\QGIS33~1.3\apps\grass\grass82\etc\python
- C:\Users\Lenovo\Documents
- C:\Program Files\QGIS 3.30.3\bin\python39.zip
- C:\PROGRA~1\QGIS33~1.3\apps\Python39\DLLs
- C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib
- C:\Program Files\QGIS 3.30.3\bin
- C:\PROGRA~1\QGIS33~1.3\apps\Python39
- C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages
- C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\win32
- C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\win32\lib
- C:\PROGRA~1\QGIS33~1.3\apps\Python39\lib\site-packages\Pythonwin
- C:/Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python
- C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWAT3_9\QSWAT
- C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_9\QSWATPlus
Please help me. I need it to complete my final project😭