Hello all,
I have an error message popping up when I use formatted gridded satellite precipitation data for SWAT+ modeling, a certain cell of which I treated as a virtual station (12*13=156 stations).
Error:
forrtl: severe (408): fort: (11): Subscript #1 of the array FDC_LL has value 0 which is less than the lower bound of 1
Image PC Routine Line Source
rev61.0.1_64debug 00007FF7AE0020DA FLOW_DUR_CURVE 55 flow_dur_curve.f90
rev61.0.1_64debug 00007FF7ADE24562 COMMAND 393 command.f90
rev61.0.1_64debug 00007FF7AE0D772A TIME_CONTROL 255 time_control.f90
rev61.0.1_64debug 00007FF7AF44AF1A MAIN__ 134 main.f90
rev61.0.1_64debug 00007FF7AFBEB0EB Unknown Unknown Unknown
rev61.0.1_64debug 00007FF7AFBEB819 Unknown Unknown Unknown
rev61.0.1_64debug 00007FF7AFBEB732 Unknown Unknown Unknown
rev61.0.1_64debug 00007FF7AFBEB5EE Unknown Unknown Unknown
rev61.0.1_64debug 00007FF7AFBEB88E Unknown Unknown Unknown
KERNEL32.DLL 00007FFE7FA3E8D7 Unknown Unknown Unknown
ntdll.dll 00007FFE817DC34C Unknown Unknown Unknown
The model runs successfully with ground-network-based climate inputs but crashes with IMERG dataset. I also tried debugging the problem on my own, Details:
pcp.cli files match station names in weather-sta.cli
Weather station assignments are visible and valid in SWAT+ Editor
All HRUs/RTUs link to existing climate stations
Routing is complete (no orphans or missing outlets)
Same SQLite project works with gauge data, fails with IMERG