Re: [SWAT+ Editor User Group] swat+gwflow

404 views
Skip to first unread message

Khaled Haider

unread,
Jul 2, 2024, 11:36:43 AM7/2/24
to liu jing, SWAT+ Editor
Try to define the wetlands in your project (if there are any in your study area) or turn off the Groundwater-wetland exchange (0 = off; 1 = on) option from the Groundwater Flow interface (in SWAT+ editor) or from the gwflow.ini file. This may help you bypass the problem.


On Mon, Jul 1, 2024 at 9:08 PM 'liu jing' via SWAT+ Editor <swatplu...@googlegroups.com> wrote:
I'm stuck in swat+gwflow, can you help me? The following error occursTraceback (most recent call last).
  File "peewee.py", line 3291, in execute_sql
OperationalError: no such table: gwflow_wetland

During handling of the above exception, another exception occurred.

Traceback (most recent call last): File "swatplus_api".
  File "swatplus_api.py", line 122, in <module>
  File "actions\write_files.py", line 158, in write
  File "fileio\gwflow.py", line 76, in write
  File "fileio\gwflow.py", line 636, in write_wetland
  File "peewee.py", line 7243, in __iter__
  File "peewee.py", line 2011, in inner
  File "peewee.py", line 2082, in execute
  File "peewee.py", line 2255, in _execute
  File "peewee.py", line 3299, in execute
  File "peewee.py", line 3289, in execute_sql
  File "peewee.py", line 3059, in __exit__
  File "peewee.py", line 192, in reraise
  File "peewee.py", line 3291, in execute_sql
peewee.OperationalError: no such table: gwflow_wetland
[2176] Failed to execute script 'swatplus_api' due to unhandled exception!

Translated with www.DeepL.com/Translator (free version)

--
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/090b9fda-c240-4823-9c55-e5e5d0e1d6c2n%40googlegroups.com.

Jaclyn Tech

unread,
Jul 2, 2024, 11:48:48 AM7/2/24
to SWAT+ Editor
Thank you for noticing this and the workaround!
I've have fixed this bug in editor 3.0.1 available now https://github.com/swat-model/swatplus-editor/releases

Jaclyn

Khaled Haider

unread,
Jul 2, 2024, 5:31:54 PM7/2/24
to Jaclyn Tech, SWAT+ Editor
Dear Jaclyn,
Thank you for the new version of SWAT+ editor (3.0.1). However, there is still an issue with the SWAT+ revision 61.0.1 concerning HYDROGRAPH_MODULE and SD_CHANNEL_CONTRO as shown in the following error message.

Running SWAT+ rev. 61.0.1
There was an error running SWAT+ If you cannot determine the cause of the error, please copy and paste the output log below to the SWAT+ model user group.
forrtl: error (72): floating overflow Image PC Routine Line Source rev61.0.1_64debug 00007FF77DD9AE15 HYDROGRAPH_MODULE 1137 hydrograph_module.f90 rev61.0.1_64debug 00007FF77E379EB7 SD_CHANNEL_CONTRO 83 sd_channel_control2.f90 rev61.0.1_64debug 00007FF77E0AFFDA COMMAND 358 command.f90 rev61.0.1_64debug 00007FF77E36772A TIME_CONTROL 255 time_control.f90 rev61.0.1_64debug 00007FF77F6DAF1A MAIN__ 134 main.f90 rev61.0.1_64debug 00007FF77FE7B0EB Unknown Unknown Unknown rev61.0.1_64debug 00007FF77FE7B819 Unknown Unknown Unknown rev61.0.1_64debug 00007FF77FE7B732 Unknown Unknown Unknown rev61.0.1_64debug 00007FF77FE7B5EE Unknown Unknown Unknown rev61.0.1_64debug 00007FF77FE7B88E Unknown Unknown Unknown KERNEL32.DLL 00007FFCAE137344 Unknown Unknown Unknown ntdll.dll 00007FFCAE8826B1 Unknown Unknown Unknown
 

Jaclyn Tech

