OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
jul2yds.f
Go to the documentation of this file.
1 c ----------------------------------------------------------------
2 c Subroutine jul2yds
3 c
4 c Converts a julian time to Year, Day, and Seconds of Day.
5 c
6 c BA Franz, GSC, 1/97
7 c ----------------------------------------------------------------
8  subroutine jul2yds(jul,year,day,sec)
9 c
10  implicit none
11 c
12  real*8 jul
13  integer*4 year
14  integer*4 day
15  real*8 sec
16  integer*4 julday
17  integer*4 month
18  integer*4 dayOfMonth
19 c
20  julday = int( jul )
21  call jddate( julday, year, month, dayofmonth )
22  call ymd2day( year, month, dayofmonth, day )
23  sec = dmod(jul,1.d0) * 86400.d0
24 c
25  return
26  end
Definition: jddate.py:1
#define real
Definition: DbAlgOcean.cpp:26
subroutine jul2yds(jul, year, day, sec)
Definition: jul2yds.f:9
subroutine ymd2day(year, month, dayOfMonth, dayOfYear)
Definition: ymd2day.f:13