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/TRA – NEMO

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

Ticket #2475 implementation of new interface

Location:
NEMO/branches/2020/dev_12905_xios_ancil/src/OCE/TRA
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_12905_xios_ancil/src/OCE/TRA/traqsr.F90

    r12489 r13016  
    402402      ! 1st ocean level attenuation coefficient (used in sbcssm) 
    403403      IF( iom_varid( numror, 'fraqsr_1lev', ldstop = .FALSE. ) > 0 ) THEN 
     404         IF(lrxios) CALL iom_swap( TRIM(crxios_context) ) 
    404405         CALL iom_get( numror, jpdom_autoglo, 'fraqsr_1lev'  , fraqsr_1lev, ldxios = lrxios  ) 
     406         IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    405407      ELSE 
    406408         fraqsr_1lev(:,:) = 1._wp   ! default : no penetration 
  • NEMO/branches/2020/dev_12905_xios_ancil/src/OCE/TRA/trasbc.F90

    r12489 r13016  
    108108         IF( ln_rstart .AND.    &               ! Restart: read in restart file 
    109109              & iom_varid( numror, 'sbc_hc_b', ldstop = .FALSE. ) > 0 ) THEN 
     110            IF(lrxios) CALL iom_swap( TRIM(crxios_context) ) 
    110111            IF(lwp) WRITE(numout,*) '          nit000-1 sbc tracer content field read in the restart file' 
    111112            zfact = 0.5_wp 
     
    113114            CALL iom_get( numror, jpdom_autoglo, 'sbc_hc_b', sbc_tsc_b(:,:,jp_tem), ldxios = lrxios )   ! before heat content sbc trend 
    114115            CALL iom_get( numror, jpdom_autoglo, 'sbc_sc_b', sbc_tsc_b(:,:,jp_sal), ldxios = lrxios )   ! before salt content sbc trend 
     116            IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    115117         ELSE                                   ! No restart or restart not found: Euler forward time stepping 
    116118            zfact = 1._wp 
Note: See TracChangeset for help on using the changeset viewer.