Changeset 12950 for NEMO/branches/2020/dev_12905_xios_restart/src/OCE/ISF
- Timestamp:
- 2020-05-19T12:53:16+02:00 (4 years ago)
- Location:
- NEMO/branches/2020/dev_12905_xios_restart/src/OCE/ISF
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_12905_xios_restart/src/OCE/ISF/isfcav.F90
r12914 r12950 187 187 !================ 188 188 ! 189 IF( lwxios ) THEN190 CALL iom_set_rstw_var_active('fwfisf_cav_b')191 CALL iom_set_rstw_var_active('isf_hc_cav_b')192 CALL iom_set_rstw_var_active('isf_sc_cav_b')193 ENDIF194 !195 189 !================ 196 190 ! 3: read restart -
NEMO/branches/2020/dev_12905_xios_restart/src/OCE/ISF/isfcpl.F90
r12489 r12950 114 114 e3t(:,:,:,Kbb) = e3t(:,:,:,Kmm) 115 115 116 ! prepare writing restart117 IF( lwxios ) THEN118 CALL iom_set_rstw_var_active('ssmask')119 CALL iom_set_rstw_var_active('tmask')120 CALL iom_set_rstw_var_active('e3t_n')121 CALL iom_set_rstw_var_active('e3u_n')122 CALL iom_set_rstw_var_active('e3v_n')123 END IF124 !125 116 END SUBROUTINE isfcpl_init 126 117 ! … … 166 157 !!---------------------------------------------------------------------- 167 158 ! 159 IF( lrxios ) CALL iom_swap( TRIM(crxios_context) ) 168 160 CALL iom_get( numror, jpdom_autoglo, 'ssmask' , zssmask_b, ldxios = lrxios ) ! need to extrapolate T/S 161 IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 169 162 170 163 ! compute new ssh if we open a full water column … … 245 238 !!---------------------------------------------------------------------- 246 239 ! 240 IF( lrxios ) CALL iom_swap( TRIM(crxios_context) ) 247 241 CALL iom_get( numror, jpdom_autoglo, 'tmask' , ztmask_b, ldxios = lrxios ) ! need to extrapolate T/S 248 242 !CALL iom_get( numror, jpdom_autoglo, 'wmask' , zwmask_b, ldxios = lrxios ) ! need to extrapolate T/S 249 243 !CALL iom_get( numror, jpdom_autoglo, 'gdepw_n', zdepw_b(:,:,:), ldxios = lrxios ) ! need to interpol vertical profile (vvl) 244 IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 250 245 ! 251 246 ! … … 391 386 !!---------------------------------------------------------------------- 392 387 ! 388 IF( lrxios ) CALL iom_swap( TRIM(crxios_context) ) 393 389 CALL iom_get( numror, jpdom_autoglo, 'tmask' , ztmask_b, ldxios = lrxios ) 394 390 CALL iom_get( numror, jpdom_autoglo, 'e3u_n' , ze3u_b , ldxios = lrxios ) 395 391 CALL iom_get( numror, jpdom_autoglo, 'e3v_n' , ze3v_b , ldxios = lrxios ) 392 IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 396 393 ! 397 394 ! 1.0: compute horizontal volume flux divergence difference before-after coupling … … 495 492 496 493 ! get restart variable 494 IF( lrxios ) CALL iom_swap( TRIM(crxios_context) ) 497 495 CALL iom_get( numror, jpdom_autoglo, 'tmask' , ztmask_b(:,:,:), ldxios = lrxios ) ! need to extrapolate T/S 498 496 CALL iom_get( numror, jpdom_autoglo, 'e3t_n' , ze3t_b(:,:,:) , ldxios = lrxios ) 499 497 CALL iom_get( numror, jpdom_autoglo, 'tn' , zt_b(:,:,:) , ldxios = lrxios ) 500 498 CALL iom_get( numror, jpdom_autoglo, 'sn' , zs_b(:,:,:) , ldxios = lrxios ) 499 IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 501 500 502 501 ! compute run length -
NEMO/branches/2020/dev_12905_xios_restart/src/OCE/ISF/isfrst.F90
r11931 r12950 53 53 IF( iom_varid( numror, cfwf_b, ldstop = .FALSE. ) > 0 ) THEN 54 54 IF(lwp) WRITE(numout,*) ' nit000-1 isf tracer content forcing fields read in the restart file' 55 IF( lrxios ) CALL iom_swap( TRIM(crxios_context) ) 55 56 CALL iom_get( numror, jpdom_autoglo, cfwf_b, pfwf_b(:,:) , ldxios = lrxios ) ! before ice shelf melt 56 57 CALL iom_get( numror, jpdom_autoglo, chc_b , ptsc_b (:,:,jp_tem), ldxios = lrxios ) ! before ice shelf heat flux 57 58 CALL iom_get( numror, jpdom_autoglo, csc_b , ptsc_b (:,:,jp_sal), ldxios = lrxios ) ! before ice shelf heat flux 59 IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 58 60 ELSE 59 61 pfwf_b(:,:) = pfwf(:,:) … … 61 63 ENDIF 62 64 ! 63 IF( lwxios ) THEN64 CALL iom_set_rstw_var_active(TRIM(chc_b ))65 CALL iom_set_rstw_var_active(TRIM(csc_b ))66 CALL iom_set_rstw_var_active(TRIM(cfwf_b))67 ENDIF68 69 65 END SUBROUTINE isfrst_read 70 66 !
Note: See TracChangeset
for help on using the changeset viewer.