CALPUFF and Postprocessors
CALPUFF and Postprocessors CALPUFF and Postprocessors
DFLX.DAT File - Data Records The DFLX.DAT data records consist of a set of "NDFOUT+1" records for each hour of the CALPUFF runs (NDFOUT is the number of species flagged as being stored in the output file). The first record of each set contains the date and hour of the data in the records which follow it. The next "NDFOUT" records contain predicted one-hour averaged dry deposition fluxes in g/m 2 /s for each relevant species (see Table F-55). Sample FORTRAN read statements for the data records (in uncompressed format) are: READ(iunit)nyrb,njulb,nhrb,nsecb,nyre,njule,nhre,nsece READ(iunit) istype,isnum,sname,sxkm,sykm +)) LOOP OVER DRY DEPOSITED SPECIES STORED ON DISK * * GRIDDED RECEPTOR DRY FLUXES * IF(LSGRID)READ(iunit)CDFG,DFLXG * * DISCRETE RECEPTOR DRY FLUXES * IF(NDREC.GT.0)READ(iunit)CDFD,DFLXD * .)) END LOOP OVER DRY DEPOSITED SPECIES STORED ON DISK where the following declarations apply: Character*15 CDFG,CDFD Real DFLXG(nxg,nyg),DFLXD(NDREC) and nxg = IESAMP - IBSAMP+1 nyg = JESAMP - JBSAMP+1 CALPUFF contains an option to compress the data by replacing strings of zeroes with a coded repetition factor. The factor is a negative number whose absolute value indicates the number of consecutive zeroes that have been replaced by the repetition factor. This method is especially useful in reducing the size of the output file when large segments of the receptor arrays lie upwind of the puffs during an hour, thereby producing long strings of zeroes in the output arrays. For example, the following record with data for 20 receptors requires 20 unpacked words: 0.0, 0.0, 0.0, 0.0, 0.0, 1.2, 3.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 These data in packed form would be represented in six words: -5., 1.2, 3.5, -6., 0.7, -6. MAR 2006 – CALPUFF F-233
Table F-55 Unformatted DFLX.DAT File - Data Records (Records 1 and 2 of each set) No. Variable Type Description (Record 1) 1 NYRB integer Year (4 digits) at start of averaging period 2 NJULB integer Julian day at start of averaging period 3 NHRB integer Hour (00-23 LST) at start of averaging period 4 NSECB integer Second (0000-3599 LST) at start of averaging period 5 NYRE integer Year (4 digits) at end of averaging period 6 NJULE integer Julian day at end of averaging period 7 NHRE integer Hour (00-23 LST) at end of averaging period 8 NSECE integer Second (0000-3599 LST) at start of averaging period No. Variable Type a Description (Record 2) 1 ISTYPE integer Source type 2 ISNUM integer Source number of this type 3 SNAME C*16 Source name 4 SXKM real Source X-coordinate (km) in the modeling map projection 5 SYKM real Source Y-coordinate (km) in the modeling map projection a C*16 = Character*16 (Next Data Record) (Included only if LSAMP = TRUE) No. Variable Type Description 1 CDFG C*15 Species name (characters 1-12) and variable flag (characters 13-15) of the data in this record. For example b , "SO2..........DF" corresponds to SO 2 dry flux. Next NXG*NYG DFLXG real array "IAVG" - hour averaged dry deposition fluxes (g/m 2 /s) for each gridded receptor MAR 2006 – CALPUFF F-234
- Page 186 and 187: F.10 User-Specified Chemical Transf
- Page 188 and 189: F.11 Site-Specific Turbulence Data
- Page 190 and 191: Table F-40 Sample CTDMPLUS Terrain
- Page 192 and 193: Table F-42 HILL.DAT File - Record G
- Page 194 and 195: F.13 Subgrid Scale Coastal Boundary
- Page 196 and 197: COASTLN.DAT File - Header Record Th
- Page 198 and 199: COASTLN.DAT File - Data Records The
- Page 200 and 201: Table F-47 COASTLN.DAT - Data Recor
- Page 202 and 203: Table F-48 Sample Mass Flux Boundar
- Page 204 and 205: Table F-49 FLUXBDY.DAT - Header Rec
- Page 206 and 207: Table F-50 FLUXBDY.DAT - Data Heade
- Page 208 and 209: F.15 CALPUFF Output Files F.15.1 Li
- Page 210 and 211: where the following declarations ap
- Page 212 and 213: Table F-52 (Continued) Unformatted
- Page 214 and 215: Table F-52 (Continued) Unformatted
- Page 216 and 217: Table F-52 (Continued) Unformatted
- Page 218 and 219: Table F-52 (Continued) Unformatted
- Page 220 and 221: Table F-52 (Concluded) Unformatted
- Page 222 and 223: Table F-53 Unformatted CONC.DAT Fil
- Page 224 and 225: F.15.4 Dry Flux File (DFLX.DAT) The
- Page 226 and 227: Table F-54 Unformatted DFLX.DAT fil
- Page 228 and 229: Table F-54 (Continued) Unformatted
- Page 230 and 231: Table F-54 (Continued) Unformatted
- Page 232 and 233: Table F-54 (Continued) Unformatted
- Page 234 and 235: Table F-54 (Continued) Unformatted
- Page 238 and 239: Table F-55 (Concluded) Unformatted
- Page 240 and 241: Character*132 COMMENT Character*80
- Page 242 and 243: Table F-56 (Continued) Unformatted
- Page 244 and 245: Table F-56 (Continued) Unformatted
- Page 246 and 247: Table F-56 (Continued) Unformatted
- Page 248 and 249: Table F-56 (Continued) Unformatted
- Page 250 and 251: Table F-56 (Concluded) Unformatted
- Page 252 and 253: Table F-57 Unformatted WFLX.DAT Fil
- Page 254 and 255: F.15.6 Relative Humidity File for V
- Page 256 and 257: Table F-58 Unformatted VISB.DAT fil
- Page 258 and 259: Table F-58 (Continued) Unformatted
- Page 260 and 261: Table F-58 (Continued) Unformatted
- Page 262 and 263: Table F-58 (Continued) Unformatted
- Page 264 and 265: Table F-58 (Continued) Unformatted
- Page 266 and 267: VISB.DAT File - Data Records The VI
- Page 268 and 269: Table F-59 (Concluded) Unformatted
- Page 270 and 271: Table F-60 Sample Debug Puff-Tracki
- Page 272 and 273: F.15.8 Mass Flux List File (MASSFLX
- Page 274 and 275: F.15.9 Mass Balance List File (MASS
- Page 276 and 277: F.16 OPTHILL When the subgrid scale
- Page 278 and 279: The following procedure is recommen
- Page 280 and 281: Table F-64 OPTHILL Input and Output
- Page 282 and 283: Figure F-2 Map of terrain surroundi
- Page 284 and 285: Table F-67 OPTHILL Output File for
DFLX.DAT File - Data Records<br />
The DFLX.DAT data records consist of a set of "NDFOUT+1" records for each hour of the <strong>CALPUFF</strong><br />
runs (NDFOUT 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 "NDFOUT"<br />
records contain predicted one-hour averaged dry deposition fluxes in g/m 2 /s for each relevant species (see<br />
Table F-55).<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 DRY DEPOSITED SPECIES STORED ON DISK<br />
*<br />
* GRIDDED RECEPTOR DRY FLUXES<br />
* IF(LSGRID)READ(iunit)CDFG,DFLXG<br />
*<br />
* DISCRETE RECEPTOR DRY FLUXES<br />
* IF(NDREC.GT.0)READ(iunit)CDFD,DFLXD<br />
*<br />
.)) END LOOP OVER DRY DEPOSITED SPECIES STORED ON DISK<br />
where the following declarations apply:<br />
Character*15 CDFG,CDFD<br />
Real DFLXG(nxg,nyg),DFLXD(NDREC)<br />
<strong>and</strong><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-233