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/DOM/closea.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/DOM/closea.F90

    r12377 r13016  
    2020   !!---------------------------------------------------------------------- 
    2121   USE in_out_manager  ! I/O manager 
     22   USE iom_def 
    2223   ! 
    2324   USE diu_bulk    , ONLY: ln_diurnal_only            ! used for sanity check 
    24    USE iom         , ONLY: iom_open, iom_get, iom_close, jpdom_data ! I/O routines 
     25   USE iom         , ONLY: iom_open, iom_get, iom_close, jpdom_data, iom_swap ! I/O routines 
    2526   USE lib_fortran , ONLY: glob_sum                   ! fortran library 
    2627   USE lib_mpp     , ONLY: mpp_max, ctl_nam, ctl_stop ! MPP library 
     
    235236      !!---------------------------------------------------------------------- 
    236237      ! 
     238      IF(lcfg_xios) CALL iom_swap("dom_context") 
     239 
    237240      CALL iom_open ( cd_file, ics ) 
    238       CALL iom_get  ( ics, jpdom_data, TRIM(cd_var), zdta ) 
     241      CALL iom_get  ( ics, jpdom_data, TRIM(cd_var), zdta,  ldxios = lcfg_xios ) 
     242 
    239243      CALL iom_close( ics ) 
    240244      k_mskout(:,:) = NINT(zdta(:,:)) 
Note: See TracChangeset for help on using the changeset viewer.