CentralValleyModeling / CalLiteGUI

CalLite GUI-Model package. This Repo is for GUI development.
2 stars 3 forks source link

Modify FileAction.setupAndRun to read settings from passed scenario file instead of SwingEngine #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In preparation for batch runs, modify this method to read scenario settings in 
from the passed scenario file ("scen") instead of taking them from the current 
SwingEngine ("swix") settings. This will probably require saving the current 
swix settings (to string buffer or to file?) prior to reading the scenario to 
run,  then restoring those settings after the run is started.

Control of a simple batch set could be handled with a "Batch Run" button that 
brings up a file selection dialog for the user to specify a set of scenarios to 
run. The selected scenarios can then be iterated over and passed to 
setupAndRun. 

Climate and other sensitivities should be able to be handled programmatically, 
with the user specifying a base scenario and adjustments then made to swix 
setting according to the appropriate control dialogs. Input is needed from 
Nazrul and others on this to confirm logic, but one  possibility is to have an 
additional getActionCommand clause in FileAction.actionPerformed.

Original issue reported on code.google.com by Tad.Slawecki@gmail.com on 26 Nov 2012 at 3:32

GoogleCodeExporter commented 9 years ago
Work done by both Kevin and Tad across multiple revisions - marked as "fixed" 
during 5/28/2013 review of issues.

Original comment by Tad.Slawecki@gmail.com on 28 May 2013 at 9:58

GoogleCodeExporter commented 9 years ago

Original comment by Tad.Slawecki@gmail.com on 28 May 2013 at 9:58

GoogleCodeExporter commented 9 years ago

Original comment by Tad.Slawecki@gmail.com on 30 May 2013 at 1:43