Invalid file header error with PLAPS and TLAPS Parameters

63 views
Skip to first unread message

tooryalay ayoubi

unread,
Apr 1, 2020, 2:28:07 PM4/1/20
to SWAT-CUP
Dear Dr. Karim and members,

I have made the elevation bands, then copied the file model.in into my swat-cup project directory and then did Run the SWAT_Edit.exe program from the command line to replace the elevation bands and fractions into *.sub files and it worked perfectly. But while I added the PLAPS.sub and TLAPS.sub values and running the Run.bat file it gives me the Invalid file header error, Please see the attached files. I also changed the value of model.in file in swat directory to PLAPS.sub = 10 and TLAPS.sub = -6 and run the swat_edit.exe but it gives me the same error, see the attached. Could you please help me what is the problem and what should I do to solve it.

Best
Ayoubi
model in.PNG
Plaps error.PNG
swat_edit.PNG

tooryalay ayoubi

unread,
Apr 1, 2020, 2:33:54 PM4/1/20
to SWAT-CUP
Dear Dr. Karim,


I forgot to say that when I run the model with initial parameters run for example (r__CN2.mgt    0    0), the model works perfectly but while changing the PLAPS and TLAPS parameters it gives the above mentioned errors.

Best
Ayoubi


tooryalay ayoubi

unread,
Apr 2, 2020, 10:28:49 AM4/2/20
to SWAT-CUP
Dear Dr. Karim,
I am still waiting for your help and the problem doesn't solved yet. Can some one help?

Best
Ayoubi

On Wednesday, April 1, 2020 at 8:28:07 PM UTC+2, tooryalay ayoubi wrote:

Karim Abbaspour

unread,
Apr 2, 2020, 12:49:59 PM4/2/20
to swat...@googlegroups.com
Not sure! Send me par_inf and a .sub file to see.

--
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/9e931c87-fa35-4e41-b0c7-1dd6a8e1909d%40googlegroups.com.

tooryalay ayoubi

unread,
Apr 2, 2020, 3:51:49 PM4/2/20
to SWAT-CUP
Dear Abbaspour,

Thank you very much for your reply.
Because I have already changed the previous project with backup files, therefore after your request for Par_inf and .sub files, I have created another SWAT_Cup project and did the process again (copied the model in and run the swat_Edit.exe), now the problem solved. I don't know what was the problem but now it is good that the model works. 

Thank you very much for your cooperation.

Best
Ayoubi


On Thursday, April 2, 2020 at 6:49:59 PM UTC+2, Abbaspour wrote:
Not sure! Send me par_inf and a .sub file to see.

On Thu, Apr 2, 2020 at 4:28 PM tooryalay ayoubi <tooryal...@gmail.com> wrote:
Dear Dr. Karim,
I am still waiting for your help and the problem doesn't solved yet. Can some one help?

Best
Ayoubi

On Wednesday, April 1, 2020 at 8:28:07 PM UTC+2, tooryalay ayoubi wrote:
Dear Dr. Karim and members,

I have made the elevation bands, then copied the file model.in into my swat-cup project directory and then did Run the SWAT_Edit.exe program from the command line to replace the elevation bands and fractions into *.sub files and it worked perfectly. But while I added the PLAPS.sub and TLAPS.sub values and running the Run.bat file it gives me the Invalid file header error, Please see the attached files. I also changed the value of model.in file in swat directory to PLAPS.sub = 10 and TLAPS.sub = -6 and run the swat_edit.exe but it gives me the same error, see the attached. Could you please help me what is the problem and what should I do to solve it.

Best
Ayoubi

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