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

Ignore:
Timestamp:
2020-12-01T13:17:32+01:00 (3 years ago)
Author:
andmirek
Message:

Ticket #2462: update test branch

File:
1 edited

Legend:

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

    r13727 r13934  
    148148         !                                      ! ---------------------------------------- ! 
    149149         !                                            !* Restart: read in restart file 
    150          IF( lroxios ) CALL iom_swap( TRIM(crxios_context) ) 
    151150         IF( ln_rstart .AND. iom_varid( numror, 'ssh_ibb', ldstop = .FALSE. ) > 0 ) THEN  
    152151            IF(lwp) WRITE(numout,*) 'sbc_apr:   ssh_ibb read in the restart file' 
    153             CALL iom_get( numror, jpdom_auto, 'ssh_ibb', ssh_ibb, ldxios = lroxios )   ! before inv. barometer ssh 
     152            CALL iom_get( numror, jpdom_auto, 'ssh_ibb', ssh_ibb )   ! before inv. barometer ssh 
    154153            ! 
    155154         ELSE                                         !* no restart: set from nit000 values 
     
    157156            ssh_ibb(:,:) = ssh_ib(:,:) 
    158157         ENDIF 
    159          IF( lroxios ) CALL iom_swap( TRIM(cxios_context) ) 
    160158      ENDIF 
    161159      !                                         ! ---------------------------------------- ! 
     
    165163         IF(lwp) WRITE(numout,*) 'sbc_apr : ssh_ib written in ocean restart file at it= ', kt,' date= ', ndastp 
    166164         IF(lwp) WRITE(numout,*) '~~~~' 
    167          IF( lwxios ) CALL iom_swap(      cwxios_context          ) 
    168          CALL iom_rstput( kt, nitrst, numrow, 'ssh_ibb' , ssh_ib, ldxios = lwxios ) 
    169          IF( lwxios ) CALL iom_swap(      cxios_context          ) 
     165         CALL iom_rstput( kt, nitrst, numrow, 'ssh_ibb' , ssh_ib ) 
    170166      ENDIF 
    171167      ! 
Note: See TracChangeset for help on using the changeset viewer.