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 13016 for NEMO/branches/2020/dev_12905_xios_ancil/src/OCE/ISF/isfcpl.F90 – NEMO

Ignore:
Timestamp:
2020-06-03T12:48:36+02:00 (4 years ago)
Author:
andmirek
Message:

Ticket #2475 implementation of new interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_12905_xios_ancil/src/OCE/ISF/isfcpl.F90

    r12489 r13016  
    166166      !!---------------------------------------------------------------------- 
    167167      ! 
     168      IF(lrxios) CALL iom_swap( TRIM(crxios_context) ) 
    168169      CALL iom_get( numror, jpdom_autoglo, 'ssmask'  , zssmask_b, ldxios = lrxios   ) ! need to extrapolate T/S 
     170      IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    169171 
    170172      ! compute new ssh if we open a full water column  
     
    244246      REAL(wp), DIMENSION(jpi,jpj,jpk,jpts) :: zts0 
    245247      !!---------------------------------------------------------------------- 
    246       !  
     248      ! 
     249      IF(lrxios) CALL iom_swap( TRIM(crxios_context) ) 
    247250      CALL iom_get( numror, jpdom_autoglo, 'tmask'  , ztmask_b, ldxios = lrxios   ) ! need to extrapolate T/S 
    248251      !CALL iom_get( numror, jpdom_autoglo, 'wmask'  , zwmask_b, ldxios = lrxios   ) ! need to extrapolate T/S 
    249252      !CALL iom_get( numror, jpdom_autoglo, 'gdepw_n', zdepw_b(:,:,:), ldxios = lrxios ) ! need to interpol vertical profile (vvl) 
     253      IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    250254      ! 
    251255      !  
     
    391395      !!---------------------------------------------------------------------- 
    392396      ! 
     397      IF(lrxios) CALL iom_swap( TRIM(crxios_context) ) 
    393398      CALL iom_get( numror, jpdom_autoglo, 'tmask'  , ztmask_b, ldxios = lrxios ) 
    394399      CALL iom_get( numror, jpdom_autoglo, 'e3u_n'  , ze3u_b  , ldxios = lrxios ) 
    395400      CALL iom_get( numror, jpdom_autoglo, 'e3v_n'  , ze3v_b  , ldxios = lrxios ) 
     401      IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    396402      ! 
    397403      ! 1.0: compute horizontal volume flux divergence difference before-after coupling 
     
    495501 
    496502      ! get restart variable 
     503      IF(lrxios) CALL iom_swap( TRIM(crxios_context) ) 
    497504      CALL iom_get( numror, jpdom_autoglo, 'tmask'  , ztmask_b(:,:,:), ldxios = lrxios   ) ! need to extrapolate T/S 
    498505      CALL iom_get( numror, jpdom_autoglo, 'e3t_n'  , ze3t_b(:,:,:)  , ldxios = lrxios ) 
    499506      CALL iom_get( numror, jpdom_autoglo, 'tn'     , zt_b(:,:,:)    , ldxios = lrxios ) 
    500507      CALL iom_get( numror, jpdom_autoglo, 'sn'     , zs_b(:,:,:)    , ldxios = lrxios ) 
     508      IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    501509 
    502510      ! compute run length 
Note: See TracChangeset for help on using the changeset viewer.