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 8612 for branches/2017/dev_r8600_xios_read/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90 – NEMO

Ignore:
Timestamp:
2017-10-11T13:03:17+02:00 (6 years ago)
Author:
andmirek
Message:

#1953 read single file restart with XIOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8600_xios_read/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90

    r8329 r8612  
    3333   USE timing         ! Timing 
    3434   USE restart        ! restart 
     35   USE iom_def, ONLY : lxios_read 
    3536 
    3637   IMPLICIT NONE 
     
    318319         IF( iom_varid( numror, 'kt', ldstop = .FALSE. ) > 0 ) THEN 
    319320            ! Get Calendar informations 
    320             CALL iom_get( numror, 'kt', zkt )   ! last time-step of previous run 
     321            CALL iom_get( numror, 'kt', zkt, lrxios = lxios_read )   ! last time-step of previous run 
    321322            IF(lwp) THEN 
    322323               WRITE(numout,*) ' *** Info read in restart : ' 
     
    337338            IF ( nrstdt == 2 ) THEN 
    338339               ! read the parameters corresponding to nit000 - 1 (last time step of previous run) 
    339                CALL iom_get( numror, 'ndastp', zndastp ) 
     340               CALL iom_get( numror, 'ndastp', zndastp, lrxios = lxios_read ) 
    340341               ndastp = NINT( zndastp ) 
    341                CALL iom_get( numror, 'adatrj', adatrj  ) 
    342           CALL iom_get( numror, 'ntime', ktime ) 
     342               CALL iom_get( numror, 'adatrj', adatrj, lrxios = lxios_read ) 
     343          CALL iom_get( numror, 'ntime', ktime, lrxios = lxios_read ) 
    343344          nn_time0=INT(ktime) 
    344345               ! calculate start time in hours and minutes 
Note: See TracChangeset for help on using the changeset viewer.