- Timestamp:
- 2018-01-19T18:56:15+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/NEMO/LIM_SRC_3/icerst.F90
r9123 r9271 132 132 CALL iom_rstput( iter, nitrst, numriw, 'a_ip', a_ip ) 133 133 CALL iom_rstput( iter, nitrst, numriw, 'v_ip', v_ip ) 134 !!gm dangerous !!!!! ===>>>> better reading writing all snow layers ! 135 ! Snow enthalpy (1st snow layer only) 136 z3d = e_s(:,:,1,:) 137 CALL iom_rstput( iter, nitrst, numriw, 'e_s_l01' , z3d ) 138 ! Ice enthalpy (all ice layers) 134 ! Snow enthalpy 135 DO jk = 1, nlay_s 136 WRITE(zchar1,'(I2.2)') jk 137 znam = 'e_s'//'_l'//zchar1 138 z3d(:,:,:) = e_s(:,:,jk,:) 139 CALL iom_rstput( iter, nitrst, numriw, znam , z3d ) 140 END DO 141 ! Ice enthalpy 139 142 DO jk = 1, nlay_i 140 143 WRITE(zchar1,'(I2.2)') jk … … 219 222 v_ip(:,:,:) = 0._wp 220 223 ENDIF 221 !!gm dangerous !!!!! ===>>>> better reading writing all snow layers ! 222 ! Snow enthalpy (1st snow layer only) 223 CALL iom_get( numrir, jpdom_autoglo, 'e_s_l01' , z3d ) 224 e_s(:,:,1,:) = z3d 225 ! Ice enthalpy (all ice layers) 226 DO jk = 1, nlay_i 224 ! Snow enthalpy 225 DO jk = 1, nlay_s 226 WRITE(zchar1,'(I2.2)') jk 227 znam = 'e_s'//'_l'//zchar1 228 CALL iom_get( numrir, jpdom_autoglo, znam , z3d ) 229 e_s(:,:,jk,:) = z3d(:,:,:) 230 END DO 231 ! Ice enthalpy 232 DO jk = 1, nlay_i 227 233 WRITE(zchar1,'(I2.2)') jk 228 234 znam = 'e_i'//'_l'//zchar1
Note: See TracChangeset
for help on using the changeset viewer.