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 10: POSTPROCESSORS<br />

<strong>The</strong> name and full p<strong>at</strong>h <strong>of</strong> each file (except one) is assigned in the control file. <strong>The</strong> exception, the control<br />

filename itself, is assigned on the command line. For example, on a DOS system,<br />

POSTUTIL d:\MYWORK\UTIL1.INP<br />

will execute the POSTUTIL code in the current working directory, and read the input and output<br />

filenames for the current run from the control file UTIL1.INP in the directory d:\MYWORK. If the<br />

control filename is not specified on the command line, the default control filename (i.e., POSTUTIL.INP<br />

in the current working directory) will be used. <strong>The</strong> total number <strong>of</strong> characters in the p<strong>at</strong>h and filename<br />

can be up to 132 characters.<br />

<strong>The</strong> POSTUTIL control file is configured using any standard text editor (e.g., NOTEPAD). It uses the<br />

general CALPUFF control file structures, containing several input groups with module inputs set within a<br />

pair <strong>of</strong> special delimiter characters (!). All document<strong>at</strong>ion associ<strong>at</strong>ed with these inputs is written outside<br />

<strong>of</strong> these delimiters. A description <strong>of</strong> each input variable is shown in <strong>Table</strong> 10-10.<br />

A sample control file th<strong>at</strong> illustr<strong>at</strong>es a common POSTUTIL applic<strong>at</strong>ion for obtaining total sulfur and total<br />

nitrogen deposition fluxes is provided in <strong>Table</strong> 10-11. <strong>The</strong> top <strong>of</strong> the control file contains three lines th<strong>at</strong><br />

are reserved for identifying the applic<strong>at</strong>ion. <strong>The</strong>se lines are written to the output file, and become part <strong>of</strong><br />

the document<strong>at</strong>ion in subsequent processing.<br />

Input <strong>Group</strong>: 0<br />

Input <strong>Group</strong> 0 identifies the input and output files for the applic<strong>at</strong>ion. <strong>The</strong> output consists <strong>of</strong> a list file<br />

th<strong>at</strong> documents how this applic<strong>at</strong>ion <strong>of</strong> POSTUTIL is configured, and a d<strong>at</strong>a file th<strong>at</strong> is identical in form<br />

to the binary d<strong>at</strong>a files cre<strong>at</strong>ed by CALPUFF. In this sample, the d<strong>at</strong>a file is given the generic name<br />

'cpuf.flx' (!UTLDAT = CPUF.FLX!) to indic<strong>at</strong>e th<strong>at</strong> wet and dry fluxes are summed, and th<strong>at</strong> total sulfur<br />

and total nitrogen are added to the list <strong>of</strong> species in the file. <strong>The</strong> list file is given the default name<br />

(!UTLLST = POSTUTIL.LST!). More specific names should be used in typical applic<strong>at</strong>ions.<br />

Input files include one or more CALMET meteorological d<strong>at</strong>a files and one or more CALPUFF binary<br />

files. A CALMET file is not needed for this applic<strong>at</strong>ion because no nitr<strong>at</strong>e partitioning will be calcul<strong>at</strong>ed<br />

(MNITRATE=0), but is included in the control file to illustr<strong>at</strong>e the form<strong>at</strong>. Two CALPUFF binary files<br />

are needed for this applic<strong>at</strong>ion: one for the dry deposition flux, and one for the wet deposition flux.<br />

<strong>The</strong>refore !NFILES = 2! and two filenames are provided in Subgroup 0b:<br />

! MODDAT =WFLX.DAT ! !END!<br />

! MODDAT =DFLX.DAT ! !END!<br />

10-18

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

Saved successfully!

Ooh no, something went wrong!