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 7158 for branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/IOM – NEMO

Ignore:
Timestamp:
2016-10-29T01:21:05+02:00 (8 years ago)
Author:
clem
Message:

debug branch

Location:
branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/IOM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90

    r7069 r7158  
    18131813            idx = INDEX(clname,'@startdate@') + INDEX(clname,'@STARTDATE@') 
    18141814            DO WHILE ( idx /= 0 )  
    1815                cldate = iom_sdate( fjulday - rdttra(1) / rday ) 
     1815               cldate = iom_sdate( fjulday - rdt / rday ) 
    18161816               clname = clname(1:idx-1)//TRIM(cldate)//clname(idx+11:LEN_TRIM(clname)) 
    18171817               idx = INDEX(clname,'@startdate@') + INDEX(clname,'@STARTDATE@') 
     
    18201820            idx = INDEX(clname,'@startdatefull@') + INDEX(clname,'@STARTDATEFULL@') 
    18211821            DO WHILE ( idx /= 0 )  
    1822                cldate = iom_sdate( fjulday - rdttra(1) / rday, ldfull = .TRUE. ) 
     1822               cldate = iom_sdate( fjulday - rdt / rday, ldfull = .TRUE. ) 
    18231823               clname = clname(1:idx-1)//TRIM(cldate)//clname(idx+15:LEN_TRIM(clname)) 
    18241824               idx = INDEX(clname,'@startdatefull@') + INDEX(clname,'@STARTDATEFULL@') 
     
    18271827            idx = INDEX(clname,'@enddate@') + INDEX(clname,'@ENDDATE@') 
    18281828            DO WHILE ( idx /= 0 )  
    1829                cldate = iom_sdate( fjulday + rdttra(1) / rday * REAL( nitend - nit000, wp ), ld24 = .TRUE. ) 
     1829               cldate = iom_sdate( fjulday + rdt / rday * REAL( nitend - nit000, wp ), ld24 = .TRUE. ) 
    18301830               clname = clname(1:idx-1)//TRIM(cldate)//clname(idx+9:LEN_TRIM(clname)) 
    18311831               idx = INDEX(clname,'@enddate@') + INDEX(clname,'@ENDDATE@') 
     
    18341834            idx = INDEX(clname,'@enddatefull@') + INDEX(clname,'@ENDDATEFULL@') 
    18351835            DO WHILE ( idx /= 0 )  
    1836                cldate = iom_sdate( fjulday + rdttra(1) / rday * REAL( nitend - nit000, wp ), ld24 = .TRUE., ldfull = .TRUE. ) 
     1836               cldate = iom_sdate( fjulday + rdt / rday * REAL( nitend - nit000, wp ), ld24 = .TRUE., ldfull = .TRUE. ) 
    18371837               clname = clname(1:idx-1)//TRIM(cldate)//clname(idx+13:LEN_TRIM(clname)) 
    18381838               idx = INDEX(clname,'@enddatefull@') + INDEX(clname,'@ENDDATEFULL@') 
  • branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90

    r5407 r7158  
    123123      !!---------------------------------------------------------------------- 
    124124 
    125                      CALL iom_rstput( kt, nitrst, numrow, 'rdt'    , rdt       )   ! dynamics time step 
    126                      CALL iom_rstput( kt, nitrst, numrow, 'rdttra1', rdttra(1) )   ! surface tracer time step 
     125                     CALL iom_rstput( kt, nitrst, numrow, 'rdt'    , rdt       )     ! dynamics and tracer time step 
    127126 
    128127                     CALL iom_rstput( kt, nitrst, numrow, 'ub'     , ub        )     ! before fields 
     
    205204      !! ** Method  :   Read in restart.nc file fields which are necessary for restart 
    206205      !!---------------------------------------------------------------------- 
    207       REAL(wp) ::   zrdt, zrdttra1 
     206      REAL(wp) ::   zrdt 
    208207      INTEGER  ::   jk 
    209208      LOGICAL  ::   llok 
     
    216215         CALL iom_get( numror, 'rdt', zrdt ) 
    217216         IF( zrdt /= rdt )   neuler = 0 
    218       ENDIF 
    219       IF( iom_varid( numror, 'rdttra1', ldstop = .FALSE. ) > 0 )   THEN 
    220          CALL iom_get( numror, 'rdttra1', zrdttra1 ) 
    221          IF( zrdttra1 /= rdttra(1) )   neuler = 0 
    222217      ENDIF 
    223218      !  
Note: See TracChangeset for help on using the changeset viewer.