How to get calibrated parameters back into project mdb?

729 views
Skip to first unread message

Felix W.

unread,
Jun 26, 2012, 8:59:20 AM6/26/12
to swat...@googlegroups.com
Hallo,

does anybody know a fast and simple way to get the (SUFI-2) calibrated parameters back into the project mdb? Sometimes it would be quite helpfull. E.g. if you want to share to whole project with someone else, who has no experience in SWAT-Cup.. The way im doing it right now is manually, which is quite annoying, especially regarding parameters with a relative change (eg. CN2). Does SWAT-cup has a feature for copying e.g. the "best parameter values" into the project mdb? Otherwise it would be a quite nice upgrade for the next version.. :o)
(I know -using the "best parameters" is not exactly the philosphy of Swat-Cup, but sometimes it is necessary)

Cheers and thank you!
Felix

Mohsen Pourreza Bilondi

unread,
Jun 26, 2012, 9:13:06 AM6/26/12
to swat...@googlegroups.com
Dear Felix,
I usually save the iteration using the "save iteration" button on main screen of Swat-Cup. All results included in "calibration outputs" will be placed in "Iteration" folder.
Mohsen
--
Mohsen Pourreza Bilondi
Ph.D. Candidate of Hydrology
Dept. of Hydrology &Water Resources
Water Sciences Engineering School
Shahid Chamran University of Ahvaz
Ahvaz, Iran
Cell phone: (+98)-936-467-9689
POBox: 96919-13614

Felix W.

unread,
Jun 26, 2012, 9:40:47 AM6/26/12
to swat...@googlegroups.com
Hallo Mohsen,

thank you for the answer. I know where the Interations are saved. But the output of SWAT-Cup are text files (e.g. best_par.sf2). I want to know if there is an easy way to get the values of best_par.sf2 automatically into the ArcSWAT project mdb. My goal is to give an calibrated ArcSWAT project to someone else!

Thx, Felix


Am Dienstag, 26. Juni 2012 15:13:06 UTC+2 schrieb Mohsen Pourreza Bilondi:
Dear Felix,
I usually save the iteration using the "save iteration" button on main screen of Swat-Cup. All results included in "calibration outputs" will be placed in "Iteration" folder.
Mohsen

Mohsen Pourreza Bilondi

unread,
Jun 26, 2012, 10:09:32 AM6/26/12
to swat...@googlegroups.com
Ok. I got what you want.
I can suggest you to :
1- go to swat edit input menu and select edit sub basin inputs.
2-select a special HRU,(never mind which one..) just select one to "OK" button is enabled.press OK.
3-In edit soil parameters window, you can edit soil parameters which you obtain from swat-cup for selected HRUs (check mark "Extend Edits to selected HRUs")
with this way you can simply change the default soil parameters to calibrated ones.
I hope so this would be helpful.
Mohsen

Mohsen Pourreza Bilondi

unread,
Jun 26, 2012, 10:18:42 AM6/26/12
to swat...@googlegroups.com
OK. I got what you want.

I can suggest you to :
1- in Arcswat, go to swat edit input menu and select edit sub basin inputs.
2-suppose that you want change the soil parameters, then first select  swat input table of soil and then select a special HRU (never mind which one..) just select one to "OK" button is enabled. now press OK.
3-In edit soil parameters window, you can edit soil parameters default values which you obtained from swat-cup for selected HRUs (First check mark "Extend Edits to selected HRUs" so that you will be able to select HRUs)
with this way you can simply change the default soil parameters to calibrated values.
Other parameters e.g., weather,subbasin, HRU and etc... will be changed in this way.

I hope so this would be helpful.
Mohsen

Felix W.

unread,
Jun 26, 2012, 11:13:53 AM6/26/12
to swat...@googlegroups.com
Hej Mohsen.
Thank you again for your fast feedback. :)
The problem is within the parameters I want to change in an relative way. Lets stick to your expamle with the soil parameters. I want to decrease the SOL_AWC of all HRUs and all soil layers by 10%. The "problem" is that the SOL_AWC of "all" HRU's and soil-layers is different. So for example:

HRU1 has an SOL_AWC of 0.2
and HRU2 has 0.1.

- if I decrease it by 10%

HRU1 has 0.18
and HRU2 has 0.09

By the way you suggested it, I can only change the absolute value for selected HRUs. I have to tipe in 0.18 for HRU1 and 0.09 for HRU2. I can not say "decrease" everything by 10%.

At the moment Im copying the SOL_AWC of all HRUs from the project mdb into Excel, multiply the complete column with 0.9 (for 90%) and then copy the new value back into the project mdb.
I just thought SWAT-Cup should give you the opportunity to do this automatically. This would be helpful, especially if you have to change a large number of parameters. Is that maybe possible using the SWAT-Editor? I never tried that tool by myself.

Nevertheless, thank you for your feedback!

Felix




Am Dienstag, 26. Juni 2012 16:18:42 UTC+2 schrieb Mohsen Pourreza Bilondi:
OK. I got what you want.
I can suggest you to :
1- in Arcswat, go to swat edit input menu and select edit sub basin inputs.
2-suppose that you want change the soil parameters, then first select  swat input table of soil and then select a special HRU (never mind which one..) just select one to "OK" button is enabled. now press OK.
3-In edit soil parameters window, you can edit soil parameters default values which you obtained from swat-cup for selected HRUs (First check mark "Extend Edits to selected HRUs" so that you will be able to select HRUs)
with this way you can simply change the default soil parameters to calibrated values.
Other parameters e.g., weather,subbasin, HRU and etc... will be changed in this way.
I hope so this would be helpful.
Mohsen

Karim Abbaspour

unread,
Jun 26, 2012, 11:28:03 AM6/26/12
to swat...@googlegroups.com
Felix,
I also wanted to do this and put the "best" (whatever that means!!) calibrated parameters back in the database. BUT you just pointed out the problem!
Imaging you have many parameters and you parameterized them in more detail, e.g.,
r__SOL_AWC__A__SANDY__FRST__1-20,22,32,....
etc.
etc..
 
You can imagine that you may end up with many thousands of parameters... So this is not practical!!
However, I am open to any suggestions.
Best, Karim

 
-------------------------------------------------
Dr. K.C. Abbaspour
Eawag, Swiss Federal Institute for Aquatic Science and Technology
Ueberlandstr. 133, P.O. Box 611, 8600 Duebendorf, Switzerland
email: abba...@eawag.ch
phone: +41 44 823 5359
fax: +41 44 823 5375
http://www.eawag.ch/index_EN

Mohsen Pourreza Bilondi

unread,
Jun 26, 2012, 11:36:56 AM6/26/12
to swat...@googlegroups.com
Yes, You two are right.
Following the conversation and As Karim pointed out, it is not practical to deal with so many detailed parameters manually.

R Srinivasan

unread,
Jun 26, 2012, 11:43:52 AM6/26/12
to swat...@googlegroups.com
here are my 2 cents.

First of all, with the amount of uncertainty in the inputs, one should not try to optimize the parameter set at the hru level, it could be by landuse/subbasin...may be at hru level with justification.

In ArcSWAT, using manual calibration helper (it does not have all the parameters you want to adjust from the calibration dataset, but this will change in the future to include most of the parameters in swat-cup in the manual calibration helper) you could update the calibration parameters, then rewrite the input files, rerun the model, read the results/including saving the model should give you a calibrated model dataset.


Hope this helps.

Srini
Reply all
Reply to author
Forward
0 new messages