| fgts | stlocal.testfgs | fgts |
fgts -- Convert coordinates from Gnomonic Direction Cosines to Spacecraft.
fgts input_table
This filter searches data tables for Gnomonic Direction Cosines, i.e., those rows in which the FRAME column contains G. When Gnomonic coordinates are found, the X, Y, and associated covariances are converted to Spacecraft coordinates using quaternion multiplication. (The transforming quaternion is obtained from data columns Q1, Q2, Q3, and Q4.)
A star is skipped if an error occurs when retrieving its position information. An error in retreiving the covariance will cause the covariance transformation to be skipped. If a transformation error causes a line to be skipped, the offending column will contain the value INDEF. In all cases, the FRAME column will contain an S.
Fgts uses the following columns:
INPUT OUTPUT ----- ------ X X Y Y X_X X_X Y_Y Y_Y X_Y X_Y FRAME FRAME RAV1,DECV1,ROLLV3 Q1,Q2,Q3,Q4
1. Convert a data table from Gnomonic to Spacecraft coordinates.
cl> fgts intable
2. Convert a data table from Gnomonic to Spacecraft coordinates, and create a new file for the output table.
cl> fgts intable new_table+ output_table="outtable"
3. Convert coordinates in all tables having the suffix .tab.
cl> fgts *.tab