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 11837 for NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/OCE/ZDF/zdfric.F90 – NEMO

Ignore:
Timestamp:
2019-10-30T15:10:36+01:00 (4 years ago)
Author:
andmirek
Message:

ticket #2323 read SI3 restart with XIOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/OCE/ZDF/zdfric.F90

    r11536 r11837  
    106106      ! 
    107107      IF( lwxios ) THEN 
    108          CALL iom_set_rstw_var_active('avt_k') 
    109          CALL iom_set_rstw_var_active('avm_k') 
     108         CALL iom_set_rstw_var_active(rst_wfields, 'avt_k') 
     109         CALL iom_set_rstw_var_active(rst_wfields, 'avm_k') 
    110110      ENDIF 
    111111   END SUBROUTINE zdf_ric_init 
     
    222222         !           !* Read the restart file 
    223223         IF( ln_rstart ) THEN 
     224            IF(lrxios) CALL iom_swap(crxios_context) 
    224225            id1 = iom_varid( numror, 'avt_k', ldstop = .FALSE. ) 
    225226            id2 = iom_varid( numror, 'avm_k', ldstop = .FALSE. ) 
     
    229230               CALL iom_get( numror, jpdom_autoglo, 'avm_k', avm_k, ldxios = lrxios ) 
    230231            ENDIF 
     232            IF(lrxios) CALL iom_swap(cxios_context) 
    231233         ENDIF 
    232234         !           !* otherwise Kz already set to the background value in zdf_phy_init 
Note: See TracChangeset for help on using the changeset viewer.