29.01.2015 Views

CALPUFF and Postprocessors

CALPUFF and Postprocessors

CALPUFF and Postprocessors

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.

WFLX.DAT File - Data Records<br />

The WFLX.DAT data records consist of a set of "NWFOUT+1" records for each hour of the <strong>CALPUFF</strong><br />

runs (NWFOUT is the number of species flagged as being stored in the output file). The first record of<br />

each set contains the date <strong>and</strong> hour of the data in the records which follow it. The next "NWFOUT"<br />

records contain predicted one-hour averaged wet deposition fluxes in g/m 2 /s for each relevant species (see<br />

Table F-57).<br />

Sample FORTRAN read statements for the data records (in uncompressed format) are:<br />

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

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

+)) LOOP OVER WET DEPOSITED SPECIES STORED ON DISK<br />

*<br />

*<br />

* GRIDDED RECEPTOR WET FLUXES<br />

* IF(LSGRID)READ(iunit)CWFG,WFLXG<br />

*<br />

*<br />

* DISCRETE RECEPTOR WET FLUXES<br />

* IF(NDREC.GT.0)READ(iunit)CWFD,WFLXD<br />

*<br />

*<br />

.)) END LOOP OVER WET DEPOSITED SPECIES STORED ON DISK<br />

where the following declarations apply:<br />

<strong>and</strong><br />

Character*15 CWFG,CWFD<br />

Real WFLXG(nxg,nyg),WFLXD(NDREC)<br />

nxg = IESAMP - IBSAMP+1<br />

nyg = JESAMP - JBSAMP+1<br />

<strong>CALPUFF</strong> contains an option to compress the data by replacing strings of zeroes with a coded repetition<br />

factor. The factor is a negative number whose absolute value indicates the number of consecutive zeroes<br />

that have been replaced by the repetition factor. This method is especially useful in reducing the size of<br />

the output file when large segments of the receptor arrays lie upwind of the puffs during an hour, thereby<br />

producing long strings of zeroes in the output arrays. For example, the following record with data for 20<br />

receptors requires 20 unpacked words:<br />

0.0, 0.0, 0.0, 0.0, 0.0, 1.2, 3.5, 0.0, 0.0, 0.0,<br />

0.0, 0.0, 0.0, 0.7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0<br />

These data in packed form would be represented in six words:<br />

-5., 1.2, 3.5, -6., 0.7, -6.<br />

MAR 2006 – <strong>CALPUFF</strong><br />

F-248

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

Saved successfully!

Ooh no, something went wrong!