ERROR simulation number 2 in variable file 1 is missing or has a problem

154 views
Skip to first unread message

Quentin

unread,
Mar 12, 2018, 2:57:52 PM3/12/18
to SWAT-CUP
Dear all,

I've just started running SWAT CUP and I am having some issues. (See attached file for the error message)

I can not also open calibration outputs (See attached file for the error message)

Can someone help me with that? Any suggestion will be appreciated

Quentin
SWAT_CUP_error.JPG
Capture2.JPG
Capture3.JPG

Elizabeth Odusanya

unread,
Mar 13, 2018, 8:28:11 AM3/13/18
to SWAT-CUP
Hello Quentin,
this type of error happens when there is a missing date  in the observed data. But mistakenly you entered a wrong data point in SWATcup
e.g

1 FLOW_OUT_1_1989 8.99
2 FLOW_OUT_2_1989 6.03
3 FLOW_OUT_3_1989 5.58
4 FLOW_OUT_4_1989 5.59
5 FLOW_OUT_6_1989 27.92
6 FLOW_OUT_7_1989 202.01
7 FLOW_OUT_8_1989 707.80
8 FLOW_OUT_9_1989 950.62
9 FLOW_OUT_11_1989 144.04
10 FLOW_OUT_12_1989 20.55


in this example 5th month and 10th month is missing.
So the correct number of data point is 10  not 12.
May be that is where the problem is. Not sure. i just cited this example because most of the time , this type of error is associated with the aforementioned mistake

Goodluck
Elizabeth

Quentin

unread,
Mar 13, 2018, 12:34:31 PM3/13/18
to SWAT-CUP
Dear Elizabeth,

I tried to correct that, I was a mistake, I have to delete this part. But after all, I am still getting the error (see attached files)

Any help on that?

----------------------
Echo of goal_fn_SUFI2.cpp
-----------------------------------------
Maximum Array dimensions:
Max number of simulations=      2,000
Max number of parameters=       1000
Max number of observed data=    30,000
Max number of obs. variables=   1500
-----------------------------------------

number of parameters=   4
number of simulation=   5

1  1:R__CN2.mgt                         -0.200000       0.200000
2  2:V__ALPHA_BF.gw                      0.000000       1.000000
3  3:V__GW_DELAY.gw                     30.000000     450.000000
4  4:V__GWQMN.gw                         0.000000       2.000000

---------------------------------------------

----- Reading observed file ------
total number of variables=  1
type of goal fn=  5
behavioral threshold=  0.500000
Power of MSN=  1.000000

variable name= FLOW_OUT_21
variable weight= 1.000000
dynamic flow separation= -1
constant flow threshold= -1.000000
weight below= 1.000000
weight above= 1.000000
percent error= 10.000000
number of observations= 1461


-----------------end of observation----------------------------

Number of simulated data files= 1
Names of files containing simulated variables
1- SUFI2.OUT/FLOW_OUT_21.txt


----
sim No.= 1
 -0.0800   0.7000 240.0000   1.0000 


*******************************************************************************************************************************************

--- echo of SUFI2_95ppu.CPP
--------------------------------------
Max size of arrays:
Max number of simulations=    2,000
Max number of observed data=  30,000
Max number of obs. variables= 30
Max number of parameters=     500
-------------------------------------

number of parameters=   4
number of simulation=   5
-------------------- Reading observed.txt --------------
total number of variables=  1
obj fn type=  5
behavioral threshold=  0.500000
Power of MSN=  1.000000
FLOW_OUT_21.txt  

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo of SUFI2_95ppu_beh.exe
--------------------------------------
Max size of arrays:
Max number of simulations=     2,000
Max number of observed data=   30,000
Max number of obs. variables=  30
Max number of parameters=      500
-------------------------------------

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

----- Echo of extract_rch_SUFI2.cpp
----------------------------
---- Reading SUFI2_extract_rch.def --------------
swat file name=   output.rch
number of variables= 1
column number of variables=  7  
total reaches in the project= 21
number of reaches for variable 1=  1
reach numbers for variable 1 =  21  

total number of rchs to get=  1
beg_sim_year=  2015
end_sim_year=  2017
time_step=  1
--------------------------------------

---- Names of files of simulated variables:
file name 1= SUFI2.OUT/FLOW_OUT_21.txt

------- Reading observation file observed_rch.txt -----
---- total number of variables=  1
****   Time_Array   ***********

variable no. = 1 
   113   114   115   116   117   118   119   120   121   122   123   124   125   126   127   128   129   130   131   132   133
   134   135   136   137   138   139   140   141   142   143   144   145   146   147   148   149   150   151   152   153   154
   155   156   157   158   159   160   161   162   163   164   165   166   167   168   169   170   171   172   173   174   175
   176   177   178   179   180   181   182   183   184   185   186   187   188   189   190   191   192   193   194   195   196
   197   198   199   200   201   202   203   204   205   206   207   208   209   210   211   212   213   214   215   216   217
   218   219   220   221   222   223   224   225   226   227   228   229   230   231   232   233   234   235   236   237   238
   239   240   241   242   243   244   245   246   247   248   249   250   251   252   253   254   255   256   257   258   259
   260   261   262   263   264   265   266   267   268   269   270   271   272   273   274   275   276   277   278   279   280
   281   282   283   284   285   286   287   288   289   290   291   292   293   294   295   296   297   298   299   300   301
   302   303   304   305   306   307   308   309   310   311   312   313   314   315   316   317   318   319   320   321   322
   323   324   325   326   327   328   329   330   331   332   333   334   335   336   337   338   339   340   341   342   343
   344   345   346   347   348   349   350   351   352   353   354   355   356   357   358   359   360   361   362   363   364
   365   366     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0
     0     0     0     0     0     0   

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Echo of LH_sample_SUFI2.cpp
-----------------------------------
Maximum size of arrays:
Max number of parameters=  800
Max number of simulations= 2,000
------------------------------------
number of parameters=   4
number of simulation=   5
1                                 r__CN2.mgt      -0.200000       0.200000
2                             v__ALPHA_BF.gw       0.000000       1.000000
3                             v__GW_DELAY.gw      30.000000     450.000000
4                                v__GWQMN.gw       0.000000       2.000000


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Echo of SUFI2_make_input.cpp program
--------------------------------------
number of parameters=   4
number of simulation=   5
1   r__CN2.mgt     -0.200000     0.200000
2   v__ALPHA_BF.gw     0.000000     1.000000
3   v__GW_DELAY.gw     30.000000     450.000000
4   v__GWQMN.gw     0.000000     2.000000


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

total number of variables=  1
obj fn type=  5

---- reading goal.txt
no_pars=  4
no_Sims=  5
type_of_goal_fn=  Nash_Sutcliff

1   1:R__CN2.mgt
2   2:V__ALPHA_BF.gw
3   3:V__GW_DELAY.gw
4   4:V__GWQMN.gw


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Sushant Mehan

unread,
Mar 14, 2018, 12:57:03 PM3/14/18
to SWAT-CUP
Dear Quentin, 

Did you find solution to your problem?

Regards
Sushant

Quentin

unread,
Mar 14, 2018, 2:26:48 PM3/14/18
to SWAT-CUP
Dear Sushant,

I got some suggestions from Dr Karim, I tried it but I am still having issues.

Find attached some files.

Thanks.
Error.JPG
Reply all
Reply to author
Forward
0 new messages