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 13932 for NEMO/branches/2020/dev_12905_xios_restart/src/OCE/ZDF/zdfric.F90 – NEMO

Ignore:
Timestamp:
2020-12-01T09:21:09+01:00 (4 years ago)
Author:
andmirek
Message:

Ticket #2462: Addressing reviewr comments stage 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_12905_xios_restart/src/OCE/ZDF/zdfric.F90

    r13871 r13932  
    206206         !           !* Read the restart file 
    207207         IF( ln_rstart ) THEN 
    208             IF( lrxios ) CALL iom_swap( TRIM(cr_ocerst_cxt) ) 
    209208            id1 = iom_varid( numror, 'avt_k', ldstop = .FALSE. ) 
    210209            id2 = iom_varid( numror, 'avm_k', ldstop = .FALSE. ) 
    211210            ! 
    212211            IF( MIN( id1, id2 ) > 0 ) THEN         ! restart exists => read it 
    213                CALL iom_get( numror, jpdom_auto, 'avt_k', avt_k, ldxios = lrxios ) 
    214                CALL iom_get( numror, jpdom_auto, 'avm_k', avm_k, ldxios = lrxios ) 
     212               CALL iom_get( numror, jpdom_auto, 'avt_k', avt_k ) 
     213               CALL iom_get( numror, jpdom_auto, 'avm_k', avm_k ) 
    215214            ENDIF 
    216             IF( lrxios ) CALL iom_swap( TRIM(cxios_context) ) 
    217215         ENDIF 
    218216         !           !* otherwise Kz already set to the background value in zdf_phy_init 
     
    221219         !                                   ! ------------------- 
    222220         IF(lwp) WRITE(numout,*) '---- ric-rst ----' 
    223          IF( lwxios ) CALL iom_swap(      cw_ocerst_cxt          ) 
    224          CALL iom_rstput( kt, nitrst, numrow, 'avt_k', avt_k, ldxios = lwxios ) 
    225          CALL iom_rstput( kt, nitrst, numrow, 'avm_k', avm_k, ldxios = lwxios) 
    226          IF( lwxios ) CALL iom_swap(      cxios_context          ) 
     221         CALL iom_rstput( kt, nitrst, numrow, 'avt_k', avt_k ) 
     222         CALL iom_rstput( kt, nitrst, numrow, 'avm_k', avm_k) 
    227223         ! 
    228224      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.