29.01.2015 Views

Table of Contents - The Atmospheric Studies Group at TRC

Table of Contents - The Atmospheric Studies Group at TRC

Table of Contents - The Atmospheric Studies Group at TRC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Section 9: CALPUFF<br />

options, output options, etc.). CALPUFF.INP may be cre<strong>at</strong>ed/edited directly using a conventional editor,<br />

or it may be cre<strong>at</strong>ed/edited indirectly by means <strong>of</strong> the PC-based, Windows-comp<strong>at</strong>ible Graphical User<br />

Interface (GUI) developed for CALPUFF.<br />

<strong>The</strong> CALPUFF GUI not only prepares the control file, it also executes the model and facilit<strong>at</strong>es file<br />

management functions; and it contains an extensive help system th<strong>at</strong> makes much <strong>of</strong> the inform<strong>at</strong>ion in<br />

this manual available to the user on-line. When using the GUI, the source d<strong>at</strong>a and receptor inform<strong>at</strong>ion<br />

required for a CALPUFF run can be entered through the edit screens or read from external ASCII files<br />

(spreadsheet-comp<strong>at</strong>ible). Each source type (points, areas, volumes, and lines) contains an external<br />

ASCII file form<strong>at</strong> description and sample file in the help system.<br />

Although the model can be set up and run entirely within the GUI system, the interface is designed to<br />

always cre<strong>at</strong>e the ASCII CALPUFF.INP file. This allows runs to be set up on PC-based systems and the<br />

control file transferred to a workst<strong>at</strong>ion or a mainframe computer for comput<strong>at</strong>ionally intensive<br />

applic<strong>at</strong>ions. <strong>The</strong> ASCII CALPUFF.INP file should be directly transportable to virtually any non-PC<br />

system.<br />

When CALPUFF is setup and run entirely on a non-PC system, or if the GUI is not used on a PC, the<br />

control file CALPUFF.INP may be configured by using a conventional editor. This is facilit<strong>at</strong>ed by the<br />

extensive self-documenting st<strong>at</strong>ements contained in the standard file. As explained further below, more<br />

comments can be readily added by the user to document specific parameter choices used in the run.<br />

<strong>The</strong>se comments remain in the file, and are reported to the CALPUFF list file when CALPUFF is<br />

executed from the command line. Note, however, th<strong>at</strong> the GUI always writes the standard comments to<br />

CALPUFF.INP, and ignores any additional text. Furthermore, the control file is always upd<strong>at</strong>ed by the<br />

GUI, even if the GUI is only used to run CALPUFF without altering the technical content <strong>of</strong> the control<br />

file. Thus, the user must save the control file to another filename prior to using the GUI if non-standard<br />

comments are to be saved. This fe<strong>at</strong>ure <strong>of</strong> the GUI can be used to cre<strong>at</strong>e a new copy <strong>of</strong> the standard<br />

control file by merely saving a “new file” to disk, so a fresh version <strong>of</strong> the control file is always available.<br />

<strong>The</strong> control file is organized into 18 major Input <strong>Group</strong>s and a variable number <strong>of</strong> subgroups within<br />

several <strong>of</strong> the major Input <strong>Group</strong>s. <strong>The</strong> first three lines <strong>of</strong> the input file consist <strong>of</strong> a run title. As shown in<br />

<strong>Table</strong> 9-1, the major Input <strong>Group</strong>s are defined along functional lines (e.g., technical options, output<br />

options, subgrid scale, complex terrain inputs, etc.). Each subgroup contains a set <strong>of</strong> d<strong>at</strong>a such as source<br />

variables, subgrid scale hill descriptions, or discrete receptor inform<strong>at</strong>ion. <strong>The</strong> number <strong>of</strong> subgroups<br />

varies with the number <strong>of</strong> sources, hills, etc., in the model run.<br />

A sample control file is shown in <strong>Table</strong> 9-2. <strong>The</strong> control file is read by a set <strong>of</strong> Fortran text processing<br />

routines contained within CALPUFF which allow the user considerable flexibility in designing and<br />

customizing the input file. An unlimited amount <strong>of</strong> optional descriptive text can be inserted within the<br />

control file to make it self-documenting. For example, the definition, allowed values, units, and default<br />

value <strong>of</strong> each input variable can be included within the control file.<br />

9-2

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

Saved successfully!

Ooh no, something went wrong!