- Timestamp:
- 2010-08-02T12:57:40+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r2006_merge_TRA_TRC/NEMO/TOP_SRC/CFC/trcini_cfc.F90
r1581 r2038 46 46 REAL(wp) :: zyy , zyd 47 47 !!---------------------------------------------------------------------- 48 48 49 49 50 IF(lwp) WRITE(numout,*) … … 95 96 END DO 96 97 97 DO jn = 31, 98 ! Read file 98 READ(inum,*) zyy, p_cfc(jn,1,1), p_cfc(jn,1,2), p_cfc(jn,2,1), p_cfc(jn,2,2) 99 WRITE(numout,'(f7.2, 4f8.2)' ) & 98 ! file starts in 1931 do jn represent the year in the century.jhh 99 ! Read file till the end 100 jn = 31 101 DO WHILE ( 1 /= 2 ) 102 READ(inum,*,END=100) zyy, p_cfc(jn,1,1), p_cfc(jn,1,2), p_cfc(jn,2,1), p_cfc(jn,2,2) 103 IF ( lwp) THEN 104 WRITE(numout,'(f7.2, 4f8.2)' ) & 100 105 & zyy, p_cfc(jn,1,1), p_cfc(jn,1,2), p_cfc(jn,2,1), p_cfc(jn,2,2) 106 ENDIF 107 jn = jn + 1 101 108 END DO 109 100 npyear = jn - 1 110 IF ( lwp) WRITE(numout,*) ' ', npyear ,' years read' 102 111 103 112 p_cfc(32,1:2,1) = 5.e-4 ! modify the values of the first years … … 138 147 139 148 END SUBROUTINE trc_ini_cfc 140 149 141 150 #else 142 151 !!----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.