Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error Importing Weather Generator Data in SWAT+

43 views
Skip to first unread message

maseruka ronald

unread,
Jan 13, 2025, 10:14:04 PMJan 13
to SWAT+ Editor

Dear SWAT Team,

I am encountering the error below while attempting to import weather generator data in SWAT+. The same issue occurs when I try to upload weather station data.To resolve this, I have tried reinstalling the SWAT+ global weather generator data and restarting my laptop, but unfortunately, the problem persists. I have attached my weather data for your reference and would greatly appreciate your guidance in resolving this issue.

Thank you for your support, and I look forward to your response.


Traceback (most recent call last):
  File "peewee.py", line 3291, in execute_sql
sqlite3.OperationalError: no such column: t1.pet

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "swatplus_api.py", line 113, in <module>
  File "actions\import_weather.py", line 609, in import_data
  File "actions\import_weather.py", line 912, in match_to_weather_stations
  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 column: t1.pet
[14360] Failed to execute script 'swatplus_api' due to unhandled exception!

kind regards
Ronald
WeatherSurajit_QSWATplus.zip
Reply all
Reply to author
Forward
0 new messages