HRU Definition error

941 views
Skip to first unread message

Kyle

unread,
Feb 27, 2009, 9:50:04 AM2/27/09
to SWAT-user
Greetings all,
I am running across an error during the HRU Definition step. I'm
defining my threshold values in percent for land use/soil/slope, and
when I go to click on Create HRUs, I get an error.
The first box that pops up is "SWAT_HRUs: SWHT WWHT", which is
obviously referencing two of my land uses, spring and winter wheat.
So I click OK on that, and my next error box tells me an error
occurred in the application with the following:
Error Call Stack Sequence: cmdOK LUSoilsfunctions.vb Line: 475
Error Number: 457
Description: This key is already associated with an element of this
collection.

There is not much winter wheat (WWHT) located in the watershed, so I
tried just eliminating that land use. When I did this, I still
received the error, except it is now referencing "SWHT WETL" in place
of "SWHT WWHT".


I've run a project before with basically the same data sources in a
different watershed, and I had not run across this problem before. I
have tried using both ArcSWAT 2.0 and the latest ArcSWAT 2.1.4a
(starting new projects in both versions), and neither version has
yielded a different result. I've also checked my ArcGIS version and
Microsoft .NET versions. I don't notice anything out of the ordinary
in my datasets and lookup tables, but I'm not sure about what small
details I might need to look for.
Any guidance would be greatly appreciated!
Thank you all!
Kyle

Fabio

unread,
Mar 26, 2009, 10:57:03 AM3/26/09
to SWAT-user
hi Kyle,

in my case the problem was that the look at table of landuse some
symbols were written in lowercase
by changing all upper case (both look at table that database) is not
presented the problem.

cheers

On 27 Feb, 15:50, Kyle <kglazew...@undeerc.org> wrote:
> Greetings all,
> I am running across an error during the HRU Definition step.  I'm
> defining my threshold values in percent for land use/soil/slope, and
> when I go to click on Create HRUs, I get an error.
> The first box that pops up is "SWAT_HRUs: SWHT WWHT", which is
> obviously referencing two of my land uses, spring and winter wheat.
> So I click OK on that, and my next error box tells me an error
> occurred in the application with the following:
> Error Call Stack Sequence: cmdOK LUSoilsfunctions.vb Line: 475
> Error Number: 457
> Description: Thiskeyis already associated with an element of this
Reply all
Reply to author
Forward
Message has been deleted
0 new messages