unread,
Jul 2, 2024, 5:45:44 PM7/2/24
to SWAT+ Editor
For this I would suggest sending your txtinout files to Nancy and (assuming you're using gwflow) Ryan so they can pinpoint the source of the error.

Khaled Haider

unread,
Jul 3, 2024, 6:53:52 AM7/3/24
to Jaclyn Tech, Chris George, SWAT+ Editor
Dear Jaclyn and Chris,
I have tested the new version of SWAT+ editor (V.3.0.1) with SWAT+ Revision 61.0.1 and gwflow on a small watershed and it seemed like it worked fairly well. However, I still do not see the gwflow components (such as the gwflow_balance, gwflow_flux, gwflow_state_head, etc.) in the visualization window (step 4) in the QSWAT+ 2.5.3. Shouldn't these components appear in this window to be displayed as static maps?

Best 
Khaled









Chris George

unread,
Jul 3, 2024, 7:15:20 AM7/3/24
to Khaled Haider, SWAT+ Editor, Jaclyn Tech
Visualisation has yet to catch up with gwflow.

Chris

On 7/3/2024 11:53 AM, Khaled Haider wrote:
> Dear Jaclyn and Chris, I have tested the new version of SWAT+ editor (V.
>  3. 0. 1) with SWAT+ Revision 61. 0. 1 and gwflow on a small watershed
> and it seemed like it worked fairly well. However, I still do not see
> the gwflow components (such as the
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
> ZjQcmQRYFpfptBannerEnd
> Dear Jaclyn and Chris,
> I have tested the new version of SWAT+ editor (V.3.0.1) with SWAT+
> Revision 61.0.1 and gwflow on a small watershed and it seemed like it
> worked fairly well. However, I still do not see the gwflow components
> (such as the gwflow_balance, gwflow_flux, gwflow_state_head, etc.) in
> the visualization window (step 4) in the QSWAT+ 2.5.3. Shouldn't these
> components appear in this window to be displayed as static maps?
>
> Best
> Khaled
>
>
>
>
>
>
>
>
>
> On Wed, Jul 3, 2024 at 12:45 AM 'Jaclyn Tech' via SWAT+ Editor
> <swatplu...@googlegroups.com
> <mailto:swatplu...@googlegroups.com>> wrote:
>
> For this I would suggest sending your txtinout files to Nancy and
> (assuming you're using gwflow) Ryan so they can pinpoint the source
> of the error.
>
> On Tuesday, July 2, 2024 at 4:31:54 PM UTC-5 dr.khale...@gmail.com
> <mailto:dr.khale...@gmail.com> wrote:
>
> Dear Jaclyn,
> Thank you for the new version of SWAT+ editor (3.0.1). However,
> there is still an issue with the SWAT+ revision 61.0.1
> concerning HYDROGRAPH_MODULE and SD_CHANNEL_CONTRO as shown in
> the following error message.
>
> Running SWAT+ rev. 61.0.1
> //
> There was an error running SWAT+ If you cannot determine the
> cause of the error, please copy and paste the output log below
> to the SWAT+ model user group
> <https://urldefense.com/v3/__https://groups.google.com/d/forum/swatplus__;!!KwNVnqRv!D02GW2Dbhv9WzcPQ4M7MDiTC1OgN2YGNF3dQYLc9e2GMwU2l6VmEump7hu8p2fWSnRbFWPDUJAoc8VuK1sCMTMPEyA$>.
>
> forrtl: error (72): floating overflow Image PC Routine Line
> Source rev61.0.1_64debug 00007FF77DD9AE15 HYDROGRAPH_MODULE 1137
> hydrograph_module.f90 rev61.0.1_64debug 00007FF77E379EB7
> SD_CHANNEL_CONTRO 83 sd_channel_control2.f90 rev61.0.1_64debug
> 00007FF77E0AFFDA COMMAND 358 command.f90 rev61.0.1_64debug
> 00007FF77E36772A TIME_CONTROL 255 time_control.f90
> rev61.0.1_64debug 00007FF77F6DAF1A MAIN__ 134 main.f90
> rev61.0.1_64debug 00007FF77FE7B0EB Unknown Unknown Unknown
> rev61.0.1_64debug 00007FF77FE7B819 Unknown Unknown Unknown
> rev61.0.1_64debug 00007FF77FE7B732 Unknown Unknown Unknown
> rev61.0.1_64debug 00007FF77FE7B5EE Unknown Unknown Unknown
> rev61.0.1_64debug 00007FF77FE7B88E Unknown Unknown Unknown
> KERNEL32.DLL 00007FFCAE137344 Unknown Unknown Unknown ntdll.dll
> 00007FFCAE8826B1 Unknown Unknown Unknown
>
>
> On Tue, Jul 2, 2024 at 6:48 PM 'Jaclyn Tech' via SWAT+ Editor
> <swatplu...@googlegroups.com> wrote:
>
> Thank you for noticing this and the workaround!
> I've have fixed this bug in editor 3.0.1 available now
> https://github.com/swat-model/swatplus-editor/releases
> <https://urldefense.com/v3/__https://github.com/swat-model/swatplus-editor/releases__;!!KwNVnqRv!D02GW2Dbhv9WzcPQ4M7MDiTC1OgN2YGNF3dQYLc9e2GMwU2l6VmEump7hu8p2fWSnRbFWPDUJAoc8VuK1sCy0Ac0yA$>
>
> Jaclyn
>
> On Tuesday, July 2, 2024 at 10:36:43 AM UTC-5
> dr.khale...@gmail.com wrote:
>
> Try to define the wetlands in your project (if there are
> any in your study area) or turn off the
> /*Groundwater-wetland exchange (0 = off; 1 =
> on)*/ option from the /*Groundwater Flow*/ interface (in
> <https://urldefense.com/v3/__http://www.DeepL.com/Translator__;!!KwNVnqRv!D02GW2Dbhv9WzcPQ4M7MDiTC1OgN2YGNF3dQYLc9e2GMwU2l6VmEump7hu8p2fWSnRbFWPDUJAoc8VuK1sAnC_d4dg$> (free version)
>
> --
> 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/090b9fda-c240-4823-9c55-e5e5d0e1d6c2n%40googlegroups.com <https://urldefense.com/v3/__https://groups.google.com/d/msgid/swatplus-editor/090b9fda-c240-4823-9c55-e5e5d0e1d6c2n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!KwNVnqRv!D02GW2Dbhv9WzcPQ4M7MDiTC1OgN2YGNF3dQYLc9e2GMwU2l6VmEump7hu8p2fWSnRbFWPDUJAoc8VuK1sDBDu6lrg$>.
>
> --
> 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/3002cae3-184e-41f3-9737-f473223d058fn%40googlegroups.com <https://urldefense.com/v3/__https://groups.google.com/d/msgid/swatplus-editor/3002cae3-184e-41f3-9737-f473223d058fn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!KwNVnqRv!D02GW2Dbhv9WzcPQ4M7MDiTC1OgN2YGNF3dQYLc9e2GMwU2l6VmEump7hu8p2fWSnRbFWPDUJAoc8VuK1sC5Y4Q9Ww$>.
>
> --
> 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
> <mailto:swatplus-edit...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/swatplus-editor/7dc2e651-db5a-4f3d-a3b2-583371ac79d2n%40googlegroups.com <https://urldefense.com/v3/__https://groups.google.com/d/msgid/swatplus-editor/7dc2e651-db5a-4f3d-a3b2-583371ac79d2n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!KwNVnqRv!D02GW2Dbhv9WzcPQ4M7MDiTC1OgN2YGNF3dQYLc9e2GMwU2l6VmEump7hu8p2fWSnRbFWPDUJAoc8VuK1sADZ7cBrg$>.
>

Jaclyn Tech

unread,
Jul 3, 2024, 7:40:19 AM7/3/24
to SWAT+ Editor
SWAT+ Editor also doesn't parse the gwflow output files to the output database yet. This will be for a future version. For now, you'll need to use those output files manually on your own.

Khaled Haider

unread,
Jul 3, 2024, 10:40:16 AM7/3/24
to Jaclyn Tech, SWAT+ Editor, Nancy B. Sammons, Jeff Arnold, Chris George
Dear Jaclyn, thank you and Chris for letting me know this information about the visualization of the gwflow outputs. 
By the way, Nancy and Jeff told me last year that they had added a new option for irrigation operations, which is the time interval between the irrigation events (i.e., how many days should pass before the next irrigation is applied), and I expected to see this option present in a new version of SWAT+ editor, but I did not find it?!
This option is very useful for irrigation in very arid areas, where water is scarce and only a few irrigation events need to be applied during the growing season.
The option of the maximum times per year to irrigate does not help me a lot, even when I define a very low threshold for water stress. 

Best 
Khaled




Andreé Hidalgo Ravelo

unread,
Sep 30, 2024, 9:42:29 AM9/30/24
to SWAT+ Editor
Hello, could you solve this issue?
My model is very big. When I use low k values, swat+ runs, but when I use K values close to 1 m/day or above, it doesn't work, and the message of floating overflow appears (with this term .f90, it's very strange).

Regards. 

Saeed Golian

unread,
Nov 27, 2024, 1:29:14 PM11/27/24
to SWAT+ Editor
Hi Jaclyn and Chris,

Any update on QSWAT+ and SWAT+Editor to visualize and parsing the gwflow outputs to the database?

Thanks

Saeed

Reply all
Reply to author
Forward
0 new messages