Management Schedules of irrigation run error

120 views
Skip to first unread message

Jason

unread,
Oct 1, 2024, 7:57:46 PM10/1/24
to SWAT+
I tested a couple of SWAT models, including the Robit example model, once I add an irrigation schedule, such as "irrigate from an unlimited source when there is plant water stress", the model crashes, any suggestions?

Running SWAT+ rev. 61.0.1
forrtl: severe (408): fort: (11): Subscript #1 of the array IRROP_DB has value -842150451 which is less than the lower bound of 0 Image PC Routine Line Source rev61.0.1_64debug 00007FF66D9BFBBD ACTIONS 139 actions.f90 rev61.0.1_64debug 00007FF66E78F39A HRU_CONTROL 158 hru_control.f90 rev61.0.1_64debug 00007FF66D302B82 COMMAND 254 command.f90 rev61.0.1_64debug 00007FF66D5C772A TIME_CONTROL 255 time_control.f90 rev61.0.1_64debug 00007FF66E93AF1A MAIN__ 134 main.f90 rev61.0.1_64debug 00007FF66F0DB0EB Unknown Unknown Unknown rev61.0.1_64debug 00007FF66F0DB819 Unknown Unknown Unknown rev61.0.1_64debug 00007FF66F0DB732 Unknown Unknown Unknown rev61.0.1_64debug 00007FF66F0DB5EE Unknown Unknown Unknown rev61.0.1_64debug 00007FF66F0DB88E Unknown Unknown Unknown KERNEL32.DLL 00007FFD2EC6257D Unknown Unknown Unknown ntdll.dll 00007FFD2FA6AF28 Unknown Unknown Unknown

Aimen Sattar

unread,
Apr 21, 2025, 8:27:40 AM4/21/25
to SWAT+
H Jason,

I get a similar error. i am not sure why. The model runs ok with irrigation based on soil water content threshold. the current model has multiple crops per hru with 2 automated irrigation (one for eahc crop) and appears to not be working. Please let me know if you managed to resolve this issue. My error message is: 

forrtl: severe (174): SIGSEGV, segmentation fault occurred

Image              PC                Routine            Line        Source
swatplus-61.0.2-i  00000000008BF910  Unknown               Unknown  Unknown
swatplus-61.0.2-i  00000000004BE7AE  cond_real                  17  cond_real.f90
swatplus-61.0.2-i  00000000004BFADD  conditions                 60  conditions.f90
swatplus-61.0.2-i  0000000000649DBE  hru_control               158  hru_control.f90
swatplus-61.0.2-i  00000000004BC14A  command                   258  command.f90
swatplus-61.0.2-i  0000000000807757  time_control              254  time_control.f90
swatplus-61.0.2-i  00000000006BEC52  main                      129  main.f90
swatplus-61.0.2-i  00000000004024ED  Unknown               Unknown  Unknown
swatplus-61.0.2-i  00000000008B662A  Unknown               Unknown  Unknown
swatplus-61.0.2-i  00000000008B7EC7  Unknown               Unknown  Unknown
swatplus-61.0.2-i  00000000004023C5  Unknown               Unknown  Unknown

Thanks
Aimen

Natalja C.

unread,
Apr 21, 2025, 12:50:50 PM4/21/25
to SWAT+
Hello Jason,

You also need to add the irrigation that is used in the DT into the irrigation database. The DT is using irrigare_ilm (as I remember, please check), but there is no such entry in the irrigation database. Add the record and the model will run.

Best,
Natalja

Mercedes Gelós

unread,
Jul 9, 2025, 9:11:20 AM7/9/25
to SWAT+
Dear all, I am facing the same problem as Jason. Still reading Natalja answer, I do not understand how to do that. I tried...but I dont understand how to.
Sorry, could you please help me?

Nancy B. Sammons

unread,
Jul 15, 2025, 10:38:50 AM7/15/25
to Mercedes Gelós, SWAT+

Mercedes: 

If you are still having this issue, the irrigation decision table you are using references ‘irrigare_ilm’, but it is not included in the ‘irr.ops’ file.  If you aren’t able to find the problem, send me your current txtinout directory in a compressed format and I will take a look. 

Thanks,

Nancy

--
You received this message because you are subscribed to the Google Groups "SWAT+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swatplus+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/swatplus/c31ed3d4-a992-4272-868b-4869822d0429n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages