Groups
Groups

elevation bands

493 views
Skip to first unread message

megan....@gmail.com

unread,
Aug 6, 2017, 3:41:27 PM8/6/17
to SWAT-CUP
Hello Swat users, 

Currently, I am attempting to run replace.exe to calibrate some elevation bands within the model. For some reason replace.exe opens up, but then quickly closes before I can run the program. I have checked privileges and modified the file registry under my user using this youtube video (https://www.youtube.com/watch?v=V3gbpCFCs04).

When I try to run it from the command line, I receive the error "cannot open input file TopoRep.txt". The text file privileges seem fine and I can't find any additional issues with the file.

Does anyone have any further ideas as to what could be the problem? Thanks!

Abbaspour, Karim

unread,
Aug 6, 2017, 4:12:38 PM8/6/17
to swat...@googlegroups.com
Is the file TopoRep.txt there? Perhaps the exe file is corrupted.

Karim

> On Aug 6, 2017, at 12:41, "megan....@gmail.com" <megan....@gmail.com> wrote:
>
> TopoRep.txt

megan....@gmail.com

unread,
Aug 6, 2017, 4:24:12 PM8/6/17
to SWAT-CUP
Yes, the file is there and I am able to open it using NotePad. I rewrote the fills a number of times trying to flush out any bugs, but no luck. Maybe I am copying the files to the wrong "working directory"? I have copied the UtilityFolder and tried to run replace.exe and Elev_band_CUP under my Simulation folder in Scenarios (Documents) and tried to run it from the Swat-Cup directory under "Sim2.Sufi2.SwatCup". 

Abbaspour, Karim

unread,
Aug 6, 2017, 4:27:15 PM8/6/17
to swat...@googlegroups.com

Everything with elevation band should be done in the same folder. The program is independent of swatcup.

 

Karim

--
You received this message because you are subscribed to the Google Groups "SWAT-CUP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

megan....@gmail.com

unread,
Aug 6, 2017, 4:37:08 PM8/6/17
to SWAT-CUP
Karim, 

Ok, got it. I reconfigured my files and now have Make_ELEV_BAND folder under "UtilityPrograms" in External Data. My elev_band DEF and txt file are both able to opened in NotePad, and TopoRep is updated from my SWAT project database. For some reason, replace.exe and Elev_band_CUP are still not running correctly. 

megan....@gmail.com

unread,
Aug 6, 2017, 4:46:12 PM8/6/17
to SWAT-CUP
I am receiving this when I try to run the Make_ELEV_BAND program:

17
Subbasin 
# 1
sub 1   1   1
s=1  j=1  2609.000
s=1  j=2   5413.000

That's it. 

Abbaspour, Karim

unread,
Aug 6, 2017, 4:47:36 PM8/6/17
to swat...@googlegroups.com

Please get the zipped program from the site below and try again:

 

ftp://ftp.eawag.ch/outgoing/abbaspou/Elevation_Band

Message has been deleted

Abbaspour, Karim

unread,
Aug 6, 2017, 4:57:15 PM8/6/17
to swat...@googlegroups.com

sign in as anonymous and give your email address as password

NO, as I said this program is independent of swatcup. You just need the output of elevation band program (model.in) to use in the swatcup project.

 

Karim

 

 

From: swat...@googlegroups.com [mailto:swat...@googlegroups.com] On Behalf Of megan....@gmail.com
Sent: Sunday, August 06, 2017 10:52 PM
To: SWAT-CUP
Subject: Re: elevation bands

 

Okay, I will. That link seems to need a username and password to access; should I uninstall SWAT-Cup and install it again?

megan....@gmail.com

unread,
Aug 6, 2017, 5:11:13 PM8/6/17
to SWAT-CUP
Yep, I downloaded it. I am guessing there is something wrong with my .exe program functions. Same issue. 

Thanks though. 

Abbaspour, Karim

unread,
Aug 6, 2017, 5:19:17 PM8/6/17
to swat...@googlegroups.com

It may be that your system does not allow copying exe files. Try downloading again. I changed exe to eee. Make them exe again after downloading. See if they run.

megan....@gmail.com

unread,
Aug 6, 2017, 5:58:24 PM8/6/17
to SWAT-CUP
Thanks for your help. Still not able to open the .exe files. 

ammara talib

unread,
Dec 2, 2017, 4:14:47 PM12/2/17
to SWAT-CUP
Not sure if you figured out the solution yet. I think you need to change number of final sub basin in echo file in "make_elev_Band" as well as in "elev_band.def. Make sure to check model.in file. It should have the same number of subbasin as defined in your echo file in "make_elev_Band" as well as in "elev_band.def
Message has been deleted
Message has been deleted
Message has been deleted

jkbha...@gmail.com

unread,
Jul 7, 2025, 2:59:36 PMJul 7
to SWAT-CUP
Sir, the link is not working currently. Earlier I downloaded this file. and did calibration with a very satisfying result. Due to my system failure, I lost this file. Can you please reupload it? 

jkbha...@gmail.com

unread,
Jul 7, 2025, 3:00:39 PMJul 7
to SWAT-CUP
Sir, the link is not working currently. Earlier I downloaded this file. and did calibration with a very satisfying result. Due to my system failure, I lost this file. Can you please reupload it? 
Reply all
Reply to author
Forward
0 new messages
Search
Clear search
Close search
Google apps
Main menu