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 9: CALPUFF<br />

9.15.7 Debug Puff-Tracking File (DEBUG.DAT)<br />

CALPUFF contains a debug option to report much inform<strong>at</strong>ion about each selected puff as it is<br />

transported and sampled over a number <strong>of</strong> modeling periods. Most <strong>of</strong> this extra inform<strong>at</strong>ion is<br />

written to the CALPUFF list file (see Section 9.15.1). A limited set <strong>of</strong> puff inform<strong>at</strong>ion is also<br />

written to DEBUG.DAT each sampling step when the debug option is selected. <strong>The</strong> purpose <strong>of</strong><br />

this file is to provide puff characteristics <strong>at</strong> the end <strong>of</strong> each sampling step so th<strong>at</strong> its loc<strong>at</strong>ion and<br />

size can be reviewed to visualize the combined effects <strong>of</strong> transport and diffusion <strong>at</strong> specific times.<br />

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

consisting <strong>of</strong> two types <strong>of</strong> records: two header records and a variable number <strong>of</strong> sets <strong>of</strong> d<strong>at</strong>a<br />

records. <strong>The</strong> header records name the variables th<strong>at</strong> are reported in the d<strong>at</strong>a records (see <strong>Table</strong> 9-<br />

61). Each d<strong>at</strong>a record provides inform<strong>at</strong>ion about a single puff <strong>at</strong> the end <strong>of</strong> a single sampling<br />

step. While there may be many sampling steps over the course <strong>of</strong> an hour, the time reported for<br />

each is the end-time <strong>of</strong> the current hour.<br />

A series <strong>of</strong> nested loops controls the sequence in which the d<strong>at</strong>a records are written to the file.<br />

<strong>The</strong> outermost loop is over the number <strong>of</strong> modeling periods (hours) for which debug output is<br />

selected. Within this is a loop over the range <strong>of</strong> puffs th<strong>at</strong> has been selected. <strong>The</strong> innermost loop<br />

is over the sampling steps for each <strong>of</strong> these puffs. Because the puff ID and the d<strong>at</strong>e and time are<br />

included in each record, this structure is readily discerned.<br />

Records for individual puffs are written during the selected modeling period only while th<strong>at</strong> puff<br />

exists on the comput<strong>at</strong>ional grid. It is not tracked before it is emitted, and it is not tracked once it<br />

leaves the modeling domain.<br />

9-314

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

Saved successfully!

Ooh no, something went wrong!