Last change
on this file since 9212 was 731, checked in by tbretz, 24 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | #include "slalib.h"
|
---|
2 | #include "slamac.h"
|
---|
3 | double slaDtt ( double utc )
|
---|
4 | /*
|
---|
5 | ** - - - - - - -
|
---|
6 | ** s l a D t t
|
---|
7 | ** - - - - - - -
|
---|
8 | **
|
---|
9 | ** Increment to be applied to Coordinated Universal Time UTC to give
|
---|
10 | ** Terrestrial Time TT (formerly Ephemeris Time ET).
|
---|
11 | **
|
---|
12 | ** (double precision)
|
---|
13 | **
|
---|
14 | ** Given:
|
---|
15 | ** utc double UTC date as a modified JD (JD-2400000.5)
|
---|
16 | **
|
---|
17 | ** Result: TT-UTC in seconds
|
---|
18 | **
|
---|
19 | ** Notes:
|
---|
20 | **
|
---|
21 | ** 1 The UTC is specified to be a date rather than a time to indicate
|
---|
22 | ** that care needs to be taken not to specify an instant which lies
|
---|
23 | ** within a leap second. Though in most cases UTC can include the
|
---|
24 | ** fractional part, correct behaviour on the day of a leap second
|
---|
25 | ** can only be guaranteed up to the end of the second 23:59:59.
|
---|
26 | **
|
---|
27 | ** 2 Pre 1972 January 1 a fixed value of 10 + ET-TAI is returned.
|
---|
28 | **
|
---|
29 | ** 3 See also the routine slaDt, which roughly estimates ET-UT for
|
---|
30 | ** historical epochs.
|
---|
31 | **
|
---|
32 | ** Called: slaDat
|
---|
33 | **
|
---|
34 | ** Last revision: 6 December 1994
|
---|
35 | **
|
---|
36 | ** Copyright P.T.Wallace. All rights reserved.
|
---|
37 | */
|
---|
38 | {
|
---|
39 | return 32.184 + slaDat ( utc );
|
---|
40 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.