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/iceupdate.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/iceupdate.F90

    r11536 r11837  
    424424            ! 
    425425            IF( id1 > 0 ) THEN                       ! fields exist 
    426                CALL iom_get( numrir, jpdom_autoglo, 'snwice_mass'  , snwice_mass   ) 
    427                CALL iom_get( numrir, jpdom_autoglo, 'snwice_mass_b', snwice_mass_b ) 
     426               IF(lrxios) CALL iom_swap( TRIM(crixios_context) ) 
     427               CALL iom_get( numrir, jpdom_autoglo, 'snwice_mass'  , snwice_mass, ldxios = lrxios   ) 
     428               CALL iom_get( numrir, jpdom_autoglo, 'snwice_mass_b', snwice_mass_b, ldxios = lrxios ) 
     429               IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    428430            ELSE                                     ! start from rest 
    429431               IF(lwp) WRITE(numout,*) '   ==>>   previous run without snow-ice mass output then set it' 
Note: See TracChangeset for help on using the changeset viewer.