- Timestamp:
- 2019-10-30T15:10:36+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/OCE/SBC/sbcrnf.F90
r11536 r11837 146 146 IF( ln_rstart .AND. & !* Restart: read in restart file 147 147 & iom_varid( numror, 'rnf_b', ldstop = .FALSE. ) > 0 ) THEN 148 IF(lrxios) CALL iom_swap(crxios_context) 148 149 IF(lwp) WRITE(numout,*) ' nit000-1 runoff forcing fields red in the restart file', lrxios 149 150 CALL iom_get( numror, jpdom_autoglo, 'rnf_b', rnf_b, ldxios = lrxios ) ! before runoff 150 151 CALL iom_get( numror, jpdom_autoglo, 'rnf_hc_b', rnf_tsc_b(:,:,jp_tem), ldxios = lrxios ) ! before heat content of runoff 151 152 CALL iom_get( numror, jpdom_autoglo, 'rnf_sc_b', rnf_tsc_b(:,:,jp_sal), ldxios = lrxios ) ! before salinity content of runoff 153 IF(lrxios) CALL iom_swap(cxios_context) 152 154 ELSE !* no restart: set from nit000 values 153 155 IF(lwp) WRITE(numout,*) ' nit000-1 runoff forcing fields set to nit000' … … 467 469 ! 468 470 IF( lwxios ) THEN 469 CALL iom_set_rstw_var_active( 'rnf_b')470 CALL iom_set_rstw_var_active( 'rnf_hc_b')471 CALL iom_set_rstw_var_active( 'rnf_sc_b')471 CALL iom_set_rstw_var_active(rst_wfields, 'rnf_b') 472 CALL iom_set_rstw_var_active(rst_wfields, 'rnf_hc_b') 473 CALL iom_set_rstw_var_active(rst_wfields, 'rnf_sc_b') 472 474 ENDIF 473 475
Note: See TracChangeset
for help on using the changeset viewer.