RSWAT crashes when changing behavioral threshold

73 views
Skip to first unread message

Collins Owusu

unread,
Jan 1, 2023, 3:35:42 PM1/1/23
to R-SWAT
Hello,

I have run calibration and sensitivity analysis of my SWAT model but RWAT crashes when I try to set the behavioral threshold. 

I have tried several times with my model but it keep crashing. RSWAT do not crash when I use the Example_SWAT data supplied with RSWAT.

Could it be a problem with my data? I will be happy if I can receive a fix for this problem.

Thank you.

Collins

Tam Nguyen

unread,
Jan 4, 2023, 4:15:24 AM1/4/23
to R-SWAT

could you zip your project (including TxtInOut, RSWATproject.rds, and observed data files) and share with me? I will check it

Collins Owusu

unread,
Jan 4, 2023, 6:22:20 PM1/4/23
to R-SWAT

I have shared the zip file with you using google drive.

Thank you.

Tam Nguyen

unread,
Jan 9, 2023, 2:45:54 AM1/9/23
to R-SWAT
Hi Collins

I checked the data that you shared with me. The problem is that there are missing values in your simulated results (e.g., with simulation Nr. 22), that why the program does not work. I rerun your simulations with the same parameter set that you use with the newest R-SWAT (commited on Jan 1, 2023 - link below), it worked well.


I guess your issue could be because the swat executable file that you are using (might be it does not work with simulation Nr. 22)

Cheers,
Tam

Collins Owusu

unread,
Jan 9, 2023, 11:31:18 AM1/9/23
to R-SWAT
Hello Tam,

Which version of the swat executable did you use to test my data?

Thank you,
Collins

Tam Nguyen

unread,
Jan 10, 2023, 3:13:54 AM1/10/23
to R-SWAT
Hi Collins, it is the latest version (the link was also included in my previous response - or just simply go to R-SWAT and download, by default you will also get the latest version)

Collins Owusu

unread,
Jan 10, 2023, 9:56:14 PM1/10/23
to R-SWAT
Hello Tam,

I tried the latest version of R-SWAT and still got the same error.

My previous question was on the version of SWAT executable, not R-SWAT. I am using rev. 685 64-bit release. I want to know which version of SWAT executable you used.

Thank you.

Reply all
Reply to author
Forward
0 new messages