TauDEM pit remove problem

594 views
Skip to first unread message

Rafael Vargas

unread,
May 7, 2022, 5:37:45 PM5/7/22
to QSWAT
Hello, 

about the TauDEM pit remove problem, I installed QSWAT 3_9 again as I have QGIS 3.22.  

This problem has occurred occasionally, and is generally solved by
following the instructions below.
I tried step one but get the following, (I use spanish) :

C:\SWAT\SWATPlus\TauDEM5Bin\PitRemove : El término 'C:\SWAT\SWATPlus\TauDEM5Bin\PitRemove' no se reconoce como nombre
de un cmdlet, función, archivo de script o programa ejecutable. Compruebe si escribió correctamente el nombre o, si
incluyó una ruta de acceso, compruebe que dicha ruta es correcta e inténtelo de nuevo.
En línea: 1 Carácter: 1
+ C:\SWAT\SWATPlus\TauDEM5Bin\PitRemove
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\SWAT\SWATPlus\TauDEM5Bin\PitRemove:String) [], CommandNotFoundExcept
   ion
    + FullyQualifiedErrorId : CommandNotFoundException

The where command gives me nothing and the google drive link doess not work.

I would be grateful for your help.
Rafael Vargas

Chris George

unread,
May 8, 2022, 7:23:02 AM5/8/22
to Rafael Vargas, QSWAT
If you are using QSWAT, not QSWAT+, with QGIS 3.22 then the TauDEM
directory is C:\SWAT\SWATEditor\TauDEM539Bin.

If you are using QSWAT+ with QGIS 3.22 then the TauDEM directory is
C:\SWAT\SWATPlus\TauDEM539Bin.

Chris
> --
> You received this message because you are subscribed to the Google
> Groups "QSWAT" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to qswat+un...@googlegroups.com
> <mailto:qswat+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qswat/a607301e-0422-448e-ab81-4e067073153cn%40googlegroups.com
> <https://groups.google.com/d/msgid/qswat/a607301e-0422-448e-ab81-4e067073153cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

deko...@gmail.com

unread,
May 14, 2022, 9:32:23 AM5/14/22
to QSWAT

Dear Chris, 

On the TauDEM pit removal problem, I installed QSWAT 3_9 again as I have QGIS 3.22.  

I would be grateful if you could kindly help me with the exact steps to resolve this issue. 

------------------- TauDEM command: -------------------

C:\SWAT\SWATEditor\TauDEM539Bin\PitRemove -z C:\SWAT\Test\test\Source\dem30m.tif -fel C:\SWAT\Test\test\Source\dem30mfel.tif

*** Problem with TauDEM PitRemove: please examine output above. ***

I tried to resolved that with these steps below but it did not work for me:
a.  Unzip TauDEM5x86Bin.zip it into C:\SWAT\SWATEditor and it should create a directory
TauDEM5x86Bin.
b.  Rename the existing TauDEM5Bin directory to TauDEM5x64Bin 
c.  Rename TauDEM5x86Bin to TauDEM5Bin

Thank you.

Minerva Sánchez Llull

unread,
Jun 13, 2022, 3:28:11 PM6/13/22
to QSWAT
Hello!!
I also had the same problem, I have Windows 2010, Office 2016 and QGis 3.22.5 installed. Following the instructions in the manual, I installed qswat3_9install153 and I get this error, I tried it with previous versions of QGIS and QSwat and I got the same error message
The problem is in the msmpi file (C:\SWAT\SWATEditor\TauDEM539Bin\msmpi.dll), which when SWATEditor is installed has an incorrect extension (msmpi_dll),  what you have to do is replace the  underscore  by the point, and the problem is solved. If the error persists, I recommend uninstalling qswat and swateditor and then, as indicated in the qswat manual, first install SWATEditor (swateditor_install_201210_723) and then QSWAT, go to the msmpi_dll file and change the extension. For those who use previous versions of QSWAT the folder where msmpi.dll is located is in (C:\SWAT\SWATEditor\TauDEM5Bin)
Thanks to Professor José M Sánchez del Ensat, who found the solution, at least for me! I hope it helps you too.
Regards

Awel Seid

unread,
Sep 17, 2022, 12:07:49 PM9/17/22
to QSWAT

Hi dear  msanch.
In my case, both TauDEM5Bin and TauDEM539Bin folders contain .dll and _dll files.  I uninstalled and reinstalled QSWAT and SWATEditor. But no solution at all. My last attempt should be to download and try TauDEM5x86Bin.zip . I can not find the file is the link provided by Chris is broken. Can you share me if you have it? BZW I am using Windows 11.
Thanks

Armando Rivas

unread,
Jun 28, 2023, 9:32:40 PM6/28/23
to QSWAT
hola, pudiste resolver el problema, gracias por anticipado
Reply all
Reply to author
Forward
0 new messages