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 7203 for branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/TOP_SRC/trcrst.F90 – NEMO

Ignore:
Timestamp:
2016-11-07T17:59:36+01:00 (7 years ago)
Author:
timgraham
Message:

Remove age tracer as this conflicts with changes for MEDUSA. This will need to be added as a separate branch in suites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/TOP_SRC/trcrst.F90

    r7179 r7203  
    2727   USE trcnam_trp 
    2828   USE iom 
    29    USE in_out_manager , ONLY : ln_rstdate 
    3029   USE daymod 
    3130   IMPLICIT NONE 
     
    4948      !!---------------------------------------------------------------------- 
    5049      INTEGER, INTENT(in) ::   kt       ! number of iteration 
    51       INTEGER             ::   iyear, imonth, iday 
    52       REAL (wp)           ::   zsec 
    5350      ! 
    5451      CHARACTER(LEN=20)   ::   clkt     ! ocean time-step define as a character 
     
    8178      ! except if we write tracer restart files every tracer time step or if a tracer restart file was writen at nitend - 2*nn_dttrc + 1 
    8279      IF( kt == nitrst - 2*nn_dttrc .OR. nstock == nn_dttrc .OR. ( kt == nitend - nn_dttrc .AND. .NOT. lrst_trc ) ) THEN 
    83          IF ( ln_rstdate ) THEN 
    84             CALL ju2ymds( fjulday + rdttra(1) / rday, iyear, imonth, iday, zsec )            
    85             WRITE(clkt, '(i4.4,2i2.2)') iyear, imonth, iday 
    86          ELSE 
    87             ! beware of the format used to write kt (default is i8.8, that should be large enough...) 
    88             IF( nitrst > 999999999 ) THEN   ;   WRITE(clkt, *       ) nitrst 
    89             ELSE                            ;   WRITE(clkt, '(i8.8)') nitrst 
    90             ENDIF 
     80         ! beware of the format used to write kt (default is i8.8, that should be large enough) 
     81         IF( nitrst > 1.0e9 ) THEN   ;   WRITE(clkt,*       ) nitrst 
     82         ELSE                        ;   WRITE(clkt,'(i8.8)') nitrst 
    9183         ENDIF 
    9284         ! create the file 
Note: See TracChangeset for help on using the changeset viewer.