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 7924 for branches/UKMO/dev_r5518_GO6_package_XIOS_read/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90 – NEMO

Ignore:
Timestamp:
2017-04-18T15:42:46+02:00 (7 years ago)
Author:
andmirek
Message:

first commit with XIOS restart read functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_XIOS_read/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90

    r6487 r7924  
    3535   USE timing          ! Timing 
    3636   USE restart         ! restart 
     37   USE iom_def, ONLY : lxios_read 
    3738 
    3839   IMPLICIT NONE 
     
    309310         IF( iom_varid( numror, 'kt', ldstop = .FALSE. ) > 0 ) THEN 
    310311            ! Get Calendar informations 
    311             CALL iom_get( numror, 'kt', zkt )   ! last time-step of previous run 
     312            CALL iom_get( numror, 'kt', zkt, lrxios = lxios_read )   ! last time-step of previous run 
    312313            IF(lwp) THEN 
    313314               WRITE(numout,*) ' *** Info read in restart : ' 
     
    328329            IF ( nrstdt == 2 ) THEN 
    329330               ! read the parameters correspondting to nit000 - 1 (last time step of previous run) 
    330                CALL iom_get( numror, 'ndastp', zndastp ) 
     331               CALL iom_get( numror, 'ndastp', zndastp, lrxios = lxios_read ) 
    331332               ndastp = NINT( zndastp ) 
    332                CALL iom_get( numror, 'adatrj', adatrj  ) 
     333               CALL iom_get( numror, 'adatrj', adatrj, lrxios = lxios_read  ) 
    333334            ELSE 
    334335               ! parameters correspondting to nit000 - 1 (as we start the step loop with a call to day) 
Note: See TracChangeset for help on using the changeset viewer.