Changeset 8130 for branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/CFC/trcini_cfc.F90
- Timestamp:
- 2017-06-02T16:17:00+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/CFC/trcini_cfc.F90
r8075 r8130 70 70 ! ! Allocate CFC arrays 71 71 72 ALLOCATE( p_cfc(jpyear,jphem, 2), STAT=ierr )72 ALLOCATE( p_cfc(jpyear,jphem,3), STAT=ierr ) 73 73 IF( ierr > 0 ) THEN 74 74 CALL ctl_stop( 'trc_ini_cfc: unable to allocate p_cfc array' ) ; RETURN … … 91 91 ENDIF 92 92 qint_cfc(:,:,:) = 0._wp 93 DO jl = 1, jp_cfc 94 jn = jp_cfc0 + jl - 1 95 trn(:,:,:,jn) = 0._wp 96 END DO 93 trn(:,:,:,jp_cfc0:jp_cfc1) = 0._wp 97 94 ENDIF 98 95 … … 107 104 DO 108 105 READ(inum,*, IOSTAT=io) zyy, p_cfc(jn,1,1), p_cfc(jn,1,2), & 109 & p_cfc(jn,1,3), p_cfc(jn,2,1) &106 & p_cfc(jn,1,3), p_cfc(jn,2,1), & 110 107 & p_cfc(jn,2,2), p_cfc(jn,2,3) 111 108 IF( io < 0 ) exit … … 128 125 DO jn = 30, jpyear 129 126 WRITE(numout, '( 1I4, 6F9.2)') jn, p_cfc(jn,1,1), p_cfc(jn,2,1), & 130 & p_cfc(jn,1,2), p_cfc(jn,2,2) &127 & p_cfc(jn,1,2), p_cfc(jn,2,2), & 131 128 & p_cfc(jn,1,3), p_cfc(jn,2,3) 132 129 END DO
Note: See TracChangeset
for help on using the changeset viewer.