20 OPEN (22,file=chpath//
'RUNSTF'//chmesh//
'.DAT',
21 $ status=
'UNKNOWN',form=
'FORMATTED')
27 READ (22,*) dbug,dbug2
28 READ (22,*) dobin,doflat
33 IF (nlvl.GT.nzgrd .OR. nlvl .LT. 1)
THEN
34 WRITE (*,*)
'BAD NUMBER OF LEVELS', nlvl, nzgrd
41 READ(22,*) (sigma(k),k=1,nlvl)
42 WRITE (*,*) (sigma(k),k=1,nlvl)
45 IF (nflat.GT.nhoriz .OR. nflat .LT. 1)
THEN
46 WRITE (*,*)
'BAD NUMBER OF LEVELS', nhoriz, nflat
53 READ(22,*) (zchooz(k),k=1,nflat)
62 IF (nrow .GT. nygrd .OR. ncol .GT. nxgrd)
THEN
63 WRITE (*,*)
'BAD X,Y DIMENSIONS ARE ',ncol,nrow
64 WRITE (*,*)
'THEY SHOULD NOT BE > ', nxgrd,nygrd
73 READ (22,*) nrytx, nryty
74 READ (22,*) nascx0, nascy0
78 IF (nascx0-1+nrytx .GT. ncol)
THEN
79 WRITE (*,*)
'WRITE GRID RUNS OVER CALC. GRID -- X DIRECT.'
81 WRITE (*,*)
'NO OF OUTPUT COLUMNS SET TO ',nrytx
83 IF (nascy0-1+nryty .GT. ncol)
THEN
84 WRITE (*,*)
'WRITE GRID RUNS OVER CALC. GRID -- Y DIRECT.'
86 WRITE (*,*)
'NO OF OUTPUT ROWS SET TO ',nryty
95 READ (22,*) utmapx,utmapy
96 WRITE (*,*) utmapx,utmapy
100 READ (22,*) kgridx,kgridy
101 xorig=utmapx-dscrs*float(kgridx)
102 yorig=utmapy-dscrs*float(kgridy)
111 WRITE (*,*) avthk,slfac,cmpres,dpotmin
121 READ (22,*) zzero,z10
134 WRITE (*,*) d2min,dtwt,niter,adjmax
140 READ (22,*) lowix(lows),lowiy(lows)
144 WRITE (*,*)
'number of files to do ', nend
161 IF (npfyls.GT.nwndpt .AND. dowvsz)
THEN
162 WRITE(*,*) npfyls,
' IS TOO MANY WIND PROFILE OUTPUTS!'
166 IF (.NOT. dowvsz)
THEN
169 IF (nend.GT.111)
THEN
170 WRITE (*,*)
'TOO MANY CASES FOR PROFILE PLOTS. ',
171 $
'MUST BE 111 OR FEWER.'
175 READ (22,*) ptutmx,ptutmy
176 jprylx(it)=1+nint((ptutmx-xorig)/dscrs)
177 jpryly(it)=1+nint((ptutmy-yorig)/dscrs)
182 6006
FORMAT (1x, 20f10.2)
183 6011
FORMAT (1x,
'SIGMAS: ',20f8.4)