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 Table 9-57 (Concluded) Unformatted WFLX.DAT File - Data Records (Next Data Record) (Included only if LSAMP = TRUE) No. Variable Type Description 1 CWFG C*15 Species name (characters 1-12) and wet flux flag (characters 13-15) of the data in this record. For example b , "SO2..........WF" corresponds to SO 2 wet fluxes. Next NXG*NYG DWLXG real array "IAVG" - hour averaged wet deposition fluxes (g/m 2 /s) for each gridded receptor (Next Data Record) (Included only if NDREC > 0) No. Variable Type a Description 1 CWFD C*15 Species name (characters 1-12) and wet flux flag (characters 13-15) of the data in this record. For example b , "SO2..........WF" corresponds to SO 2 wet fluxes. Next NDREC WFLXD real array "IAVG" - hour averaged wet deposition fluxes (g/m 2 /s) for each discrete receptor a C*15 = Character*15 b Dots (....) indicate spaces. 9-296

Section 9: CALPUFF 9.15.6 Relative Humidity File for Visibility Processing in CALPOST (VISB.DAT) The VISB.DAT file is an unformatted data file containing relative humidity data at each surface meteorological station, for each period in the run. It is required if CALPOST will be used to assess visibility. The variable IVIS in Input Group 5 of the control file (see Section 9.1) must be set equal to one in order to create the VISB.DAT file. VISB.DAT File - Header Records The VISB.DAT file consists of at least either NCOM+7 or NCOM+10 header records followed by a set of data records. The header records contain information describing the version of the model used in the run creating the file, horizontal and vertical grid data, a user-input title, a list of the species combinations stored in the output file, and receptor information (see Table 9-58). NCOM, provided in record 2, defines the number of comment records that are present. Comment records are used to transfer the image of CALMET and CALPUFF control files used in the simulation for documentation and QA purposes. Sample FORTRAN read statements for the header records are: READ(iunit) DATASET,DATAVER,DATAMOD READ(iunit) NCOM DO n=1,NCOM READ(iunit) COMMENT ENDDO READ(iunit)CMODEL,VER,LEVEL,IBYR,IBJUL,IBHR,IBSEC,XBTZ, 1 IRLG,IAVG,NSECDT,NXM,NYM,DXKM,DYKM,IONE,XORIGKM,YORIGKM,NSSTA,IBCOMP,IECOMP, 2 JBCOMP,JECOMP,IBSAMP,JBSAMP,IESAMP,JESAMP,MESHDN,NPT1,NPT2,NAR1,NAR2,NLN1,NLN2, 3 NVL1,NVL2,MSOURCE,NREC,NCTREC,LSAMP,NVSOUT,LCOMPR, 4 I2DMET,IUTMZN,FEAST,FNORTH,RNLAT0,RELON0, 5 XLAT1,XLAT2,PMAP,UTMHEM,DATUM,DATEN, 6 CLAT0,CLON0,CLAT1,CLAT2 READ(iunit)TITLE READ(iunit)CVSOUT IF(NDREC.GT.0) READ(iunit)XREC,YREC,ZREC IF(NCTREC.GT.0) READ(iunit)XRCT,YRCT,ZRCT,IHILL IF(NPT1.GT.0) READ(iunit)ISTYPE,CNAMPT1 IF(NPT2.GT.0) READ(iunit)ISTYPE,CNAMPT2 IF(NAR1.GT.0) READ(iunit)ISTYPE,CNAMAR1 IF(NAR2.GT.0) READ(iunit)ISTYPE,CNAMAR2 IF(N LN1.GT.0) READ(iunit)ISTYPE,CNAMLN1 IF(NLN2.GT.0) READ(iunit)ISTYPE,CNAMLN2 IF(NVL1.GT.0) READ(iunit)ISTYPE,CNAMVL1 IF(NVL2.GT.0) READ(iunit)ISTYPE,CNAMVL2 where the following declarations apply: Character*132 COMMENT Character*80 TITLE(3) Character*64 DATAMOD Character*16 DATASET, DATAVER, CLAT0, CLON0, CLAT1, CLAT2 9-297

Section 9: CALPUFF<br />

