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/ICE/icedyn_rhg_evp.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/ICE/icedyn_rhg_evp.F90

    r11536 r11837  
    879879            ! 
    880880            IF( MIN( id1, id2, id3 ) > 0 ) THEN      ! fields exist 
    881                CALL iom_get( numrir, jpdom_autoglo, 'stress1_i' , stress1_i  ) 
    882                CALL iom_get( numrir, jpdom_autoglo, 'stress2_i' , stress2_i  ) 
    883                CALL iom_get( numrir, jpdom_autoglo, 'stress12_i', stress12_i ) 
     881               IF(lrxios) CALL iom_swap( TRIM(crixios_context) ) 
     882               CALL iom_get( numrir, jpdom_autoglo, 'stress1_i' , stress1_i, ldxios = lrxios  ) 
     883               CALL iom_get( numrir, jpdom_autoglo, 'stress2_i' , stress2_i, ldxios = lrxios  ) 
     884               CALL iom_get( numrir, jpdom_autoglo, 'stress12_i', stress12_i, ldxios = lrxios ) 
     885               IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    884886            ELSE                                     ! start rheology from rest 
    885887               IF(lwp) WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.