Now you will learn how to set up a plot script to plot some data.

  1. Select the Setup tab.
  2. Open the watershed's shared folder.
    1. Right click the Watershed folder in the Setup tab and select Browse Watershed Folder.
      CAVI - Browse to Watershed Folder
    2. Open the shared folder in the file explorer. Leave the explorer window open for later steps.
      Scripts Directory
  3. Select the Modeling tab.
  4. Select Open from the Forecast menu and choose the forecast CWMS Graphics and Scripting.
  5. Select Editor from Scripts menu to launch the Script Editor.
  6. Click the new script tool  from the tool bar.
  7. Enter CAVI3_Utils in the New Script dialog and click the OK button.
  8. Return to the file explorer (step 2 b) and double-click the CAVI3_Utils.txt to open the file in Notepad.
  9. Using standard copy/paste methods, copy all the text from the CAVI3_Utils.txt into the Editor Pane of the Script Editor.
  10. Click the Compile Script button. This step is not really necessary but is useful here because the CAVI takes a long time to compile its first script, but after that initial process it is very quick.
  11. After a moment or two, you should see the message shown below.
    Compile Script Popup
  12. Click OK to dismiss the message.
  13. Click the Save button on the Script Editor to save your new script.
  14. Close Notepad.
  15. Use the same method to create a new script named Stage+Flow. 

    1. The script can be found in the Stage+Flow.txt file saved in the watershed's shared folder.

    2. Save the Script and Close the Editor.

The Stage+Flow script is the one you will use for this workshop. The CAVI3_Utils script contains helper routines used by Stage+Flow.