Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error of cannot open the input file

139 views
Skip to first unread message

liuxiao...@gmail.com

unread,
Nov 20, 2023, 11:35:28 AM11/20/23
to SWAT-CUP
Hi All,

I am working on calibrating my model with SPE. I followed the steps as shown in the instruction video, but I constantly got this error attached in the email. I will really appreciated that if anyone could point out the problem for me.

error.PNG

Best regards,
Xiaowei

Observed_channel_sdmorph_day.PNG
echo_SPE_execute.txt
ECHO_LH_sample.txt
Print.PNG
Observed.PNG
par_inf.PNG
file.cio
SPE_swEdit.PNG
SPE_extract_channel_sdmorph_day.PNG
echo_extract_channal_sdmorph_day.txt
ECHO_make_par.txt

liuxiao...@gmail.com

unread,
Nov 23, 2023, 1:24:06 PM11/23/23
to SWAT-CUP
Could anyone give me a hint on how could I solve this please?

liuxiao...@gmail.com 在 2023年11月20日 星期一下午5:35:28 [UTC+1] 的信中寫道:

Ahsan Ullah Khan

unread,
Nov 23, 2023, 10:33:16 PM11/23/23
to swat...@googlegroups.com
Hello , what variable are you trying to callibrate ? 

--
You received this message because you are subscribed to the Google Groups "SWAT-CUP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swat-cup/d505adcb-852d-4d43-adcd-be1ef2492106n%40googlegroups.com.

Ahsan Ullah Khan

unread,
Nov 23, 2023, 10:40:47 PM11/23/23
to swat...@googlegroups.com
The issues are in ur input, if u are doing discharge/streamflows callibration, the column number would be 7, u wrote column 10. Also if ur basin is no 12 , then use 12 instead of 3 , in that extraction input file. I am not much familiar with SPE , but these are the mistakes I noticed on quick glance.

liuxiao...@gmail.com

unread,
Nov 24, 2023, 3:41:09 AM11/24/23
to SWAT-CUP
Hi Ahsan,

Really appreciated your reply.

I am using SWAT+ CUP and calibrating the flow discharge of channel 3 of subcatchment 12. I have changed these mistakes that you pointed out but still have the same problem in my first email.

Judging from my error report, I noticed that it said "forrtl : severe (157) : Program Exception - access violation", could this mean the program is not functioning properly on my computer? Many thanks again.

Best regards,
Xiaowei

Ahsan Ullah Khan 在 2023年11月24日 星期五凌晨4:40:47 [UTC+1] 的信中寫道:

Ahsan Ullah Khan

unread,
Nov 24, 2023, 4:21:00 AM11/24/23
to swat...@googlegroups.com
So I just checked swat+ , and the column no for discharge is indeed 10 , do correct that back again haha, sorry about that. Also do check ur variable name , it should also be d_FLOW_OUT_12.
Also for discharge u only need that channel and channel sd as *y* across all column , cuz that's the output u would need only , make rest all as "n".
And one more thing regarding the error! Did u copy swap.exe program in ur swat-cup project folder ? If haven't, do that and try again. If this all doesn't work out , try changing directory of ur swat cup folder.
Hope this fix 🍀


Ahsan Ullah Khan

unread,
Nov 24, 2023, 4:22:26 AM11/24/23
to swat...@googlegroups.com
Channel and channel sd in that print.prt file

liuxiao...@gmail.com

unread,
Nov 29, 2023, 10:20:14 AM11/29/23
to SWAT-CUP
Hi Ahsan,

Thank you so much for your helps and your time! I really appreciated them.

I tried these all again but it still not worked.

I am thinking that maybe it is because our lab installed the program under the admin account in the computer. Even though the program is installed for all users, it still not functioned well. I will try to test the program with our IT to see if there could be a solution.

Best regards,
Xiaowei

Ahsan Ullah Khan 在 2023年11月24日 星期五上午10:22:26 [UTC+1] 的信中寫道:

Daff Gul

unread,
Dec 5, 2024, 11:04:40 PM12/5/24
to SWAT-CUP
hello, 

how did you solve this issue, please share, Im facing the same issue. 

Thank you.
Reply all
Reply to author
Forward
0 new messages