Import observed weather data

36 views
Skip to first unread message

Marion Lagos

unread,
May 23, 2025, 10:09:51 AMMay 23
to SWAT+ Editor
Hello dears,
I am loading the files with the climate data in text format, but it still gives me this error:
Traceback (most recent call last):
File "swatplus_api.py", line 102, in <module>
File "actions\import_weather.py", line 398, in import_data
File "actions\import_weather.py", line 121, in import_data
File "actions\import_weather.py", line 251, in add_weather_files
File "actions\import_weather.py", line 318, in add_weather_files_type
OSError: File C:\SWAT\SWATPlus\Rio Vergara\Scenarios\Default\TxtInOut\Ercilla.hmd not found. Weather data import aborted.
[17204] Failed to execute script 'swatplus_api' due to an unhandled exception!
If you could help me, I'd appreciate it.

Surafel M.W

unread,
May 27, 2025, 2:57:10 PMMay 27
to SWAT+ Editor
Dear Marion,

Closely check your text data formatting "Ercilla.hmd": 1) avoid if there is more than 1 row space at the last bottom of your time series data, and 2) avoid if there is tab separation between columns (i.e., between date and value columns). I hope it works if your lookup table format is ok.

Kind regards,
Reply all
Reply to author
Forward
0 new messages