29.01.2015 Views

CALPUFF and Postprocessors

CALPUFF and Postprocessors

CALPUFF and Postprocessors

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

management functions; <strong>and</strong> it contains an extensive help system that makes much of the information in<br />

this manual available to the user on-line. When using the GUI, the source data <strong>and</strong> receptor information<br />

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

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

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

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

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

control file transferred to a workstation or a mainframe computer for computationally intensive<br />

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

system.<br />

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

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

extensive self-documenting statements contained in the st<strong>and</strong>ard 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 />

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

executed from the comm<strong>and</strong> line. Note, however, that the GUI always writes the st<strong>and</strong>ard comments to<br />

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

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

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

comments are to be saved. This feature of the GUI can be used to create a new copy of the st<strong>and</strong>ard<br />

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

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

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

Table F-1, the major Input Groups are defined along functional lines (e.g., technical options, output<br />

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

variables, subgrid scale hill descriptions, or discrete receptor information. The number of subgroups<br />

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

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

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

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

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

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

The control file processor searches for pairs of special delimiter characters (!). All text outside the<br />

delimiters is assumed to be optional documentation <strong>and</strong> is echoed back but otherwise ignored by the input<br />

module. Only data within the delimiter characters is processed. The input data consists of a leading<br />

delimiter followed by the variable name, equals sign, input value or values, <strong>and</strong> a terminating delimiter<br />

(e.g., !XX = 12.5 !). The variable name can be lower or upper case, or a mixture of both (i.e., XX, xx, Xx<br />

MAR 2006 – <strong>CALPUFF</strong><br />

F-2

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

Saved successfully!

Ooh no, something went wrong!