Ad

Tuesday, September 02, 2008

HEC-RAS Report 3

Still trying to figure out the next step in the hydrology series of posts, so while I ponder, here's another way to crash the HEC-RAS report. If you happen to create sample line group and then change the station range so all of the sample lines go away and run the program you will get a subscript out of range error.

image

This is total user error, because why would you want to export data with no data? But just in case the highlighted lines in the screen shot below will catch the error, give a prompt on why the program is ending and close the program.

image

The line of code may have been in the code previously since this line of code checks for the same thing twice:

image

No comments:

LinkWithin

Blog Widget by LinkWithin

Ad