- Timestamp:
- 2020-05-28T16:21:45+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE/icestp.F90
r12919 r12988 202 202 IF( lrst_ice ) CALL ice_rst_write( kt ) ! -- Ice restart file 203 203 ! 204 IF( ln_icectl ) CALL ice_ctl( kt ) ! -- alerts in case of model crash204 IF( ln_icectl ) CALL ice_ctl( kt ) ! -- Control checks 205 205 ! 206 206 ENDIF ! End sea-ice time step only … … 223 223 !! ** purpose : Initialize sea-ice parameters 224 224 !!---------------------------------------------------------------------- 225 INTEGER :: j i, jj, ierr225 INTEGER :: jl, ierr 226 226 !!---------------------------------------------------------------------- 227 227 IF(lwp) WRITE(numout,*) … … 247 247 IF( ierr /= 0 ) CALL ctl_stop('STOP', 'ice_init : unable to allocate ice arrays') 248 248 ! 249 ! ! set max concentration in both hemispheres 250 WHERE( gphit(:,:) > 0._wp ) ; rn_amax_2d(:,:) = rn_amax_n ! NH 251 ELSEWHERE ; rn_amax_2d(:,:) = rn_amax_s ! SH 252 END WHERE 253 ! 249 254 CALL ice_itd_init ! ice thickness distribution initialization 250 255 ! … … 252 257 ! 253 258 ! ! Initial sea-ice state 254 255 259 IF ( ln_rstart .OR. nn_iceini_file == 2 ) THEN 256 260 CALL ice_rst_read ! start from a restart file 257 261 ELSE 258 262 CALL ice_istate_init 259 CALL ice_istate( nit000 ) ! start from rest : sea-ice deduced from sst263 CALL ice_istate( nit000 ) ! start from rest or read a file 260 264 ENDIF 261 265 CALL ice_var_glo2eqv … … 275 279 tn_ice(:,:,:) = t_su(:,:,:) ! initialisation of surface temp for coupled simu 276 280 ! 277 ! ! set max concentration in both hemispheres278 WHERE( gphit(:,:) > 0._wp ) ; rn_amax_2d(:,:) = rn_amax_n ! NH279 ELSEWHERE ; rn_amax_2d(:,:) = rn_amax_s ! SH280 END WHERE281 282 281 IF( ln_rstart ) CALL iom_close( numrir ) ! close input ice restart file 283 282 !
Note: See TracChangeset
for help on using the changeset viewer.