SpiceDouble jyear_c ( void )
Return the number of seconds in a julian year.
None.
CONSTANTS
VARIABLE I/O DESCRIPTION
-------- --- --------------------------------------------------
jyear_c O The number of seconds/julian year
None.
The function returns the number of seconds per julian
year.
None.
Error free.
None.
The julian year is often used as a fundamental unit
of time when dealing with 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 julian centuries
that have elapsed since the ephemeris epoch J1950 (beginning
of the julian year 1950) at a particular ET epoch. The
following lines of code will do the trick.
century = ( et - unitim_c ( j1950_c(), "JED", "ET" ) );
century = century / ( 100.0 * jyear_c() );
None.
Explanatory Supplement to the Astronomical Almanac.
Page 8. University Science Books, 20 Edgehill Road,
Mill Valley, CA 94941
E.D. Wright (JPL)
W.L. Taber (JPL)
-CSPICE Version 1.0.0, 08-FEB-1998 (EDW)
Number of seconds per julian year
Link to routine jyear_c source file jyear_c.c
|