9.15.6 Rel<strong>at</strong>ive Humidity File for Visibility Processing in CALPOST (VISB.DAT)<br />

<strong>The</strong> VISB.DAT file is an unform<strong>at</strong>ted d<strong>at</strong>a file containing rel<strong>at</strong>ive humidity d<strong>at</strong>a <strong>at</strong> each surface<br />

meteorological st<strong>at</strong>ion, for each period in the run. It is required if CALPOST will be used to assess<br />

visibility. <strong>The</strong> variable IVIS in Input <strong>Group</strong> 5 <strong>of</strong> the control file (see Section 9.1) must be set equal to one<br />

in order to cre<strong>at</strong>e the VISB.DAT file.<br />

VISB.DAT File - Header Records<br />

<strong>The</strong> VISB.DAT file consists <strong>of</strong> <strong>at</strong> least either NCOM+7 or NCOM+10 header records followed by a set<br />

<strong>of</strong> d<strong>at</strong>a records. <strong>The</strong> header records contain inform<strong>at</strong>ion describing the version <strong>of</strong> the model used in the<br />

run cre<strong>at</strong>ing the file, horizontal and vertical grid d<strong>at</strong>a, a user-input title, a list <strong>of</strong> the species combin<strong>at</strong>ions<br />

stored in the output file, and receptor inform<strong>at</strong>ion (see <strong>Table</strong> 9-58). NCOM, provided in record 2, defines<br />

the number <strong>of</strong> comment records th<strong>at</strong> are present. Comment records are used to transfer the image <strong>of</strong><br />

CALMET and CALPUFF control files used in the simul<strong>at</strong>ion for document<strong>at</strong>ion and QA purposes.<br />

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

READ(iunit) DATASET,DATAVER,DATAMOD<br />

READ(iunit) NCOM<br />

DO n=1,NCOM<br />

READ(iunit) COMMENT<br />

ENDDO<br />

READ(iunit)CMODEL,VER,LEVEL,IBYR,IBJUL,IBHR,IBSEC,XBTZ,<br />

1 IRLG,IAVG,NSECDT,NXM,NYM,DXKM,DYKM,IONE,XORIGKM,YORIGKM,NSSTA,IBCOMP,IECOMP,<br />

2 JBCOMP,JECOMP,IBSAMP,JBSAMP,IESAMP,JESAMP,MESHDN,NPT1,NPT2,NAR1,NAR2,NLN1,NLN2,<br />

3 NVL1,NVL2,MSOURCE,NREC,NCTREC,LSAMP,NVSOUT,LCOMPR,<br />

4 I2DMET,IUTMZN,FEAST,FNORTH,RNLAT0,RELON0,<br />

5 XLAT1,XLAT2,PMAP,UTMHEM,DATUM,DATEN,<br />

6 CLAT0,CLON0,CLAT1,CLAT2<br />

READ(iunit)TITLE<br />

READ(iunit)CVSOUT<br />

IF(NDREC.GT.0) READ(iunit)XREC,YREC,ZREC<br />

IF(NCTREC.GT.0) READ(iunit)XRCT,YRCT,ZRCT,IHILL<br />

IF(NPT1.GT.0) READ(iunit)ISTYPE,CNAMPT1<br />

IF(NPT2.GT.0) READ(iunit)ISTYPE,CNAMPT2<br />

IF(NAR1.GT.0) READ(iunit)ISTYPE,CNAMAR1<br />

IF(NAR2.GT.0) READ(iunit)ISTYPE,CNAMAR2<br />

IF(N LN1.GT.0) READ(iunit)ISTYPE,CNAMLN1<br />

IF(NLN2.GT.0) READ(iunit)ISTYPE,CNAMLN2<br />

IF(NVL1.GT.0) READ(iunit)ISTYPE,CNAMVL1<br />

IF(NVL2.GT.0) READ(iunit)ISTYPE,CNAMVL2<br />

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

Character*132 COMMENT<br />

Character*80 TITLE(3)<br />

Character*64 DATAMOD<br />

Character*16 DATASET, DATAVER, CLAT0, CLON0, CLAT1, CLAT2<br />

9-297

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

Saved successfully!

Ooh no, something went wrong!