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 9: CALPUFF 9-310

Section 9: CALPUFF Table 9-58 (Concluded) Unformatted VISB.DAT file - Header Header Record NCOM+15 - Volume Source Names (Variable Emissions File) (Included only if NVL2 > 0) No. Variable Type Description 1 ISTYPE integer Source type (8) 2 CNAMVL2 C*16 array Source names C*16 = Character*16 VISB.DAT File - Data Records The VISB.DAT data records consist of a set of "NVSOUT+1" records for each hour of the CALPUFF runs (where NVSOUT is always one). The first record of each set contains the date and hour of the data in the records which follow it. The next "NVSOUT" records contain the relative humidity reported in % at each meteorological surface station if I2DRH=0, or at each sampling grid cell if I2DRH=1 (see Table 9-59). Sample FORTRAN read statements for the data records are: READ(iunit)nyrb,njulb,nhrb,nsecb,nyre,njule,nhre,nsece READ(iunit) istype,isnum,sname,sxkm,sykm IF(I2DRH.EQ.0) THEN READ(iunit)CNAME,IRHSS ELSE READ(iunit)CNAME,IRH2D ENDIF where the following declarations apply: Character*15 CNAME Integer IRHSS(NSSTA) Integer IRH2D(nxm,nym) 9-311

Section 9: CALPUFF<br />

<strong>Table</strong> 9-58 (Concluded)<br />

Unform<strong>at</strong>ted VISB.DAT file - Header<br />

Header Record NCOM+15 - Volume Source Names (Variable Emissions File)<br />

(Included only if NVL2 > 0)<br />

No. Variable Type Description<br />

1 ISTYPE integer Source type (8)<br />

2 CNAMVL2 C*16 array Source names<br />

C*16 = Character*16<br />

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

<strong>The</strong> VISB.DAT d<strong>at</strong>a records consist <strong>of</strong> a set <strong>of</strong> "NVSOUT+1" records for each hour <strong>of</strong> the CALPUFF<br />

runs (where NVSOUT is always one). <strong>The</strong> first record <strong>of</strong> each set contains the d<strong>at</strong>e and hour <strong>of</strong> the d<strong>at</strong>a<br />

in the records which follow it. <strong>The</strong> next "NVSOUT" records contain the rel<strong>at</strong>ive humidity reported in %<br />

<strong>at</strong> each meteorological surface st<strong>at</strong>ion if I2DRH=0, or <strong>at</strong> each sampling grid cell if I2DRH=1 (see <strong>Table</strong><br />

9-59).<br />

Sample FORTRAN read st<strong>at</strong>ements for the d<strong>at</strong>a records are:<br />

READ(iunit)nyrb,njulb,nhrb,nsecb,nyre,njule,nhre,nsece<br />

READ(iunit) istype,isnum,sname,sxkm,sykm<br />

IF(I2DRH.EQ.0) THEN<br />

READ(iunit)CNAME,IRHSS<br />

ELSE<br />

READ(iunit)CNAME,IRH2D<br />

ENDIF<br />

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

Character*15 CNAME<br />

Integer IRHSS(NSSTA)<br />

Integer IRH2D(nxm,nym)<br />

9-311

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

Saved successfully!

Ooh no, something went wrong!