irfdef |
Table of contents
ProcedureIRFDEF ( Inertial reference frame, default ) ENTRY IRFDEF ( INDEX ) AbstractSpecify a standard inertial reference frame as the default frame for a program. Required_ReadingFRAMES KeywordsCONVERSION COORDINATES EPHEMERIS FRAMES MATRIX ROTATION TRANSFORMATION VECTOR DeclarationsINTEGER INDEX Brief_I/OVARIABLE I/O DESCRIPTION -------- --- -------------------------------------------------- INDEX I Index of default frame. Detailed_InputINDEX is the index of one of the standard inertial reference frames supported by IRFROT. Detailed_OutputNone. ParametersNone. Exceptions1) If INDEX is outside the range [1,MAXF], where MAXF is the number of supported frames, the error SPICE(IRFNOTREC) is signaled. FilesNone. ParticularsIRFDEF allows tools to be written at a relatively high level without requiring the reference frame to be tramp coupled or placed in global memory. ExamplesTypically, the calling program will select a default frame during initialization, C C Use J2000 for all ephemeris, star data. C CALL IRFDEF ( 1 ) and recover the default frame at lower levels, C C Rotate all vectors into the default frame. C CALL IRFNUM ( 'DEFAULT', REFD ) DO I = 1, NVEC CALL IRFROT ( REFIN, REFD, ROT ) CALL MXV ROT, VEC, VEC ) END DO Note that many utilities accept 'DEFAULT' as the name of an inertial reference frame, CALL SPKEZ ( TARGET, ..., 'DEFAULT', ... ) RestrictionsNone. Literature_References[1] J. Lieske, "Precession Matrix Based on IAU (1976) System of Astronomical Constants," Astron. Astrophys. 73, 282-284, 1979. [2] E. M. Standish, Jr., "Orientation of the JPL Ephemerides, DE 200/LE 200, to the Dynamical Equinox of J2000," Astron. Astrophys. 114, 297-302, 1982. [3] E. M. Standish, Jr., "Conversion of Ephemeris Coordinates from the B1950 System to the J2000 System," JPL IOM 314.6-581, 24 June 1985. [4] E. M. Standish, Jr., "The Equinox Offsets of the JPL Ephemeris," JPL IOM 314.6-929, 26 February 1988. [5] J. Lieske, "Expressions for the Precession Quantities Based upon the IAU (1976) System of Astronomical Constants," Astron. Astrophys. 58, 1-16, 1977. [6] L. Bass and R. Cesarone, "Mars Observer Planetary Constants and Models," JPL D-3444, November 1990. [7] P. Kenneth Seidelmann (Ed.), "Explanatory Supplement to the Astronomical Almanac," University Science Books, 1992. Author_and_InstitutionJ. Diaz del Rio (ODC Space) W.L. Taber (JPL) I.M. Underwood (JPL) E.D. Wright (JPL) VersionSPICELIB Version 4.3.0, 17-JUN-2021 (JDR) Added IMPLICIT NONE statement. Edited the header to comply with NAIF standard. Added $Literature_References. SPICELIB Version 4.2.1, 04-JAN-2002 (EDW) Added DE-143 to header description for IRFROT. SPICELIB Version 4.2.0, 10-APR-1997 (WLT) A descriptive diagnostic was added to the entry points IRFROT and IRFDEF. Before they simply signaled the error with no diagnostic. SPICELIB Version 4.1.0, 14-OCT-1996 (WLT) The number of inertial frames recognized is now stored in the include file ninert.inc. SPICELIB Version 4.0.0, 20-MAY-1996 (WLT) The inertial frame DE-143 was added to the list of recognized inertial frames. SPICELIB Version 3.0.0, 20-MAR-1995 (WLT) The inertial frames DE-140 and DE-142 were added to the list of recognized inertial frames. SPICELIB Version 2.0.0, 30-JUL-1993 (WLT) The transformation from J2000 to B1950 was upgraded so that the transformation matrix produced matches the matrix given in [1]. The frame MARSIAU was added to the list of recognized frames. This is the standard mars referenced inertial frame used by the Mars Observer project. Values for the obliquity of the ecliptic were taken from the Explanatory Supplement [7] to the Astronomical Almanac (1992) at both the epochs J2000 and B1950 and used to define the mean ecliptic and equinox frames ECLIPJ2000 and ECLIPB1950. SPICELIB Version 1.0.1, 10-MAR-1992 (WLT) Comment section for permuted index source lines was added following the header. SPICELIB Version 1.0.0, 31-JAN-1990 (WLT) (IMU) |
Fri Dec 31 18:36:28 2021