Changeset 5034 for branches/2014/dev_r4650_UKMO14.12_STAND_ALONE_OBSOPER/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90
- Timestamp:
- 2015-01-15T14:48:42+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4650_UKMO14.12_STAND_ALONE_OBSOPER/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90
r4334 r5034 22 22 USE iom ! I/O module 23 23 USE eosbn2 ! equation of state (eos bn2 routine) 24 USE trdm ld_oce ! ocean active mixed layer tracers trends variables24 USE trdmxl_oce ! ocean active mixed layer tracers trends variables 25 25 USE divcur ! hor. divergence and curl (div & cur routines) 26 26 USE sbc_ice, ONLY : lk_lim3 … … 120 120 CALL iom_rstput( kt, nitrst, numrow, 'hdivb' , hdivb ) 121 121 CALL iom_rstput( kt, nitrst, numrow, 'sshb' , sshb ) 122 ! 123 IF( lk_lim3 ) CALL iom_rstput( kt, nitrst, numrow, 'fse3t_b', fse3t_b(:,:,:) ) 122 124 ! 123 125 CALL iom_rstput( kt, nitrst, numrow, 'un' , un ) ! now fields … … 133 135 #endif 134 136 IF( lk_lim3 ) THEN 135 CALL iom_rstput( kt, nitrst, numrow, 'iatte' , iatte ) !clem modif 136 CALL iom_rstput( kt, nitrst, numrow, 'oatte' , oatte ) !clem modif 137 CALL iom_rstput( kt, nitrst, numrow, 'fraqsr_1lev' , fraqsr_1lev ) !clem modif 137 138 ENDIF 138 139 IF( kt == nitrst ) THEN 139 140 CALL iom_close( numrow ) ! close the restart file (only at last time step) 140 IF( .NOT. lk_trdmld ) lrst_oce = .FALSE. 141 !!gm IF( .NOT. lk_trdmld ) lrst_oce = .FALSE. 142 !!gm not sure what to do here ===>>> ask to Sebastian 143 lrst_oce = .FALSE. 141 144 ENDIF 142 145 ! 143 146 END SUBROUTINE rst_write 147 144 148 145 149 SUBROUTINE rst_read_open … … 155 159 LOGICAL :: llok 156 160 !!---------------------------------------------------------------------- 157 158 IF( numror .LE.0 ) THEN161 ! 162 IF( numror <= 0 ) THEN 159 163 IF(lwp) THEN ! Contol prints 160 164 WRITE(numout,*) … … 210 214 CALL iom_get( numror, jpdom_autoglo, 'hdivb' , hdivb ) 211 215 CALL iom_get( numror, jpdom_autoglo, 'sshb' , sshb ) 216 IF( lk_lim3 ) CALL iom_get( numror, jpdom_autoglo, 'fse3t_b', fse3t_b(:,:,:) ) 212 217 ELSE 213 218 neuler = 0 … … 245 250 hdivb(:,:,:) = hdivn(:,:,:) 246 251 sshb (:,:) = sshn (:,:) 247 ENDIF 248 ! 249 IF( lk_lim3 ) THEN 250 CALL iom_get( numror, jpdom_autoglo, 'iatte' , iatte ) ! clem modif 251 CALL iom_get( numror, jpdom_autoglo, 'oatte' , oatte ) ! clem modif 252 253 IF( lk_vvl ) THEN 254 DO jk = 1, jpk 255 fse3t_b(:,:,jk) = fse3t_n(:,:,jk) 256 END DO 257 ENDIF 258 259 IF( lk_lim3 .AND. .NOT. lk_vvl ) THEN 260 DO jk = 1, jpk 261 fse3t_b(:,:,jk) = fse3t_n(:,:,jk) 262 END DO 263 ENDIF 264 265 ENDIF 266 ! 267 IF( lk_lim3 ) THEN 268 CALL iom_get( numror, jpdom_autoglo, 'fraqsr_1lev' , fraqsr_1lev ) 252 269 ENDIF 253 270 !
Note: See TracChangeset
for help on using the changeset viewer.