New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 12969 for NEMO/branches/2020/dev_12905_xios_restart/src/OCE/SBC/sbcapr.F90 – NEMO

Ignore:
Timestamp:
2020-05-26T12:05:09+02:00 (4 years ago)
Author:
andmirek
Message:

ticket #2462: read restart with XIOS independently for each component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_12905_xios_restart/src/OCE/SBC/sbcapr.F90

    r12950 r12969  
    6565      CHARACTER(len=100) ::  cn_dir   ! Root directory for location of ssr files 
    6666      TYPE(FLD_N)        ::  sn_apr   ! informations about the fields to be read 
    67       LOGICAL            ::  lrxios   ! read restart using XIOS? 
    6867      !! 
    6968      NAMELIST/namsbc_apr/ cn_dir, sn_apr, ln_ref_apr, rn_pref, ln_apr_obc 
     
    149148         !                                      ! ---------------------------------------- ! 
    150149         !                                            !* Restart: read in restart file 
    151          IF( lrxios ) CALL iom_swap( TRIM(crxios_context) ) 
     150         IF( lroxios ) CALL iom_swap( TRIM(crxios_context) ) 
    152151         IF( ln_rstart .AND. iom_varid( numror, 'ssh_ibb', ldstop = .FALSE. ) > 0 ) THEN  
    153152            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 = lrxios )   ! before inv. barometer ssh 
     153            CALL iom_get( numror, jpdom_autoglo, 'ssh_ibb', ssh_ibb, ldxios = lroxios )   ! before inv. barometer ssh 
    155154            ! 
    156155         ELSE                                         !* no restart: set from nit000 values 
     
    158157            ssh_ibb(:,:) = ssh_ib(:,:) 
    159158         ENDIF 
    160          IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 
     159         IF( lroxios ) CALL iom_swap( TRIM(cxios_context) ) 
    161160      ENDIF 
    162161      !                                         ! ---------------------------------------- ! 
Note: See TracChangeset for help on using the changeset viewer.