12.07.2015 Views

Precipitation-Runoff and Streamflow-Routing Models for the ...

Precipitation-Runoff and Streamflow-Routing Models for the ...

Precipitation-Runoff and Streamflow-Routing Models for the ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX 13. PROGRAMMING STEPS FOR RUNNING THE SCENARIO GENERATORThe scenario generator executable file is called: willamsg. The control file <strong>for</strong> <strong>the</strong> program, whichmust be in <strong>the</strong> same directory, is called: willam.staThe user activates <strong>the</strong> scenario generator by typing: willamsgAfter <strong>the</strong> main menu appears, arrow keys are used to move <strong>the</strong> cursor to different options. The F2key is <strong>the</strong>n used to activate any option.The current layout <strong>for</strong> this study uses flow as <strong>the</strong> only item <strong>for</strong> display as a ‘scenario.’ However,<strong>the</strong> user can add new ‘scenarios’ such as different water-quality constituents by adding this data to<strong>the</strong> wdmfile <strong>and</strong> making modifications to <strong>the</strong> willam.sta file.The flow sites <strong>for</strong> display may be selected ei<strong>the</strong>r using ‘Map-basin’ or ‘Location’ submenus.If <strong>the</strong> ‘Map-basin’ option is selected, a map of <strong>the</strong> Willamette Basin will appear. The user canselect individual flow sites with <strong>the</strong> left mouse button. To go back to <strong>the</strong> menu window, it is necessaryto click on ‘RETURN’ located on <strong>the</strong> bottom of <strong>the</strong> map window.If <strong>the</strong> ‘Location’ option is used, <strong>the</strong> flow site is selected from a list.After <strong>the</strong> flow site is selected, <strong>the</strong> user selects ‘Graph-produce’ submenu to view a hydrograph orflow duration plot. The period of record to be viewed is designated in this submenu under ‘Units<strong>and</strong>time span of plot’. The ‘Axis-type <strong>and</strong> scale’ option allows <strong>the</strong> user to select an arithmetic orlogarithmic scale axis.The file ‘willamsg.sta’ contains <strong>the</strong> operation settings of <strong>the</strong> scenario generator. Details about thisfile are provided in <strong>the</strong> following page. The user can use two versions of <strong>the</strong> willamsg.sta file. In<strong>the</strong> wdmfile subdirectory <strong>the</strong>re are <strong>the</strong> files: calibration.sta <strong>and</strong> network.sta. The calibration.stafile contains 40 flow locations, while <strong>the</strong> network.sta file contains only <strong>the</strong> outlet flow locations<strong>for</strong> 12 stream networks. The user can select ei<strong>the</strong>r file by copying it.cp network.sta willamsg.sta or, cp calibration.sta willamsg.staThe Scenario Generator *.sta fileThe scenario generator *.sta file is a file containing in<strong>for</strong>mation about <strong>the</strong> current state of <strong>the</strong> scenariogenerator. This file is read when <strong>the</strong> scenario generator is initialized, <strong>and</strong> it is written justbe<strong>for</strong>e returning to <strong>the</strong> operating system. The *.sta file contains some general in<strong>for</strong>mation necessaryto <strong>the</strong> operation of <strong>the</strong> scenario generator as well as detailed in<strong>for</strong>mation about <strong>the</strong> scenariomapping specifications, <strong>and</strong> plot specifications. This file is updated when leaving <strong>the</strong> scenariogenerator; thus any change in <strong>the</strong>se specifications made during a scenario generator run will be“remembered” <strong>for</strong> subsequent runs. The *.sta file is designed such that, after being set up <strong>for</strong> aparticular scenario generator, <strong>the</strong> file should be transparent to <strong>the</strong> user.186

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!