CALPUFF and Postprocessors

CALPUFF and Postprocessors CALPUFF and Postprocessors

29.01.2015 Views

The name and full path of each file (except one) is assigned in the control file. The exception, the control filename itself, is assigned on the command line. For example, on a DOS system, POSTUTIL d:\MYWORK\UTIL1.INP will execute the POSTUTIL code in the current working directory, and read the input and output filenames for the current run from the control file UTIL1.INP in the directory d:\MYWORK. If the control filename is not specified on the command line, the default control filename (i.e., POSTUTIL.INP in the current working directory) will be used. The total number of characters in the path and filename can be up to 70 characters. The POSTUTIL control file is configured using any standard text editor (e.g., NOTEPAD). It uses the general CALPUFF control file structures, containing several input groups with module inputs set within a pair of special delimiter characters (!). All documentation associated with these inputs is written outside of these delimiters. A description of each input variable is shown in Table G-17. A sample control file that illustrates a common POSTUTIL application for obtaining total sulfur and total nitrogen deposition fluxes is provided in Table G-18. The top of the control file contains three lines that are reserved for identifying the application. These lines are written to the output file, and become part of the documentation in subsequent processing. Input Group: 0 Input Group 0 identifies the input and output files for the application. The output consists of a list file that documents how this application of POSTUTIL is configured, and a data file that is identical in form to the binary data files created by CALPUFF. In this sample, the data file is given the generic name 'cpuf.flx' (!UTLDAT = CPUF.FLX!) to indicate that wet and dry fluxes are summed, and that total sulfur and total nitrogen are added the list of species in the file. The list file is given the default name (!UTLLST = POSTUTIL.LST!). More specific names should be used in typical applications. Input files include one or more CALMET meteorological data files and one or more CALPUFF binary files. A CALMET file is not needed for this application because no nitrate partitioning will be calculated (MNITRATE=0), but is included in the control file to illustrate the format. Two CALPUFF binary files are needed for this application: one for the dry deposition flux, and one for the wet deposition flux. Therefore !NFILES = 2! and two filenames are provided in Subgroup 0b: ! MODDAT =WFLX.DAT ! !END! ! MODDAT =DFLX.DAT ! !END! MAR 2006 -- PostProc G-40

Table G-17 POSTUTIL Control File Inputs - Input Group 0 Input and Output File Names Variable Type Description Default UTLLST character*70 File name of list file of information output from POSTUTIL application, including path if desired UTLDAT character*70 File name of CALPUFF format data file created by POSTUTIL application, including path if desired POSTUTIL.LST MODEL.DAT NMET integer Number of CALMET data files input for processing 0 NFILES integer Number of CALPUFF data files input for processing 1 LCFILES logical Control flag for converting file names to lower case if T, or to upper case if F UTLMET character*70 NMET file names of CALMET data files needed by POSTUTIL application, including path if desired (used only if MNITRATE = 1) MODDAT character*70 NFILES file names of CALPUFF data files processed by POSTUTIL application, including path if desired T MET.DAT CALPUFF.DAT MAR 2006 -- PostProc G-41

Table G-17<br />

POSTUTIL Control File Inputs - Input Group 0<br />

Input <strong>and</strong> Output File Names<br />

Variable Type Description Default<br />

UTLLST character*70 File name of list file of information output from<br />

POSTUTIL application, including path if desired<br />

UTLDAT character*70 File name of <strong>CALPUFF</strong> format data file created by<br />

POSTUTIL application, including path if desired<br />

POSTUTIL.LST<br />

MODEL.DAT<br />

NMET integer Number of CALMET data files input for processing 0<br />

NFILES integer Number of <strong>CALPUFF</strong> data files input for processing 1<br />

LCFILES logical Control flag for converting file names to lower case if<br />

T, or to upper case if F<br />

UTLMET character*70 NMET file names of CALMET data files needed by<br />

POSTUTIL application, including path if desired (used<br />

only if MNITRATE = 1)<br />

MODDAT character*70 NFILES file names of <strong>CALPUFF</strong> data files processed<br />

by POSTUTIL application, including path if desired<br />

T<br />

MET.DAT<br />

<strong>CALPUFF</strong>.DAT<br />

MAR 2006 -- PostProc<br />

G-41

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

Saved successfully!

Ooh no, something went wrong!