10.1 Display Scripting




When Execute Display is pressed, the GUI script automatically creates a concplot script file (.bat in windows or .sh in unix) with all the command line options set in the GUI. See your working directory for a current example or from the tutorial files directory, open concplot.bat in notepad and edit the options to create more complex displays than supported by the GUI by replacing one of the non-set switches (-:) with a new command line argument.

All HYSPLIT programs are in the \exec directory. To see the options associated with concplot, from the hysplit\working directory type: ..\exec\concplot without any arguments which yields a very long list of command line options. Only some of these are available through the GUI, but all of them could be implemented through the command line or script.

Run the batch file from either Windows Explorer or from the command line and then open the output file, concplot.html, to see the revised display. Note that from Windows Explorer it is necessary to add the statement cd /hysplit/working at the start of the batch file.

If a python display is run through the GUI under Windows, for either trajectories or concentration, a batch file called pyhook.bat or .sh will be created in the working directory. This script file can be run outside of the GUI to recreate the graphic. If desired, the command line options can also be edited to optimize the display.

1 s