Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Auto irrigation error

200 views
Skip to first unread message

poto

unread,
Mar 20, 2023, 4:57:45 AM3/20/23
to SWAT+ Editor
Hello everyone,
I am using dtl to simulate my model. I set the command for manual planting and harvesting as shown in the figure and wanted to add an automatic irrigation, but the following error occurred. I have no idea to solve it. 
I hope someone can help me, and I will be very grateful.


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            
rev60.5.4_64debug  00007FF70ED6DE3C  Unknown               Unknown  Unknown
rev60.5.4_64debug  00007FF70E8124AE  ACTIONS                   115  actions.f90
rev60.5.4_64debug  00007FF70E7313E3  HRU_CONTROL               156  hru_control.f90
rev60.5.4_64debug  00007FF70E94F918  COMMAND                   246  command.f90
rev60.5.4_64debug  00007FF70EABA880  TIME_CONTROL              260  time_control.f90
rev60.5.4_64debug  00007FF70DD47C1E  MAIN__                     92  main.f90
rev60.5.4_64debug  00007FF70EE2F8FE  Unknown               Unknown  Unknown
rev60.5.4_64debug  00007FF70EE305C9  Unknown               Unknown  Unknown
rev60.5.4_64debug  00007FF70EE304EE  Unknown               Unknown  Unknown
rev60.5.4_64debug  00007FF70EE303AE  Unknown               Unknown  Unknown
rev60.5.4_64debug  00007FF70EE30639  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FFA6F437034  Unknown               Unknown  Unknown
ntdll.dll          00007FFA70A62651  Unknown               Unknown  Unknown
irr.png

Nancy B. Sammons

unread,
Mar 20, 2023, 9:13:16 AM3/20/23
to poto, SWAT+ Editor

Please send me your current txinout (in compressed format) and I will take a look at this for you.

Nancy

 

 

From: swatplu...@googlegroups.com <swatplu...@googlegroups.com> On Behalf Of poto
Sent: Monday, March 20, 2023 3:58 AM
To: SWAT+ Editor <swatplu...@googlegroups.com>
Subject: [SWAT+ Editor User Group] Auto irrigation error

 

You don't often get email from gong...@igsnrr.ac.cn. Learn why this is important

--
You received this message because you are subscribed to the Google Groups "SWAT+ Editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swatplus-edit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swatplus-editor/a0cc354f-0841-4e62-b901-9591517d3c61n%40googlegroups.com.

Ethiopia Bisrat

unread,
Apr 12, 2024, 9:33:15 AM4/12/24
to SWAT+ Editor
Was this error resolved? I have the same problem.

liu jing

unread,
Jul 8, 2024, 11:53:20 AM7/8/24
to SWAT+ Editor
Hi, I'm experiencing the same problem as you, have you resolved this issue yet?

Ethiopia Bisrat

unread,
Jul 9, 2024, 9:40:06 AM7/9/24
to liu jing, SWAT+ Editor
Hi,

Someone had mentioned that using fewer HRUs resolved the issue for them but that did not fully work for me. I have copied the management schedule and decision table that worked for me at the end. image.png
image.png


You received this message because you are subscribed to a topic in the Google Groups "SWAT+ Editor" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swatplus-editor/A8KAZ-RB-7E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swatplus-edit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swatplus-editor/136dda84-589e-454a-b928-06025220949dn%40googlegroups.com.


--
Ethiopia Bisrat
Lecturer Water and Environmental Engineering,
School of Civil and Environmental Engineering,
Addis Ababa Institute of Technology, 

darby kellum

unread,
Sep 6, 2024, 11:02:59 AM9/6/24
to SWAT+ Editor
I am having this same issue. can someone explain the changes that need to be made to the irrigation schedule to resolve it. 

Thank you

Adrián López Ballesteros

unread,
Nov 19, 2024, 10:11:08 AM11/19/24
to SWAT+ Editor
Hi all,

I have just figured out how to fix this error (forrtl: severe (408): fort: (11): Subscript #1 of the array IRROP_DB has value -842150451 which is less than the lower bound of 0) when  using autoirrigation in decision tables and I would like to share it with you in case it helps you. 

If you are trying to implement the "Irrigate" action, both the "option" and "fp" (pointer for option) fields should indicate the irr.ops you want to use, for example furrow or drip. Here is an example:

name                       conds      alts      acts     !irrigate 2 mm when soil water < 0.2 * field capacity from unlimited source - max 365 times per year using drip
autoirrigate_test     1             1         1
var                           obj        obj_num    lim_var        lim_op     lim_const      alt1
soil_water               hru         0                fc                 *                0.2                 <=     !irrigate when plant soil water is less than this value
act_typ                    obj        obj_num     name          option      const        const2        fp           outcome
irrigate                    hru          0                drip_irr        drip          2                 365            drip        y

I hope it works for you  :)

Best,
Adrián

"Este mensaje es privado y confidencial y se dirige exclusivamente a su destinatario. Si usted recibe este mensaje por error, no debe revelar, distribuir o copiar este e-mail. Por favor, comuníquelo al remitente y borre el mensaje y los archivos adjuntos de su sistema. No hay renuncia a la confidencialidad ni a ningún privilegio a causa de una transmisión errónea o por mal funcionamiento". 

"This message is private and confidential and it is intended exclusively for the addressee. If your receive this message by mistake, you should not disseminate, distribute or copy this e-mail. Please inform the sender and delete the message and attachments from your system. No confidentiality or any privilege regarding the information is waived or lost by any mistransmission or malfunction".

No me imprimas si no es necesario.
Don't print me unless it's necessary.

Adrián López Ballesteros

unread,
Nov 20, 2024, 11:13:18 AM11/20/24
to SWAT+ Editor
Update:
Another configuration that also works is as follows:

name                       conds      alts      acts     !irrigate 2 mm when soil water < 0.2 * field capacity from unlimited source - max 365 times per year using drip
autoirrigate_test     1             1         1
var                           obj        obj_num    lim_var        lim_op     lim_const      alt1
soil_water               hru         0                fc                 *                0.2                 <=     !irrigate when plant soil water is less than this value
act_typ                    obj        obj_num     name          option      const        const2        fp           outcome
irrigate                    unlim          0             drip_irr        drip          2                 365            null        y

Natalja C.

unread,
Dec 27, 2024, 12:15:37 PM12/27/24
to SWAT+ Editor
Hello,

The most common mistake I see is the addition of irrigation operation, but omitting addition of the irrigation in the database! 
Under land use management --> Operation databases --> irrigation add the necessary type of irrigation that is used in your DT. 

Best,
Natalja

Reply all
Reply to author
Forward
0 new messages