4 O LEVEL , ELEM , TITLE , UNIT , KTSD , KTSA ,
10 CHARACTER* 4 LEVEL, ELEM
14 DIMENSION DATA(IDIM*JDIM)
15 c INTEGER*2 IDA(IDIM*JDIM) !shc-rizvi
16 INTEGER IDA(IDIM*JDIM/2) !shc-rizvi
20 READ (NFL,END=999,ERR=999) IDATE, KT, NELM, LEVEL, ELEM
22 WRITE(96,*) 'REDDAT:NELM.GT.1'
23 WRITE(96,*) 'REDDAT:NELM=', NELM
25 ELSE IF( NELM.EQ.0 ) THEN
26 C ---------------------------------------------------------------
27 C >>> DD ˜AŒ‹‘Ήž‚̂‚à‚è <<<
28 C ---------------------------------------------------------------
29 READ(NFL,END=998,ERR=998)
30 1 NNSP, IDNEXT, NNSP, NNSP, NNSP, NNSP, NNSP, NNSP,
31 2 NNSP, NNSP, NNSP, NNSP, NNSP
32 IF(IDATE(1).NE.IDNEXT(1).OR.IDATE(2).NE.IDNEXT(2)
33 1 .OR.IDATE(3).NE.IDNEXT(3).OR.IDATE(4).NE.IDNEXT(4)) THEN
34 WRITE(96,*) '## INVALID DD CONNECTION'
39 WRITE(96,*) '## VALID DD CONNECTION'
48 READ (NFL,END=999,ERR=999) IDATE, KT, NELM, LEVEL, ELEM
51 1 READ (NFL,END=999,ERR=999)
52 1 LEVEL, ELEM, TITLE, UNIT,
53 2 KTSD, KTSA, BASE, AMP,
54 3 (IDA(I),I=1,IDIM*JDIM)
55 CALL CI2R4V(DATA,BASE,AMP,IDA,IDIM*JDIM)
56 CC DO 10 I=1,IDIM*JDIM
57 CC DATA(I)=BASE + AMP*IDA(I)
66 999 WRITE(96,*) 'REDDAT: READ ERROR IN FILE',NFL