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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Section 9: CALPUFF<br />

9.14 Mass Flux Boundary D<strong>at</strong>a File (FLUXBDY.DAT)<br />

When the IMFLX variable in Input <strong>Group</strong> 5 <strong>of</strong> the control file is 1, CALPUFF will compute the hourly<br />

mass th<strong>at</strong> crosses boundaries specified in the external file FLUXBDY.DAT. This file contains a set <strong>of</strong><br />

points th<strong>at</strong> serve to define one or more boundaries th<strong>at</strong> separ<strong>at</strong>e regions. <strong>The</strong> mass is said to either pass<br />

into or out <strong>of</strong> a region depending on how the user defines "in" and "out" for each boundary. Multiple<br />

boundaries (up to "MXBNDRY", see the PARAMS.PUF file) are allowed within a single file.<br />

<strong>The</strong> FLUXBDY.DAT file is a sequential, form<strong>at</strong>ted d<strong>at</strong>a file (see <strong>Table</strong> 9-48 for an example) consisting<br />

<strong>of</strong> two types <strong>of</strong> records: a single header record and a variable number <strong>of</strong> sets <strong>of</strong> d<strong>at</strong>a records. Each set <strong>of</strong><br />

d<strong>at</strong>a records includes one record th<strong>at</strong> establishes which side <strong>of</strong> the boundary is considered "in" and<br />

provides a name for the boundary, and a variable number <strong>of</strong> records containing the coordin<strong>at</strong>es (km) <strong>of</strong><br />

each point defining the boundary.<br />

<strong>The</strong> side <strong>of</strong> the boundary th<strong>at</strong> is considered "in" may lie either to the left or the right <strong>of</strong> the boundary as<br />

one travels in the direction <strong>of</strong> the d<strong>at</strong>a points provided in the file. <strong>The</strong> choice is made by specifying either<br />

IR to indic<strong>at</strong>e th<strong>at</strong> the region to the right is inside, or by specifying IL to indic<strong>at</strong>e th<strong>at</strong> the region to the left<br />

is inside.<br />

FLUXBDY.DAT File - Header Record<br />

<strong>The</strong> header record <strong>of</strong> the FLUXBDY.DAT file contains the name, version, and label <strong>of</strong> the d<strong>at</strong>a set, the<br />

UTM zone <strong>of</strong> the coordin<strong>at</strong>es, and the number <strong>of</strong> boundaries defined in the file (see <strong>Table</strong> 9-49). A<br />

sample Fortran read st<strong>at</strong>ement for the header record is:<br />

READ(iunit,*)DATATYPE,NBNDRY,IUTMBDY,VRSBDY,LABBDY<br />

where the following declar<strong>at</strong>ion applies:<br />

CHARACTER*12 DATATYPE,VRSBDY,LABBDY.<br />

9-233

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

Saved successfully!

Ooh no, something went wrong!