This problem has occurred occasionally, and is generally solved by
following the instructions below.
The first thing to do is to download QSWAT+ again and reinstall it, in
case something is corrupted. If that does not help, please do the
following.
1. Open a command shell in your project's DEM folder. Issue the
command
C:\SWAT\SWATPlus\TauDEM5Bin\PitRemove
and you should see the following:
Error: To run this program, use either the Simple Usage option or
the Usage with Specific file names option
Simple Usage:
C:\SWAT\SWATPlus\TauDEM5Bin\PitRemove <basefilename>
Usage with specific file names:
C:\SWAT\SWATPlus\TauDEM5Bin\PitRemove -z <demfile>
-fel <newfile> [-sfdr <flowfile>]
<basefilename> is the name of the raw digital elevation model.
<demfile> is the name of the input elevation grid file.
<newfile> is the output elevation grid with pits filled.
<flowfile> is the input grid of flow directions to be imposed.
The following are appended to the file names
before the files are opened:
fel output elevation grid with pits filled.
This shows things are OK - the error is intentional (not giving any
parameters). If you get a different response there is a problem.
2. If step 1 looks OK, try the command
C:\SWAT\SWATPlus\TauDEM5Bin\PitRemove <yourDEM>.tif
and you should see something like:
PitRemove version 5.1.2
This run may take on the order of 1 minutes to complete.
This estimate is very approximate.
Run time is highly uncertain as it depends on the complexity of the
input data
and speed and memory of the computer. This estimate is based on our
testing on
a dual quad core Dell Xeon E5405 2.0GHz PC with 16GB RAM.
Processes: 1
Header read time: 0.009183
Data read time: 0.013412
Compute time: 0.011404
Write time: 0.056650
Total time: 0.090648
If you get a different response there is still a problem.
3. The TauDEM executables supplied with QSWAT+ include a file msmpi.dll
that also comes with Microsoft MPI, so that TauDEM can run if MPI is not
installed. There can be problems if the msmpi.dll that comes with QSWAT
is a different version from MPI if it is installed. Try the command
where msmpi.dll
and if it comes back with, for example,
C:\Windows\System32\msmpi.dll
then you have an msmpi.dll on your path and don't need the local one.
Rename msmpi.dll in C:\SWAT\SWATPlus\TauDEM5Bin to, say, msmpi_dll and
try steps 1 and 2 again. If the where command says the dll can't be
found then this is not the problem, and the local msmpi.dll is needed.
4. If you have a 64-bit machine then QSWAT will have installed 64-bit
versions of the TauDEM executables. It is also possible to use 32-bit
versions on a 64-bit machine: they just run a little more slowly. To do
this, download
https://drive.google.com/file/d/1fseC3JHYVZVfpKfDtipJvgnWscITi2qt/view?usp=sharing
and then
a. Unzip it into C:\SWAT\SWATPlus and it should create a directory
TauDEM5x86Bin.
b. Rename the existing TauDEM5Bin directory to TauDEM5x64Bin
c. Rename TauDEM5x86Bin to TauDEM5Bin
d. Try QSWAT+ again.
If all of this fails you need to contact me with the details.
Chris
> --
> You received this message because you are subscribed to the Google
> Groups "SWAT-user" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swatuser+u...@googlegroups.com
> <mailto:
swatuser+u...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/swatuser/696a0f4f-3e77-41ae-b6d1-f27601c1f2fbn%40googlegroups.com
> <
https://groups.google.com/d/msgid/swatuser/696a0f4f-3e77-41ae-b6d1-f27601c1f2fbn%40googlegroups.com?utm_medium=email&utm_source=footer>.