Changeset 6742 for branches/UKMO/dev_r5518_GO6_package_MEDUSA_extra_CMIP6_diags/NEMOGCM/NEMO/TOP_SRC/trcrst.F90
- Timestamp:
- 2016-06-24T20:10:36+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package_MEDUSA_extra_CMIP6_diags/NEMOGCM/NEMO/TOP_SRC/trcrst.F90
r6741 r6742 84 84 IF ( ln_rstdate ) THEN 85 85 ! CALL ju2ymds( fjulday + rdttra(1) / rday, iyear, imonth, iday, zsec ) 86 zfjulday = fjulday + rdttra(1) / rday86 zfjulday = fjulday + 2*rdttra(1) / rday 87 87 IF( ABS(zfjulday - REAL(NINT(zfjulday),wp)) < 0.1 / rday ) zfjulday = REAL(NINT(zfjulday),wp) ! avoid truncation error 88 88 CALL ju2ymds( zfjulday, iyear, imonth, iday, zsec ) 89 89 90 90 WRITE(clkt, '(i4.4,2i2.2)') iyear, imonth, iday 91 WRITE(numout,*) 'Date for age tracer file' 91 92 ELSE 92 93 ! beware of the format used to write kt (default is i8.8, that should be large enough...) … … 98 99 IF(lwp) WRITE(numout,*) 99 100 clname = TRIM(cexper)//"_"//TRIM(ADJUSTL(clkt))//"_"//TRIM(cn_trcrst_out) 100 clpath = TRIM(cn_ trcrst_outdir)101 clpath = TRIM(cn_ocerst_outdir) 101 102 IF( clpath(LEN_TRIM(clpath):) /= '/' ) clpath = TRIM(clpath) // '/' 102 103 IF(lwp) WRITE(numout,*) &
Note: See TracChangeset
for help on using the changeset viewer.