Calibration error using SWAT-CUP SUFI2 calibrate evapotranspiration at sub scale

171 views
Skip to first unread message

Gengxi Zhang

unread,
May 29, 2020, 9:44:45 PM5/29/20
to SWAT-CUP
Hi everyone!
I am calibrating evapotranspiration at sub-scale using the SWAT-CUP SUFI2 method. But I encountered an error "Cannot open input file SUFI2.OUT/ET_1.txt". Does anyone know the problem? Attached are the SWAT-CUP input files and the error snapshot is as follows. I really appreciate your help. 

error.png

File.cio.txt
Observed.txt.txt
Observed_sub.txt.txt
Par_inf.txt.txt
SUFI2_extract_sub.def.txt
SUFI2_swEdit.def.txt
Var_file_name.txt.txt
Var_file_sub.txt.txt
error.png

aida gholami

unread,
Jun 2, 2020, 7:56:54 AM6/2/20
to SWAT-CUP
could you solve it?

Gengxi Zhang

unread,
Jun 2, 2020, 2:19:03 PM6/2/20
to swat...@googlegroups.com
Yes. I have solved this problem.

aida gholami <aidaghol...@gmail.com> 于 2020年6月2日周二 05:56写道:
--
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/7ed9dca5-8947-4d8a-8fc1-12c2ff060c52%40googlegroups.com.

Saumya Srivastava

unread,
Nov 5, 2020, 1:16:56 PM11/5/20
to SWAT-CUP
Hey Gengxi,

How did you solve this issue? I am facing the same problem. Please suggest a way out.

Thanks in anticipation,
Saumya

2w2e

unread,
Nov 5, 2020, 4:23:44 PM11/5/20
to SWAT-CUP
It is always best to specify your problem and always upload these files. Your problem could be different from others.


- screenshot of error
- par_inf.txt
- extract_rch.def  
- observed_rch.txt  
- observed.txt
- file.cio
- var_file_rch.txt  
- SUFI2_swEdit.def

Saumya Srivastava

unread,
Nov 5, 2020, 11:06:51 PM11/5/20
to swat...@googlegroups.com
Dear Dr. Karim,

These are the attached files. I am calibrating evapotranspiration at the sub-basin scale on a daily basis. I tried several runs and I am attaching files related to a trial run with 10 simulations. Even when I did 500 simulations, the error was the same. For some iterations, the simulations in Sufi2_Run.bat stop after a couple of iterations. 

Regards,
Saumya

par_inf.txt
Error Screenshot.JPG
observed_sub.txt
observed.txt
var_file_sub.txt
SUFI2_extract_sub.def
SUFI2_swEdit.def
File.Cio

2w2e

unread,
Nov 6, 2020, 3:27:38 PM11/6/20
to SWAT-CUP
I didn't see a problem with these files. In the SUFI2_extract.bat, is the 
  
SUFI2_extract_sub.exe 

file remarked or active? Also see the Echo file for a clue to the problem
To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+unsubscribe@googlegroups.com.

Saumya Srivastava

unread,
Nov 6, 2020, 3:52:33 PM11/6/20
to swat...@googlegroups.com
Thanks a lot for your reply Dr. Karim. I am unable to attach the batch file here due to security reasons, so I am attaching an image of text file of SUFI2_extract.bat.I am also attaching all the files in the Echo folder.

Thank you once again for looking into this issue.

--
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.
echo_95ppu.txt
echo_LH_sample.txt
echo_goal_fn.txt
echo_95ppu_beh.txt
echo_extract_rch.txt
Echo_make_par.txt
echo_new_pars.txt
SUFI2_extract.bat.JPG

Saumya Srivastava

unread,
Nov 6, 2020, 3:58:06 PM11/6/20
to swat...@googlegroups.com
I had not checked the  SUFI2_extract_sub.exe in  SUFI2_extract.bat. I have run a simulation again Sir, hope it works! Thanks a lot..

Saumya Srivastava

unread,
Nov 6, 2020, 4:06:12 PM11/6/20
to swat...@googlegroups.com
I could solve this issue with the solution provided by Dr. Karim.

2w2e

unread,
Nov 7, 2020, 3:04:56 PM11/7/20
to SWAT-CUP
well you can see in the batch file.... you are not extracting from output.sub file, you are only extracting form .rch file.
In the extract_sub.def file you specify output.sub, so you should run SUFI2_extract_sub in the extract.bat file 
REM means remark, means it will not execute.


output.sub     : swat output file name
1              : number of variables to get
8             : variable column number(s) in the swat output file (as many as the above number)



To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+unsubscribe@googlegroups.com.

--
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+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages