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/SAS/daymod.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/SAS/daymod.F90

    r10068 r11837  
    143143      CALL day( nit000 ) 
    144144      IF( lwxios ) THEN 
    145         CALL iom_set_rstw_var_active('kt') 
    146         CALL iom_set_rstw_var_active('ndastp') 
    147         CALL iom_set_rstw_var_active('adatrj') 
    148         CALL iom_set_rstw_var_active('ntime') 
     145        CALL iom_set_rstw_var_active(rst_wfields, 'kt') 
     146        CALL iom_set_rstw_var_active(rst_wfields, 'ndastp') 
     147        CALL iom_set_rstw_var_active(rst_wfields, 'adatrj') 
     148        CALL iom_set_rstw_var_active(rst_wfields, 'ntime') 
    149149      ENDIF 
    150150      ! 
     
    323323 
    324324         IF( iom_varid( numror, 'kt', ldstop = .FALSE. ) > 0 ) THEN 
     325            IF(lrxios) CALL iom_swap(crxios_context) 
    325326            ! Get Calendar informations 
    326327            CALL iom_get( numror, 'kt', zkt, ldxios = lrxios )   ! last time-step of previous run 
     
    379380               ! note this is wrong if time step has changed during run 
    380381            ENDIF 
     382            IF(lrxios) CALL iom_swap(cxios_context) 
    381383         ELSE 
    382384            ! parameters corresponding to nit000 - 1 (as we start the step loop with a call to day) 
Note: See TracChangeset for help on using the changeset viewer.