Changeset 1559 for trunk/NEMO/OPA_SRC/daymod.F90
- Timestamp:
- 2009-07-29T16:03:14+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/daymod.F90
r1359 r1559 4 4 !! Ocean : calendar 5 5 !!===================================================================== 6 !! History : !94-09 (M. Pontaud M. Imbard) Original code7 !! !97-03 (O. Marti)8 !! !97-05 (G. Madec)9 !! !97-08 (M. Imbard)10 !! 9.0 !03-09 (G. Madec) F90 + nyear, nmonth, nday11 !! !04-01 (A.M. Treguier) new calculation based on adatrj12 !! !06-08 (G. Madec) surface module major update6 !! History : OPA ! 1994-09 (M. Pontaud M. Imbard) Original code 7 !! ! 1997-03 (O. Marti) 8 !! ! 1997-05 (G. Madec) 9 !! ! 1997-08 (M. Imbard) 10 !! NEMO 1.0 ! 2003-09 (G. Madec) F90 + nyear, nmonth, nday 11 !! ! 2004-01 (A.M. Treguier) new calculation based on adatrj 12 !! ! 2006-08 (G. Madec) surface module major update 13 13 !!---------------------------------------------------------------------- 14 14 … … 30 30 USE in_out_manager ! I/O manager 31 31 USE iom ! 32 USE ioipsl, ONLY : ymds2ju 32 USE ioipsl, ONLY : ymds2ju ! for calendar 33 33 USE prtctl ! Print control 34 34 USE restart ! … … 37 37 PRIVATE 38 38 39 PUBLIC day ! called by step.F9040 PUBLIC day_init ! called by istate.F9039 PUBLIC day ! called by step.F90 40 PUBLIC day_init ! called by istate.F90 41 41 42 42 INTEGER , PUBLIC :: nyear !: current year … … 50 50 51 51 REAL(wp), PUBLIC :: fjulday !: julian day 52 REAL(wp), PUBLIC :: adatrj !: number of elapsed days since the begining of the run 53 ! !: it is the accumulated duration of previous runs 54 ! !: that may have been run with different time steps. 55 INTEGER , PUBLIC, DIMENSION(0:1) :: nyear_len !: length in days of the previous/current year 52 REAL(wp), PUBLIC :: adatrj !: number of elapsed days since the begining of the whole simulation 53 ! !: (cumulative duration of previous runs that may have used different time-step size) 54 INTEGER , PUBLIC, DIMENSION(0: 1) :: nyear_len !: length in days of the previous/current year 56 55 INTEGER , PUBLIC, DIMENSION(0:13) :: nmonth_len !: length in days of the months of the current year 57 REAL(wp), PUBLIC, DIMENSION(0:13) :: rmonth_half !: second since the beginning of the year and the halftof the months58 REAL(wp), PUBLIC, DIMENSION(0:13) :: rmonth_end !: second since the beginning of theyear and the end of the months59 REAL(wp), PUBLIC :: sec1jan000 !: second since Jan . 1st 00h of nit000 year and Jan. 1st 00h ofthe current year56 REAL(wp), PUBLIC, DIMENSION(0:13) :: rmonth_half !: second since Jan 1st 0h of the current year and the half of the months 57 REAL(wp), PUBLIC, DIMENSION(0:13) :: rmonth_end !: second since Jan 1st 0h of the current year and the end of the months 58 REAL(wp), PUBLIC :: sec1jan000 !: second since Jan 1st 0h of nit000 year and Jan 1st 0h the current year 60 59 61 60 ! this two variables are wrong DO NOT USE THEM !!! … … 65 64 & 31, 31, 30, 31, 30, 31 /) !: (365 days a year) 66 65 67 68 66 !!---------------------------------------------------------------------- 69 !! OPA 9.0 , LOCEAN-IPSL (2006)67 !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009) 70 68 !! $Id$ 71 69 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) … … 183 181 rmonth_end(jm) = rmonth_end(jm-1) + rday * REAL( nmonth_len(jm), wp ) 184 182 END DO 185 183 ! 186 184 END SUBROUTINE 187 185
Note: See TracChangeset
for help on using the changeset viewer.