OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ymdhms2jul.f
Go to the documentation of this file.
1 c -------------------------------------------------------------
2 c Subroutine ymdhms2jul
3 c
4 c Convers from Year, Month, Day of Month, Hour, Minute, Second
5 c to Julian time.
6 c
7 c BA Franz, GSC, 1/97
8 c -------------------------------------------------------------
9  subroutine ymdhms2jul(year,month,day,hour,minute,sec,jul)
10 c
11  implicit none
12 c
13  integer*4 year
14  integer*4 month
15  integer*4 day
16  integer*4 hour
17  integer*4 minute
18  real*8 sec
19  real*8 jul
20  integer*4 jd
21 c
22  jul = jd(year,month,day)
23  . + (hour*3600.d0 + minute*60.d0 + sec)/86400.d0
24 c
25  return
26  end
#define real
Definition: DbAlgOcean.cpp:26
Definition: jd.py:1
subroutine ymdhms2jul(year, month, day, hour, minute, sec, jul)
Definition: ymdhms2jul.f:10