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

Ignore:
Timestamp:
2017-10-20T10:04:07+02:00 (7 years ago)
Author:
andmirek
Message:

ticket #1962 xios write functionality works

File:
1 edited

Legend:

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

    r8329 r8644  
    2727   USE timing          ! Timing 
    2828   USE lib_fortran     ! glob_sum 
     29   USE iom_def, ONLY : lwxios 
    2930 
    3031   IMPLICIT NONE 
     
    232233               &                    'at it= ', kt,' date= ', ndastp 
    233234            IF(lwp) WRITE(numout,*) '~~~~' 
    234             CALL iom_rstput( kt, nitrst, numrow, 'fwf_isf_b', fwfisf(:,:) ) 
    235             CALL iom_rstput( kt, nitrst, numrow, 'isf_hc_b' , risf_tsc(:,:,jp_tem) ) 
    236             CALL iom_rstput( kt, nitrst, numrow, 'isf_sc_b' , risf_tsc(:,:,jp_sal) ) 
     235            IF( lwxios ) CALL iom_swap(      wxios_context          ) 
     236               CALL iom_rstput( kt, nitrst, numrow, 'fwf_isf_b', fwfisf(:,:), lxios = lwxios ) 
     237               CALL iom_rstput( kt, nitrst, numrow, 'isf_hc_b' , risf_tsc(:,:,jp_tem), lxios = lwxios ) 
     238               CALL iom_rstput( kt, nitrst, numrow, 'isf_sc_b' , risf_tsc(:,:,jp_sal), lxios = lwxios ) 
     239            IF( lwxios ) CALL iom_swap(      cxios_context          ) 
    237240         ENDIF 
    238241         ! 
     
    393396      END DO 
    394397 
     398      IF( lwxios ) THEN 
     399          CALL set_rstw_var_active('fwf_isf_b') 
     400          CALL set_rstw_var_active('isf_hc_b') 
     401          CALL set_rstw_var_active('isf_sc_b') 
     402      ENDIF 
     403 
     404 
    395405  END SUBROUTINE sbc_isf_init 
    396406 
Note: See TracChangeset for help on using the changeset viewer.