Error: " Please load the corrected observed data and rerun this step"

75 views
Skip to first unread message

Naveen Kassadi

unread,
Feb 29, 2024, 5:38:59 AM2/29/24
to R-SWAT
Dear Dr. Tam Nguyen,

I've encountered  issue when i ran the ""calculate objective function"., the observed file seems correct as I changed the "NaN to NA".(not sure this could be an issue the observed file started from 1984 but in SWAT+ Editor i gave 1 year as warming period but the observation obs_var_1 started from 1984 but the simulation files start from 1985, 've also tried changing the starting year to 1985 and encountered the same issue)
[1] "C:\\RSWAT\\R-SWAT-master\\data\\Final/Output/Core_1/out_var_1.txt" [1] " Please load the corrected observed data and rerun this step" [1] " Error: length of observed data # length of the extracted variable" [1] "C:\\RSWAT\\R-SWAT-master\\data\\Final/Output/Core_2/out_var_1.txt" [1] " Please load the corrected observed data and rerun this step" [1] " Error: length of observed data # length of the extracted variable" [1] "C:\\RSWAT\\R-SWAT-master\\data\\Final/Output/Core_3/out_var_1.txt" [1] " Please load the corrected observed data and rerun this step" [1] " Error: length of observed data # length of the extracted variable" [1] "C:\\RSWAT\\R-SWAT-master\\data\\Final/Output/Core_4/out_var_1.txt"


Thank you
obs_var_1.txt

Naveen Kassadi

unread,
Mar 1, 2024, 5:46:47 AM3/1/24
to R-SWAT
Thanks for suggestion Dr. Tam, in this case the obs_var_1.txt seems fine but the starting and ending date (length) doesn't suite the dates I've gave for simulation. the file should start and end exactly as simulation period we give.

Majid Taie Semiromi

unread,
Feb 6, 2026, 2:56:56 PM (4 days ago) Feb 6
to R-SWAT
Should we also consider the warm-up period in the observed data that we prepare for RSWAT or not?
Reply all
Reply to author
Forward
0 new messages