Swat+ Toolbox observation channels incorrect

208 views
Skip to first unread message

Ryan Aherin

unread,
Jul 25, 2023, 2:12:29 PM7/25/23
to SWAT+
Hi everyone,
Since the last update to the SWAT+ editor, I have been unable to get Toolbox to select the correct channel for observation. My outlet channel is 206 in my SWAT model. However, when I select channel 206 in Toolbox, it shows this as a different channel on the map display(see attached photo). I've tried entering other numbers that appear in the attributes table for the channel, such as the FID, but they either don't appear on the map or also align with other channels as well. This wasn't an issue for my model prior to the update to Editor last week. I'm just wonderin if Toolbox really can't find my channel or if it is an error with the graphical interface.

toolbox_channel206.png

Thanks,
Ryan

Celray James CHAWANDA

unread,
Jul 25, 2023, 3:04:33 PM7/25/23
to SWAT+
please share the riv1 shapefile (include all supporting files such as shx, dbf, prj). Thanks!

Ryan Aherin

unread,
Jul 25, 2023, 3:44:08 PM7/25/23
to SWAT+
No problem,

Ryan
rivs1.zip

Celray James CHAWANDA

unread,
Jul 25, 2023, 3:59:10 PM7/25/23
to SWAT+
Indeed I see that the outlet is supposed to be here:

Screenshot_20230725_145525.png

I think you might have modified the project by re-doing delineation at some point but SWAT+ Toolbox is still using the old information. If you have any files where you found the 'riv1.shp' that have '4326' in name, please delete them. This will force SWAT+ Toolbox to regenerate them.
 
Let me know how it goes.

Celray James CHAWANDA

Ryan Aherin

unread,
Jul 25, 2023, 4:08:12 PM7/25/23
to SWAT+
Thanks, that did the trick.

Celray James CHAWANDA

unread,
Jul 25, 2023, 4:12:00 PM7/25/23
to SWAT+
You are welcome!

Dennis Trolle

unread,
Oct 9, 2023, 3:44:40 PM10/9/23
to SWAT+
Hi James,

I have a similar issue. I have not re-done delineation - I rather suspect that this is due to the fact that there are "lakes" in the model set up (as also seems to be the case in the post above). While I cannot check the Toolbox code as this is not yet released, it seems to me that SWAT+ Toolbox looks up the channel numbers in the "SWAT+ unit" column of channel_sdmorph_day.txt file. If this is the case, this will not work for SWAT+ set ups where lakes/reservoirs are included. When including lakes, QSWAT+ will remove some channels during delineation (i.e. those inside a lake), and therefore the number in "SWAT+ unit" is no longer equivalent to the "gis_id" or "name" columns in channel_sdmorph_day.txt (which represent the channel numbers in the rivs1.shp file). 

I guess a work-around would be to first identify the "SWAT+ unit" for the corresponding channel number (in channel_sdmorph_day.txt), and use this when defining the "Object Number" while loading the flow observations into SWAT+ Toolbox?

Cheers,
Dennis

PS: to illustrate the point, I attach an extract of the channel_sdmorph_day.txt output from the set up I am working on, which includes several lakes.
Screenshot_channel_sdmorph.png

Mojtaba Shafiei

unread,
Dec 3, 2023, 9:06:32 AM12/3/23
to SWAT+
Hi all
Thank you, Dennis, for mentioning this point. I also had the same problem. When I used the respective "SWAT+ Unit" for my channel ID, SWAT+ Toolbox showed the right outlet in my catchment. 

Best,
Mojtaba

Reply all
Reply to author
Forward
0 new messages