forrtl: error (73): floating divide by zero

447 views
Skip to first unread message

Ashish Dhakal

unread,
Feb 15, 2022, 10:02:56 PM2/15/22
to SWAT+
Can someone please help to understand this log error.

forrtl: error (73): floating divide by zero Image PC Routine Line Source rev60.5.2_64debug 00007FF6FB93AA4B CLI_INITWGN 243 cli_initwgn.f90 rev60.5.2_64debug 00007FF6FB37DEA4 CLI_WGNREAD 106 cli_wgnread.f90 rev60.5.2_64debug 00007FF6FB254A4C PROC_DATE_TIME 26 proc_date_time.f90 rev60.5.2_64debug 00007FF6FBAD3D23 MAIN__ 19 main.f90 rev60.5.2_64debug 00007FF6FC6973BE Unknown Unknown Unknown rev60.5.2_64debug 00007FF6FC698089 Unknown Unknown Unknown rev60.5.2_64debug 00007FF6FC697FAE Unknown Unknown Unknown rev60.5.2_64debug 00007FF6FC697E6E Unknown Unknown Unknown rev60.5.2_64debug 00007FF6FC6980F9 Unknown Unknown Unknown KERNEL32.DLL 00007FFF158054E0 Unknown Unknown Unknown ntdll.dll 00007FFF172A485B Unknown Unknown Unknown

Sushant Mehan

unread,
Feb 16, 2022, 10:58:11 AM2/16/22
to SWAT+
Did you check your climate files? It seems there is some kind of error recorded there..maybe missing or something in the not right format. You may share your weather files here in case you would not be able to find the problem. 

Good Luck!
Sushant

Nancy B. Sammons

unread,
Feb 17, 2022, 7:52:54 AM2/17/22
to Ashish Dhakal, SWAT+

Ashish: 

There is something going on in your ‘weather-wgn.cli’file.  You might go back recheck these inputs for zeros.  Perhaps SLR_AVE and/or DEW_AVE?

If you continue to have problems, please send me your current txtinout, or in the least the weather file. 

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 on the web visit https://groups.google.com/d/msgid/swatplus/98c9030d-957f-4a39-a046-244fb72264c9n%40googlegroups.com.

Jorge Rodríguez

unread,
Jan 3, 2025, 10:00:56 PM1/3/25
to SWAT+

Hello  Nancy nancy.sammons i have the same prolem,

I'm trying to run my SWAT+ model in the SWAT editor but I keep getting this error:

Image              PC                Routine            Line        Source            

rev61.0.1_64debug  00007FF6316DA16B  CLI_INITWGN               244  cli_initwgn.f90

rev61.0.1_64debug  00007FF630E87FE1  CLI_WGNREAD               106  cli_wgnread.f90

rev61.0.1_64debug  00007FF6307D7E68  PROC_DATE_TIME             44  proc_date_time.f90

rev61.0.1_64debug  00007FF631A499A0  MAIN__                     37  main.f90

rev61.0.1_64debug  00007FF6321EB0EB  Unknown               Unknown  Unknown

rev61.0.1_64debug  00007FF6321EB819  Unknown               Unknown  Unknown

rev61.0.1_64debug  00007FF6321EB732  Unknown               Unknown  Unknown

rev61.0.1_64debug  00007FF6321EB5EE  Unknown               Unknown  Unknown

rev61.0.1_64debug  00007FF6321EB88E  Unknown               Unknown  Unknown

KERNEL32.DLL       00007FFF21D77034  Unknown               Unknown  Unknown

ntdll.dll          00007FFF23982651  Unknown               Unknown  Unknown

I generated my weather engine with the specified format and modified the values according to the formats outlined in the weather-sta.cli and weather-wgn.cli sections, but the same error persists. I should mention that I use the "WGN Parameters Estimation Tool," a Microsoft Access tool to store and process daily weather data, to generate my weather engine and the individual data for each station and variable (I am only using precipitation and temperature from local stations). This tool outputs data in a format compatible with SWAT 2012, not SWAT+.

Therefore, based on the weather-sta.cli and weather-wgn.cli sections, I prepared my input data for SWAT+Editor, generating two .csv files (Stations CSV file and Monthly Values CSV file). However, the error still occurs. As mentioned in the previous comment, I am now attaching the weather-sta and weather-wgn files, hoping you can guide me on what I might be doing wrong or which data I might be incorporating incorrectly."

Thanks. Jorge.

Weather_sta_wgn.rar
Weather_inputs.rar

gokhan cuceloglu

unread,
Jan 4, 2025, 9:21:34 PM1/4/25
to Jorge Rodríguez, SWAT+
Hi Jorge,

having slr_ave, dew_ave, and wnd_ave values as 0 (zeros) in wgen file might be the reason for this.

This was not an issue in SWAT2012 but it seems SWAT+ not happy about those zeros in the wgen file, even if you do not use them in PET calculations.

Hope this helps.
Best, Gökhan 

Reply all
Reply to author
Forward
0 new messages