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 8630 for branches/2017/dev_r8600_xios_write/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2017-10-17T14:31:49+02:00 (7 years ago)
Author:
andmirek
Message:

#1962 merge with branches/UKMO/dev_r7573_xios_write (doesn't woork)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8600_xios_write/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r8524 r8630  
    5858 
    5959   USE diurnal_bulk, ONLY:   ln_diurnal_only   ! diurnal SST diagnostic 
     60   USE iom_def, ONLY : lwxios 
    6061 
    6162   IMPLICIT NONE 
     
    485486            &                    'at it= ', kt,' date= ', ndastp 
    486487         IF(lwp) WRITE(numout,*) '~~~~' 
    487          CALL iom_rstput( kt, nitrst, numrow, 'utau_b' , utau ) 
    488          CALL iom_rstput( kt, nitrst, numrow, 'vtau_b' , vtau ) 
    489          CALL iom_rstput( kt, nitrst, numrow, 'qns_b'  , qns  ) 
     488         IF( lwxios ) CALL iom_swap(      wxios_context          ) 
     489         CALL iom_rstput( kt, nitrst, numrow, 'utau_b' , utau, lxios = lwxios ) 
     490         CALL iom_rstput( kt, nitrst, numrow, 'vtau_b' , vtau, lxios = lwxios ) 
     491         CALL iom_rstput( kt, nitrst, numrow, 'qns_b'  , qns, lxios = lwxios  ) 
    490492         ! The 3D heat content due to qsr forcing is treated in traqsr 
    491493         ! CALL iom_rstput( kt, nitrst, numrow, 'qsr_b'  , qsr  ) 
    492          CALL iom_rstput( kt, nitrst, numrow, 'emp_b'  , emp  ) 
    493          CALL iom_rstput( kt, nitrst, numrow, 'sfx_b'  , sfx  ) 
     494         CALL iom_rstput( kt, nitrst, numrow, 'emp_b'  , emp, lxios = lwxios  ) 
     495         CALL iom_rstput( kt, nitrst, numrow, 'sfx_b'  , sfx, lxios = lwxios  ) 
     496         IF( lwxios ) CALL iom_swap(      cxios_context          ) 
    494497      ENDIF 
    495498      !                                                ! ---------------------------------------- ! 
Note: See TracChangeset for help on using the changeset viewer.