- Timestamp:
- 2017-12-07T12:14:23+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/LIM_SRC_3/icerst.F90
r8882 r8933 19 19 USE ice ! sea-ice variables 20 20 USE dom_oce ! ocean domain 21 USE sbc_oce , ONLY : nn_fsbc 21 USE sbc_oce , ONLY : nn_fsbc, ln_meto_cpl 22 22 USE icectl 23 23 ! … … 129 129 CALL iom_rstput( iter, nitrst, numriw, 'a_i' , a_i ) 130 130 CALL iom_rstput( iter, nitrst, numriw, 't_su', t_su ) 131 !132 131 ! Melt ponds 133 132 CALL iom_rstput( iter, nitrst, numriw, 'a_ip', a_ip ) 134 133 CALL iom_rstput( iter, nitrst, numriw, 'v_ip', v_ip ) 135 !136 134 !!gm dangerous !!!!! ===>>>> better reading writing all snow layers ! 137 135 ! Snow enthalpy (1st snow layer only) 138 136 z3d = e_s(:,:,1,:) 139 137 CALL iom_rstput( iter, nitrst, numriw, 'tempt_sl1' , z3d ) 140 !141 138 ! Ice enthalpy (all ice layers) 142 139 DO jk = 1, nlay_i … … 146 143 CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 147 144 END DO 148 !149 145 ! ice velocity 150 146 CALL iom_rstput( iter, nitrst, numriw, 'u_ice', u_ice ) ! u_ice 151 147 CALL iom_rstput( iter, nitrst, numriw, 'v_ice', v_ice ) ! v_ice 152 148 ! fields needed for Jules coupling 149 IF (ln_meto_cpl) THEN 150 CALL iom_rstput( iter, nitrst, numriw, 'cnd_ice', cnd_ice ) 151 CALL iom_rstput( iter, nitrst, numriw, 't1_ice' , t1_ice ) 152 ENDIF 153 ! 154 153 155 ! close restart file 154 156 ! ------------------ … … 207 209 CALL iom_get( numrir, jpdom_autoglo, 'a_i' , a_i ) 208 210 CALL iom_get( numrir, jpdom_autoglo, 't_su', t_su ) 209 !210 211 ! Melt ponds 211 212 id1 = iom_varid( numrir, 'a_ip_htc01' , ldstop = .FALSE. ) … … 218 219 v_ip(:,:,:) = 0._wp 219 220 ENDIF 220 !221 221 !!gm dangerous !!!!! ===>>>> better reading writing all snow layers ! 222 222 ! Snow enthalpy (1st snow layer only) 223 223 CALL iom_get( numrir, jpdom_autoglo, 'tempt_sl1' , z3d ) 224 224 e_s(:,:,1,:) = z3d 225 !226 225 ! Ice enthalpy (all ice layers) 227 226 DO jk = 1, nlay_i … … 231 230 e_i(:,:,jk,:) = z3d(:,:,:) 232 231 END DO 233 !234 232 ! ice velocity 235 233 CALL iom_get( numrir, jpdom_autoglo, 'u_ice', u_ice ) 236 234 CALL iom_get( numrir, jpdom_autoglo, 'v_ice', v_ice ) 235 ! fields needed for Jules coupling 236 IF (ln_meto_cpl) THEN 237 CALL iom_get( numrir, jpdom_autoglo, 'cnd_ice', cnd_ice ) 238 CALL iom_get( numrir, jpdom_autoglo, 't1_ice' , t1_ice ) 239 ENDIF 237 240 238 241 END SUBROUTINE ice_rst_read
Note: See TracChangeset
for help on using the changeset viewer.