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 13727 for NEMO/branches/2020/dev_12905_xios_restart/src/TOP/trcrst.F90 – NEMO

Ignore:
Timestamp:
2020-11-05T15:18:53+01:00 (4 years ago)
Author:
andmirek
Message:

Ticket #2462: Upate to trunk rev 13688

Location:
NEMO/branches/2020/dev_12905_xios_restart
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_12905_xios_restart

    • Property svn:externals
      •  

        old new  
        33^/utils/build/mk@HEAD         mk 
        44^/utils/tools@HEAD            tools 
        5 ^/vendors/AGRIF/dev@HEAD      ext/AGRIF 
         5^/vendors/AGRIF/dev_r12970_AGRIF_CMEMS      ext/AGRIF 
        66^/vendors/FCM@HEAD            ext/FCM 
        77^/vendors/IOIPSL@HEAD         ext/IOIPSL 
        88 
        99# SETTE 
        10 ^/utils/CI/sette@HEAD         sette 
         10^/utils/CI/sette@13559        sette 
  • NEMO/branches/2020/dev_12905_xios_restart/src/TOP/trcrst.F90

    r12969 r13727  
    3333   PUBLIC   trc_rst_cal 
    3434 
     35#  include "domzgr_substitute.h90" 
    3536   !!---------------------------------------------------------------------- 
    3637   !! NEMO/TOP 4.0 , NEMO Consortium (2018) 
     
    132133      IF(lrtxios) CALL iom_swap(crtxios_context) 
    133134      DO jn = 1, jptra 
    134          CALL iom_get( numrtr, jpdom_autoglo, 'TRN'//ctrcnm(jn), tr(:,:,:,jn,Kmm), ldxios = lrtxios ) 
     135         CALL iom_get( numrtr, jpdom_auto, 'TRN'//ctrcnm(jn), tr(:,:,:,jn,Kmm), ldxios = lrtxios ) 
    135136      END DO 
    136137 
    137138      DO jn = 1, jptra 
    138          CALL iom_get( numrtr, jpdom_autoglo, 'TRB'//ctrcnm(jn), tr(:,:,:,jn,Kbb), ldxios = lrtxios ) 
     139         CALL iom_get( numrtr, jpdom_auto, 'TRB'//ctrcnm(jn), tr(:,:,:,jn,Kbb), ldxios = lrtxios ) 
    139140      END DO 
    140141      ! 
     
    280281               ! calculate start time in hours and minutes 
    281282               zdayfrac=adatrj-INT(adatrj) 
    282                ksecs = NINT(zdayfrac*86400)            ! Nearest second to catch rounding errors in adatrj               
     283               ksecs = NINT(zdayfrac*86400)            ! Nearest second to catch rounding errors in adatrj 
    283284               ihour = INT(ksecs/3600) 
    284285               iminute = ksecs/60-ihour*60 
     
    301302               adatrj = INT(adatrj)                    ! adatrj set to integer as nn_time0 updated             
    302303             ELSE 
     304               ndt05 = NINT( 0.5 * rn_Dt  )   !  --- WARNING --- not defined yet are we did not go through day_init 
    303305               ! parameters corresponding to nit000 - 1 (as we start the step 
    304306               ! loop with a call to day) 
    305                ndastp = ndate0 - 1       ! ndate0 read in the namelist in dom_nam 
     307               ndastp = ndate0        ! ndate0 read in the namelist in dom_nam 
    306308               nhour   =   nn_time0 / 100 
    307309               nminute = ( nn_time0 - nhour * 100 ) 
Note: See TracChangeset for help on using the changeset viewer.