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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Section 9: CALPUFF<br />

if(nssta.ge.1)then<br />

write(iomet)CLAB12,IDUM,IDUM,IDUM,IDUM,NEARS<br />

endif<br />

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

real ZFACEM(nz+1),XSSTA(nssta),YSSTA(nssta),XUSTA(nusta),YUSTA(nusta)<br />

real XPSTA(npsta),YPSTA(npsta)<br />

real Z0(nx,ny),ELEV(nx,ny),XLAI(nx,ny)<br />

integer ILANDU(nx,ny),NEARS(nx,ny)<br />

character*132 COMMENT(ncom)<br />

character*64 DATAMOD<br />

character*16 DATASET,DATAVER<br />

character*12 DATEN<br />

character*8 PMAP,DATUM<br />

character*8 CLAB1,CLAB2,CLAB3,CLAB4,CLAB5,CLAB6<br />

character*8 CLAB7,CLAB8,CLAB9,CLAB10,CLAB11,CLAB12<br />

character*4 UTMHEM<br />

logical LCALGRD<br />

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

<strong>The</strong> CALMET.DAT d<strong>at</strong>a records include time-varying fields <strong>of</strong> winds and meteorological variables. In<br />

addition to the regular CALMET output variables, both CALGRID and CALPUFF require additional<br />

three-dimensional fields <strong>of</strong> air temper<strong>at</strong>ure and vertical velocity. <strong>The</strong> presence <strong>of</strong> these fields in the<br />

CALMET output file is flagged by the header record logical variable, LCALGRD, having a value <strong>of</strong><br />

TRUE.<br />

<strong>The</strong> d<strong>at</strong>a records contain three-dimensional gridded fields <strong>of</strong> U, V, and W wind components and air<br />

temper<strong>at</strong>ure, and two-dimensional fields <strong>of</strong> PGT stability class, surface friction velocity, mixing height,<br />

Monin-Obukhov length, convective velocity scale, precipit<strong>at</strong>ion r<strong>at</strong>e (not used by CALGRID), nearsurface<br />

temper<strong>at</strong>ure, air density, short-wave solar radi<strong>at</strong>ion, rel<strong>at</strong>ive humidity, and precipit<strong>at</strong>ion type<br />

codes (not used by CALGRID). A description <strong>of</strong> each variable in the d<strong>at</strong>a records is provided in <strong>Table</strong> 9-<br />

5.<br />

Sample FORTRAN write st<strong>at</strong>ements for the CALMET.DAT d<strong>at</strong>a records are:<br />

c ---<br />

Write U, V, W wind components<br />

┌─<br />

Loop over vertical layers, k<br />

│<br />

│<br />

write(iunit)CLABU,NDATHRB,IBSEC,NDATHRE,IESEC,<br />

│<br />

((U(i,j,k),i=1,nx),j=1,ny)<br />

│<br />

write(iunit)CLABV, NDATHRB,IBSEC,NDATHRE,IESEC,<br />

│<br />

((V(i,j,k),i=1,nx),j=1,ny)<br />

│<br />

if(LCALGRD)write(iunit)CLABW,NDATHRB,IBSEC,NDATHRE,IESEC,<br />

│<br />

((W(i,j,k+1),i=1,nx),j=1,ny)<br />

│<br />

└─<br />

End loop over vertical layers<br />

9-123

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

Saved successfully!

Ooh no, something went wrong!