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

29.01.2015 Views

Section 10: POSTPROCESSORS Table 10-9: POSTUTIL Input and Output Files Unit Default File Name Type Format Description in2 POSTUTIL.INP input formatted Control file containing user inputs in1 CALPUFF.DAT input unformatted First CALPUFF format data file containing modeled concentration or deposition flux data in1 +(n-1) (none) input unformatted Last of "n" CALPUFF format data files containing modeled concentration or deposition flux data in4 MET.DAT input unformatted Optional file of meteorological data from CALMET in5 MET_1D.DAT input unformatted Optional file of meteorological data as a 1-dimensional file in5 RHUMD.DAT input unformatted Optional file of surface relative humidity as a 2-dimensional file (output of CALPUFF) in6 TEMP.DAT input unformatted Optional file of surface temperature as a 2-dimensional file (output of CALPUFF) in7 RHOAIR.DAT input unformatted Optional file of surface density as a 2- dimensional file (output of CALPUFF) in8 BCKGALM.DAT input unformatted Optional file of background concentrations such as SO 4 , NO 3 , HNO 3 and TNH 3 io1 POSTUTIL.LST output formatted List file containing POSTUTIL application information io2 MODEL.DAT output unformatted Data file containing POSTUTIL results (CALPUFF format) 10-17

Section 10: POSTPROCESSORS 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 132 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 10-10. A sample control file that illustrates a common POSTUTIL application for obtaining total sulfur and total nitrogen deposition fluxes is provided in Table 10-11. 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 to 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! 10-18

Section 10: POSTPROCESSORS<br />

<strong>Table</strong> 10-9:<br />

POSTUTIL Input and Output Files<br />

Unit Default File Name Type Form<strong>at</strong> Description<br />

in2 POSTUTIL.INP input form<strong>at</strong>ted Control file containing user inputs<br />

in1 CALPUFF.DAT input unform<strong>at</strong>ted First CALPUFF form<strong>at</strong> d<strong>at</strong>a file<br />

containing modeled concentr<strong>at</strong>ion or<br />

deposition flux d<strong>at</strong>a<br />

in1<br />

+(n-1)<br />

(none) input unform<strong>at</strong>ted Last <strong>of</strong> "n" CALPUFF form<strong>at</strong> d<strong>at</strong>a<br />

files containing modeled<br />

concentr<strong>at</strong>ion or deposition flux d<strong>at</strong>a<br />

in4 MET.DAT input unform<strong>at</strong>ted Optional file <strong>of</strong> meteorological d<strong>at</strong>a<br />

from CALMET<br />

in5 MET_1D.DAT input unform<strong>at</strong>ted Optional file <strong>of</strong> meteorological d<strong>at</strong>a as<br />

a 1-dimensional file<br />

in5 RHUMD.DAT input unform<strong>at</strong>ted Optional file <strong>of</strong> surface rel<strong>at</strong>ive<br />

humidity as a 2-dimensional file<br />

(output <strong>of</strong> CALPUFF)<br />

in6 TEMP.DAT input unform<strong>at</strong>ted Optional file <strong>of</strong> surface temper<strong>at</strong>ure as<br />

a 2-dimensional file (output <strong>of</strong><br />

CALPUFF)<br />

in7 RHOAIR.DAT input unform<strong>at</strong>ted Optional file <strong>of</strong> surface density as a 2-<br />

dimensional file (output <strong>of</strong><br />

CALPUFF)<br />

in8 BCKGALM.DAT input unform<strong>at</strong>ted Optional file <strong>of</strong> background<br />

concentr<strong>at</strong>ions such as SO 4 , NO 3 ,<br />

HNO 3 and TNH 3<br />

io1 POSTUTIL.LST output form<strong>at</strong>ted List file containing POSTUTIL<br />

applic<strong>at</strong>ion inform<strong>at</strong>ion<br />

io2 MODEL.DAT output unform<strong>at</strong>ted D<strong>at</strong>a file containing POSTUTIL<br />

results (CALPUFF form<strong>at</strong>)<br />

10-17

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

Saved successfully!

Ooh no, something went wrong!