subham roy
unread,Apr 24, 2026, 10:17:12 PM (5 days ago) Apr 24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QSWAT
Hello everyone,
I am working with the SWAT model using QSWAT and facing an issue while loading weather data. When I input my weather files (Tmax, Tmin, etc.), I get the following error:
“Index was outside the bounds of the array: in reading line 0.”
I have checked the file, but I am not sure what is causing this issue. My data is in .txt format and follows the standard SWAT structure (as shown in tutorials), but the error still appears.
Could someone please help me understand:
What exactly causes this error?
Is it related to file formatting, headers, or missing values?
How can I fix it?
Any guidance would be really helpful.
Thank you!