SpiceDouble tyear_c ( void )
Return the number of seconds in a tropical year.
None.
CONSTANTS
VARIABLE I/O DESCRIPTION
-------- --- --------------------------------------------------
tyear_c O The number of seconds/tropical year
None.
The function returns the number of seconds per tropical
year. This value is taken from the 1992 Explanatory Supplement
to the Astronomical Almanac.
None.
Error free.
None.
The tropical year is often used as a fundamental unit
of time when dealing with older ephemeris data. For this
reason its value in terms of ephemeris seconds is
recorded in this function.
Suppose you wish to compute the number of tropical centuries
that have elapsed since the ephemeris epoch B1950 (beginning
of the Besselian year 1950) at a particular ET epoch. The
following line of code will do the trick.
century = ( et - unitim_ ( b1950_c(), "JED", "ET" ) )
/ ( 100.0 * tyear_c() );
None.
Explanatory Supplement to the Astronomical Almanac.
Page 80. University Science Books, 20 Edgehill Road,
Mill Valley, CA 94941
W.L. Taber (JPL)
E.D. Wright (JPL)
-CSPICE Version 1.0.0, 08-FEB-1998 (EDW)
Number of seconds per tropical year
Link to routine tyear_c source file tyear_c.c
|