Changeset 1450 for trunk/NEMO/OFF_SRC/daymod.F90
- Timestamp:
- 2009-05-15T16:12:12+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OFF_SRC/daymod.F90
r1291 r1450 30 30 USE in_out_manager ! I/O manager 31 31 USE prtctl ! Print control 32 USE ioipsl, ONLY : ymds2ju ! for calendar 32 33 33 34 IMPLICIT NONE … … 46 47 REAL(wp), PUBLIC :: rsec_day !: current time step counted in second since 00h of the current day 47 48 49 REAL(wp), PUBLIC :: fjulday !: julian day 48 50 REAL(wp), PUBLIC :: adatrj !: number of elapsed days since the begining of the run 49 51 ! !: it is the accumulated duration of previous runs … … 95 97 nmonth = ( ndastp - (nyear * 10000) ) / 100 96 98 nday = ndastp - (nyear * 10000) - ( nmonth * 100 ) 99 100 CALL ymds2ju( nyear, nmonth, nday, 0.0, fjulday ) ! we assume that we start run at 00:00 101 fjulday = fjulday + 1. ! move back to the day at nit000 (and not at nit000 - 1) 102 97 103 98 104 sec1jan000 = 0.e0 … … 203 209 rsec_day = rsec_day + rdttra(1) 204 210 adatrj = adatrj + rdttra(1) / rday 205 211 fjulday = fjulday + rdttra(1) / rday 212 206 213 IF( rsec_day > rday ) THEN ! NEW day 207 214 !
Note: See TracChangeset
for help on using the changeset viewer.