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 13016 for NEMO/branches/2020/dev_12905_xios_ancil/src/OCE/SBC/sbcapr.F90 – NEMO

Ignore:
Timestamp:
2020-06-03T12:48:36+02:00 (4 years ago)
Author:
andmirek
Message:

Ticket #2475 implementation of new interface

File:
1 edited

Legend:

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

    r12489 r13016  
    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 
     
    154153         IF( ln_rstart .AND. iom_varid( numror, 'ssh_ibb', ldstop = .FALSE. ) > 0 ) THEN  
    155154            IF(lwp) WRITE(numout,*) 'sbc_apr:   ssh_ibb read in the restart file' 
     155            IF(lrxios) CALL iom_swap( TRIM(crxios_context) ) 
    156156            CALL iom_get( numror, jpdom_autoglo, 'ssh_ibb', ssh_ibb, ldxios = lrxios )   ! before inv. barometer ssh 
     157            IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    157158            ! 
    158159         ELSE                                         !* no restart: set from nit000 values 
Note: See TracChangeset for help on using the changeset viewer.