qswatmod error when reading swat txtinout

212 views
Skip to first unread message

Dongseok Yang

unread,
Feb 4, 2021, 12:43:24 AM2/4/21
to SWAT-MODFLOW
qswatmod_error.png
I am keep facing this error but I have no clue why...
does anyone know the reason and giving me advices?
thank you.

Seonggyu Park

unread,
Feb 4, 2021, 1:47:03 PM2/4/21
to SWAT-MODFLOW
Are you using a SWAT+ or SWAT model? If you use a SWAT model, could you please share the "file.cio" file? I will check it out.

Best,
Seonggyu

Dongseok Yang

unread,
Feb 5, 2021, 12:13:08 AM2/5/21
to SWAT-MODFLOW
Thank you Seonggyu and attached below is the SWAT model file.cio of the scenario I'm trying to use.

2021년 2월 5일 금요일 오전 3시 47분 3초 UTC+9에 env...@gmail.com님이 작성:
file.zip

Montassir

unread,
Feb 6, 2021, 3:42:15 AM2/6/21
to SWAT-MODFLOW
Hello,

I would like to do the modeling with swat and modflow but I don't know, what are the data that need to run the swat and modflow model please help me

Best regards 

otman

Seonggyu Park

unread,
Feb 6, 2021, 4:06:15 PM2/6/21
to SWAT-MODFLOW
Hi,

The error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 108: invalid start byte" means there are some letters Python cannot read in the file. I found those letters in your file.cio file and deleted them then it seems working now.

Capture.JPG

I attached a modified one. Try with this and let me know if you still have the same issue.

Thanks,

Seonggyu




file_modified.zip

Dongseok Yang

unread,
Feb 21, 2021, 9:44:33 PM2/21/21
to SWAT-MODFLOW
I checked too late... thank you for your reply and efforts, have wonderful week!

2021년 2월 7일 일요일 오전 6시 6분 15초 UTC+9에 env...@gmail.com님이 작성:
Reply all
Reply to author
Forward
0 new messages