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 11405 for NEMO/branches/2019/dev_r11351_fldread_with_XIOS/src/OCE/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2019-08-06T15:16:49+02:00 (5 years ago)
Author:
andmirek
Message:

ticket #2195: read weights for blk using XIOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11351_fldread_with_XIOS/src/OCE/SBC/sbcmod.F90

    r10499 r11405  
    496496            & iom_varid( numror, 'utau_b', ldstop = .FALSE. ) > 0 ) THEN 
    497497            IF(lwp) WRITE(numout,*) '          nit000-1 surface forcing fields red in the restart file' 
     498            IF(lrxios) CALL iom_swap( TRIM(crxios_context) ) 
    498499            CALL iom_get( numror, jpdom_autoglo, 'utau_b', utau_b, ldxios = lrxios )   ! before i-stress  (U-point) 
    499500            CALL iom_get( numror, jpdom_autoglo, 'vtau_b', vtau_b, ldxios = lrxios )   ! before j-stress  (V-point) 
     
    508509               sfx_b (:,:) = sfx(:,:) 
    509510            ENDIF 
     511            IF(lrxios) CALL iom_swap( TRIM(cxios_context) ) 
    510512         ELSE                                                   !* no restart: set from nit000 values 
    511513            IF(lwp) WRITE(numout,*) '          nit000-1 surface forcing fields set to nit000' 
Note: See TracChangeset for help on using the changeset viewer.