138 CHARACTER*8 CHMMDDTTTT
144 DATA rhslo /narray*0.0/
159 CALL runrd (nit,kfyl1,kfyl2)
169 WRITE (*,*)
'STARTING'
174 lgrd=nint(10.0*dscrs)
175 IF (lgrd.EQ.10 .OR. lgrd.EQ.20 .OR. lgrd.EQ.50)
THEN
176 chgrid=char(nint(48+dscrs))
181 WRITE (*,*)
'OPENING '//chpath//
'SLC1KM.DAT'
183 OPEN (11,file=chpath//
'SLC1KM.DAT',status=
'OLD',
195 OPEN(11,file=chpath//
'SLCFILES',status=
'OLD',
200 44
READ (11,6003,end=8586) chfnam
201 chmmddtttt=chfnam(1:8)
203 WRITE (*,*)
'OPENING '//chpath//chfnam
205 OPEN (12,file=chpath//chfnam,status=
'OLD',
211 READ (12,6001,end=8686) ihour,imin,imo,mdate,iyear
214 IF (nread .GT. nend)
GO TO 8586
220 minutz=
julmin(iyear,imo,mdate,ihour,imin)
234 IF (dothet .OR. dopres .OR. dobri .OR. dobvpd)
CALL betpar
243 IF (dobri .OR. dobvpd)
CALL getrich
245 chddhr=chmmddtttt(3:8)
249 CALL putout (chddhr,chfnam,minutz,nread)
257 IF (nread .GT. nend)
GO TO 8786
259 8786
IF (nread .GT. nend) nread=nend
260 IF (dowvsz)
CALL putout (chddhr,chfnam,minutz,-nread)
261 WRITE (*,*)
'FINISHED '
263 6001
FORMAT (4i2,1x,i4)
subroutine tstwnd(CHMMDDTTTT)
integer function julmin(KYEAR, IMO, MDATE, IHOUR, IMIN)
subroutine putout(CHDDHR, CHFNAM, MINJUL, NCALL)