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 />

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

FLUXBDY.DAT - Header Record - General D<strong>at</strong>a<br />

No. Variable Type a Description Sample<br />

Values<br />

1 DATATYPE C*12 D<strong>at</strong>a set name FLUXBDY<br />

2 NBNDRY integer Number <strong>of</strong> boundaries in the file 2<br />

3 ITUMBDY integer UTM zone in which boundary coordin<strong>at</strong>es are specified<br />

(enter 0 if using Lambert conformal coordin<strong>at</strong>es)<br />

19<br />

4 VRSBDY C*12 D<strong>at</strong>a set version "5"<br />

5 LABBDY C*12 D<strong>at</strong>a set label "Test"<br />

a C*12 = Character*12<br />

FLUXBDY.DAT File - D<strong>at</strong>a Records<br />

<strong>The</strong> FLUXBDY.DAT file contains "NBNDRY" groups <strong>of</strong> boundary coordin<strong>at</strong>es and rel<strong>at</strong>ed d<strong>at</strong>a. Each<br />

group <strong>of</strong> records consists <strong>of</strong> a single d<strong>at</strong>a header record (see <strong>Table</strong> 9-50) followed by a variable number <strong>of</strong><br />

d<strong>at</strong>a records (see <strong>Table</strong> 9-51) containing the X and Y coordin<strong>at</strong>es <strong>of</strong> each point used to define the<br />

boundary. <strong>The</strong> number <strong>of</strong> boundaries (NBNDRY) must not exceed the maximum number specified in<br />

the parameter file (MXBNDRY), and the number <strong>of</strong> points used to define a boundary must not exceed its<br />

maximum (MXPTBDY). See the PARAMS.PUF file for the specific<strong>at</strong>ion <strong>of</strong> the MXBNDRY and<br />

MXPTBDY variables.<br />

Sample Fortran read st<strong>at</strong>ements for FLUXBDY.DAT d<strong>at</strong>a records are:<br />

┌ Loop over "NBNDRY" boundaries (i)<br />

│<br />

│ READ(iunit,*)ADIR, ALABEL<br />

│<br />

│ ┌ Loop over d<strong>at</strong>a points (j)<br />

│ │<br />

│ │ READ(iunit,*)XKM(i,j), YKM(i,j)<br />

│ │<br />

│ └ End loop over d<strong>at</strong>a points<br />

│<br />

└ End loop over boundaries<br />

where the following declar<strong>at</strong>ions apply:<br />

9-235

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

Saved successfully!

Ooh no, something went wrong!