tyear |
Table of contents
ProcedureTYEAR ( Seconds per tropical year ) DOUBLE PRECISION FUNCTION TYEAR () AbstractReturn the number of seconds in a tropical year. Required_ReadingNone. KeywordsCONSTANTS DeclarationsNone. Brief_I/OThe function returns the number of seconds per tropical year. Detailed_InputNone. Detailed_OutputThe function returns the number of seconds per tropical year. This value is taken from the 1992 Explanatory Supplement to the Astronomical Almanac (see [1]). ParametersNone. ExceptionsError free. FilesNone. ParticularsThe 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. ExamplesSuppose 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. CENTRY = ( ET - UNITIM ( B1950(), 'JED', 'ET' ) ) . / ( 100.0D0 * TYEAR() ) RestrictionsNone. Literature_References[1] P. Kenneth Seidelmann (Ed.), "Explanatory Supplement to the Astronomical Almanac," p 80, University Science Books, 1992. Author_and_InstitutionJ. Diaz del Rio (ODC Space) W.L. Taber (JPL) VersionSPICELIB Version 1.0.1, 13-APR-2021 (JDR) Edited the header to comply with NAIF standard. SPICELIB Version 1.0.0, 13-JUL-1993 (WLT) |
Fri Dec 31 18:37:03 2021