- Timestamp:
- 2020-05-26T12:05:09+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_12905_xios_restart/src/OCE/SBC/sbcapr.F90
r12950 r12969 65 65 CHARACTER(len=100) :: cn_dir ! Root directory for location of ssr files 66 66 TYPE(FLD_N) :: sn_apr ! informations about the fields to be read 67 LOGICAL :: lrxios ! read restart using XIOS?68 67 !! 69 68 NAMELIST/namsbc_apr/ cn_dir, sn_apr, ln_ref_apr, rn_pref, ln_apr_obc … … 149 148 ! ! ---------------------------------------- ! 150 149 ! !* Restart: read in restart file 151 IF( lr xios ) CALL iom_swap( TRIM(crxios_context) )150 IF( lroxios ) CALL iom_swap( TRIM(crxios_context) ) 152 151 IF( ln_rstart .AND. iom_varid( numror, 'ssh_ibb', ldstop = .FALSE. ) > 0 ) THEN 153 152 IF(lwp) WRITE(numout,*) 'sbc_apr: ssh_ibb read in the restart file' 154 CALL iom_get( numror, jpdom_autoglo, 'ssh_ibb', ssh_ibb, ldxios = lr xios ) ! before inv. barometer ssh153 CALL iom_get( numror, jpdom_autoglo, 'ssh_ibb', ssh_ibb, ldxios = lroxios ) ! before inv. barometer ssh 155 154 ! 156 155 ELSE !* no restart: set from nit000 values … … 158 157 ssh_ibb(:,:) = ssh_ib(:,:) 159 158 ENDIF 160 IF( lr xios ) CALL iom_swap( TRIM(cxios_context) )159 IF( lroxios ) CALL iom_swap( TRIM(cxios_context) ) 161 160 ENDIF 162 161 ! ! ---------------------------------------- !
Note: See TracChangeset
for help on using the changeset viewer.