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-45:<br />

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

No. Variable Type a Description Sample<br />

Values<br />

1 FNAMEC C*12 D<strong>at</strong>a set name COASTLN<br />

2 NCOAST integer Number <strong>of</strong> coastlines in the file 2<br />

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

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

19<br />

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

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

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

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

<strong>The</strong> COASTLN.DAT file contains "NCOAST" groups <strong>of</strong> coastal 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-46) followed by a variable number <strong>of</strong><br />

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

coastline. <strong>The</strong> number <strong>of</strong> coastlines (NCOAST) must not exceed the maximum number specified in the<br />

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

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

MXPTCST variables.<br />

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

┌─ Loop over "NCOAST" coastlines (i)<br />

│<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 coastlines<br />

9-230

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

Saved successfully!

Ooh no, something went wrong!