Error in SWAT+ Check

212 views
Skip to first unread message

Anil Kumar Maddipatla

unread,
Apr 15, 2021, 11:20:17 PM4/15/21
to SWAT+ Editor
Hi,

I am getting the following error in SWAT+ Check. Please help.

Unable to get SWAT+ Check data. Error loading SWAT+ Check. Exception: unsupported operand type(s) for /: 'str' and 'float' Traceback (most recent call last):
  File "rest\check.py", line 825, in post
  File "rest\check.py", line 74, in get_hyd
TypeError: unsupported operand type(s) for /: 'str' and 'float'

Regards,

Anil

Jaclyn Tech

unread,
Apr 16, 2021, 9:54:38 AM4/16/21
to SWAT+ Editor
Hi Anil, it looks like it's having trouble parsing your output file 'basin_wb_aa.txt'. Can you look in your project folder, Scenarios/Default/TxtInOut and share this file with me?

Thanks!

Anil Kumar Maddipatla

unread,
Apr 16, 2021, 10:23:57 AM4/16/21
to SWAT+ Editor
Hi Jaclyn,

Please find attached the requested file.

Regards,

Anil

basin_wb_aa.txt

Tech, Jaclyn B

unread,
Apr 16, 2021, 11:24:49 AM4/16/21
to Anil Kumar Maddipatla, SWAT+ Editor

It looks like your project name is too long, and SWAT+ is running it into the column next to it without a space, like there should be:

 

Anil_DEM_15_04_232126608.000

 

This is probably affecting many of your output files and causing issues with reading them.

 

Shorten your project name by opening the SQLite database (help here: https://swatplus.gitbook.io/docs/user/how-to-use-sqlite) and open the project_config table. Edit the value in the project_name field. Then re-run all tasks from the editor.

--
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/zHiHhXzdkSU/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/acd21b48-2028-47b0-86a2-ef3482106515n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages