/[lmdze]/trunk/IOIPSL/Calendar/itau2date.f90
ViewVC logotype

Contents of /trunk/IOIPSL/Calendar/itau2date.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (show annotations)
Wed Apr 29 15:47:56 2015 UTC (9 years ago) by guez
Original Path: trunk/Sources/IOIPSL/Calendar/itau2date.f
File size: 636 byte(s)
Sources inside, compilation outside.
1 module itau2date_m
2
3 implicit none
4
5 contains
6
7 REAL FUNCTION itau2date (itau, date0, deltat)
8
9 ! This function transforms itau into a date. The date whith which
10 ! the time axis is going to be labeled
11
12 use calendar
13
14 ! INPUT
15 ! itau: current time step
16 ! date0: Date at which itau was equal to 0
17 ! deltat: time step between itau s
18
19 ! OUTPUT
20 ! itau2date: Date for the given itau
21
22 INTEGER:: itau
23 REAL:: date0, deltat
24 !--------------------------------------------------------------------
25 itau2date = REAL(itau)*deltat/un_jour+date0
26
27 END FUNCTION itau2date
28
29 end module itau2date_m

  ViewVC Help
Powered by ViewVC 1.1.21