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

    r11536 r11837  
    15101510     ! 
    15111511     IF( lwxios ) THEN 
    1512         CALL iom_set_rstw_var_active('wn') 
    1513         CALL iom_set_rstw_var_active('hbl') 
    1514         CALL iom_set_rstw_var_active('hbli') 
     1512        CALL iom_set_rstw_var_active(rst_wfields, 'wn') 
     1513        CALL iom_set_rstw_var_active(rst_wfields, 'hbl') 
     1514        CALL iom_set_rstw_var_active(rst_wfields, 'hbli') 
    15151515     ENDIF 
    15161516   END SUBROUTINE zdf_osm_init 
     
    15431543     !!----------------------------------------------------------------------------- 
    15441544     IF( TRIM(cdrw) == 'READ'.AND. ln_rstart) THEN 
     1545        IF(lrxios) CALL iom_swap(crxios_context) 
    15451546        id1 = iom_varid( numror, 'wn'   , ldstop = .FALSE. ) 
    15461547        IF( id1 > 0 ) THEN                       ! 'wn' exists; read 
     
    15611562           WRITE(numout,*) ' ===>>>> : previous run without osmosis scheme, hbl computed from stratification' 
    15621563        END IF 
     1564        IF(lrxios) CALL iom_swap(cxios_context) 
    15631565     END IF 
    15641566 
Note: See TracChangeset for help on using the changeset viewer.