Angular Momentum Desaturation File

Table of Contents

  • Appendix A. Sample Wrapped File
                PROJECT MGS                         Number   : SIS EAE 003
      SOFTWARE INTERFACE SPECIFICATION              Revision : A
                Cover Sheet                         Date     : 25 January 1996
    
    Interface Title: Angular Momentum Desaturation (AMD) File
    Interface ID: EAE003 Version: Revision A
    Author: J. E. Ekelund (original 24 Jan 91) Revision by S. Odiorne 26 Aug 95
    Generating Element Engineer: Engineering Analysis __________________________________ 26 August 1995 Steve Odiorne Date
    Receiving Element Engineer: Navigation Analysis __________________________________ 2/14/96 P. B. Esposito Date
    Receiving Element Engineer: Data Storage and Retrieval __________________________________ 1-23-96 John Swift Date MGS PDB Administrator
    Approval Name and Title Date __________________________________ 2/14/96 P. B. Esposito Cognizant Interface Engineer __________________________________ 14 Feb 96 R. D. Benson GDS Software System Engineer
    Title Page

    Author(s): John E. Ekelund

    SIS EAE 003

    PROJECT Mars Global Surveyor

    ANGULAR MOMENTUM DESATURATION FILE

    Software Interface Specification

    6 October 1995

    ABSTRACT: This document describes the form and syntax of the Angular Momentum Desaturation File generated by Engineering Analysis.

    Copyright (C)*, Jet Propulsion Laboratory, California Institute of Technology. U.S. Government Sponsorship acknowledged.

                        DISTRIBUTION LIST
    
    		Benson, R. D.		264--214
    		Bottenfield, J.		264--214
    		Demcak, S. N.		301--150
    		Ekelund, J. E.		301--220G
    		Esposito, P. B.		301--150
    		Hammer, F.		264--214
    		Jai, B.			301--235
    		Krug, J.		264--214
    		Neuman, J.		LMA
    		Odiorne, S.		LMA
    		Schmidling, J.		264--235
    		Sunseri, R. F.		301--220G
    		Swift, J.		264--214
    		Wagner, D.		301--345
    
    
    
               DOCUMENT CHANGE LOG
    
    
         Change      Date       Affected Portions
         Letter
    
         Original    1/24/91    All
    
         Revision A  1/25/96    All; reissued whole document (deleted and
    			    renumbered data records to reflect reduced
    			    MGS thruster set) [Sign-off complete 2/14/96]
    
    
               List of TBD Items
    
         Page        Resolution Date       Item
    
    

    1. GENERAL DESCRIPTION

    1.1 CONTENT OVERVIEW

    This Software Interface Specification (SIS) contains the description of the Angular Momentum Desaturation (AMD) File.

    1.2 SCOPE

    This document describes information pertaining to the spacecraft's hydrazine thrusters used in the unloading of momentum stored by the spacecraft's reaction wheels.

    The format and syntax specifications in this SIS apply to all phases of the mission.

    1.3 APPLICABLE DOCUMENTS

       SFOC0038-05-25-01     10 Jan 94   SFOC-1-CDB-ANY-CATALOGUE2
    
       SFOC0099-01-00        13 Jun 90   Data Dictionary
    
       SFOC0038-01-14-01     4 Oct 90    SFOC-1-CDB-MGN-TIMESFILE
    
       SFOC0038-02-27-05     30 Aug 94   SFOC-2-SYS-ANY-TIMEFORMS
    
    			 1 Jul 90    DPTRAJ-ODP User Reference Manual,
    				     SOM Vol. 1 and Vol. 2
    
    		         1 Jul 90    DPTRAJ and ODP Interfaces and File
    				     Format Descriptions, SOM, Vol. 3
    

    1.4 SUBSYSTEM SITING

    1.4.1 Interface Location, Medium

    This interface shall consist of a file generated in formatted FORTRAN.

    1.4.2 Data Source, Destination, and Transfer Method

    The AMD File is generated on the EAE computer. The destination of the data is DPTRAJ within the NAE.

    1.4.3 Generation Method and Frequency

    The AMD file will be generated as required to support NAV operations. Angular Momentum Desaturations (AMDs) are autonomously activated.

    1.4.4 Pertinent Relationships with Other Interfaces

    None.

    1.4.5 Labeling and Identification

    Internal labeling of the AMD File is accomplished with header records as defined in Section 4.2.

    1.5 Assumptions and Constraints

    N/A

    2. INTERFACE CHARACTERISTICS

    2.1 HARDWARE CHACTERISTICS AND LIMITATIONS

    N/A

    2.2 VOLUME AND SIZE

    This file will consist of 80 byte records consisting of 3 AMD header records and 16 data records. Other data will be the SFDU header and file trailer records.

    2.3 INTERFACE MEDIUM CHARACTERISTICS

    The interface medium will be a computer disk file written in ASCII format.

    2.4 FAILURE PROTECTION, DETECTION, RECOVERY FEATURES

    None.

    2.5 END-OF-FILE (OR MEDIUM) CONVENTIONS

    $$EOF shall designate end-of-file.

    3. ACCESS

    3.1 PROGRAMS USING THE INTERFACE DATA

    See cover sheet.

    3.2 SYNCHRONIZATION CONSIDERATIONS

    N/A

    3.3 INPUT/OUTPUT PROTOCOLS, CALLING SEQUENCES

    N/A

    4. DETAILED INTERFACE SPECIFICATIONS

    4.1 STRUCTURE AND ORGANIZATION OVERVIEW

    The Angular Momentum Desaturation File consists of the SFDU header, the AMD headers, and the AMD data records. Each will be described in the following sections.

    4.2 DATA FORMAT AND DEFINITION

    4.2.1 SFDU Data Description

    The SFDU information and structure for the AMD File, in diagramatic representation:
    CCSD3ZS00001AAAAAAAA
        NJPL3KS0L015BBBBBBBB
            <CR><LF>
            MISSION_NAME=MARS_GLOBAL_SURVEYOR;<CR><LF>
            SPACECRAFT_NAME=MARS_GLOBAL_SURVEYOR;<CR><LF>
            DATA_SET_ID=ANGULAR_MOMENTUM_DESAT;<CR><LF>
            FILE_NAME=amdfile.x;<CR><LF>
            PRODUCER_ID=NAV;<CR><LF>
            APPLICABLE_START_TIME=1993-001T00:00:00.000;<CR><LF>
            APPLICABLE_STOP_TIME=1993-001T15:38:31.800;<CR><LF>
            PRODUCT_CREATION_TIME-1990-12-21T10:43:00;<CR><LF>
        CCSD3RE00000BBBBBBBB
        NJPL3IS00255CCCCCCCC
    
    In the actual AMD File, the following SFDU data is located at the end of the file, following the non-SFDU data, which is described in Section 4.2.2
        CCSD3RE00000CCCCCCCC
    CCSD3RE00000AAAAAAAA
    

    4.2.2 Non-SFDU Data Description

    The non-SFDU portion of the file is described as follows:
    4.2.2.1 Header Record 1
    Header record 1 identifies the file name.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-2      "* "                Header character
      3-15     "ANGULARMOMENT"     File identifier (general)
     16-27     "HISTORY DATA"      File identifier (specific)
    
    
    4.2.2.2 Header Record 2
    Header Record 2 specifies the date and time of file creation.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-2      "* "                Header character
      3-16     "CREATION: SCT "    Specifies that the file creation
                                   is by the SCT
     17-27     dd-mmm-yyyy         Day, month and year of file
                                   creation, eg 04-DEC-1989 (local
                                   date)
     28-28     " "                 Blank space
     29-36     hh:mm:ss            Hours, minutes and seconds of file
                                   creation (local time)
    
    4.2.2.3 Header Record 3
    Header Record 3 contains the user input file description.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-2      "* "                Header character
      3-80     User input          File description input by user
                                   i.e., user free to put in his
                                   own information here
    
    4.2.2.4 Data Record 1
    Data Record 1 specifies momentum unload start time.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-12     "STRT_TIME = "      Closest indication to when
                                   momentum begins to be imparted
                                   to the spacecraft.
     13-31     yy-ddd/hh:mm:ss.fff Unload event start time
                                   at the spacecraft (UTC).
    
    4.2.2.5 Data Record 2
    Data Record 2 specifies momentum unload end time.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-12     "STOP_TIME = "      Closest indication to when
                                   momentum ceases to be imparted
                                   to the spacecraft.
     13-31     yy-ddd/hh:mm:ss.fff Unload event stop time
                                   at the spacecraft (UTC).
    
    4.2.2.6 Data Record 3
    Data records 3 through 14 represent data for each of the 12 possible thrusters that are numbered 01 through 12. This data record is for thruster number 01.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 01"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 1. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 1.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 1.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 1.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 1.
    
    4.2.2.7 Data Record 4
    This data record is for thruster number 02.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 02"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 2. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 2.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 2.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 2.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 2.
    
    4.2.2.8 Data Record 5
    This data record is for thruster number 03.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 03"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 3. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 3.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 3.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 3.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 3.
    
    4.2.2.9 Data Record 6
    This data record is for thruster number 04.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 04"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 4. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 4.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 4.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 4.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 4.
    
    4.2.2.10 Data Record 7
    This data record is for thruster number 05.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 05"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 5. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 5.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 5.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 5.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 5.
    
    4.2.2.11 Data Record 8
    This data record is for thruster number 06.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 06"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 6. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 6.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 6.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 6.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 6.
    
    4.2.2.12 Data Record 9
    This data record is for thruster number 07.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 07"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 7. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 7.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 7.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 7.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 7.
    
    4.2.2.13 Data Record 10
    This data record is for thruster number 08.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 08"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 8. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 8.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 8.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 8.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 8.
    
    4.2.2.14 Data Record 11
    This data record is for thruster number 09.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 09"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 9. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 9.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 9.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 9.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 9.
    
    4.2.2.15 Data Record 12
    This data record is for thruster number 10.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 10"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 10. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 10.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 10.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 10.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 10.
    
    4.2.2.16 Data Record 13
    This data record is for thruster number 11.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 11"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 11. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 11.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 11.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 11.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 11.
    
    4.2.2.17 Data Record 14
    This data record is for thruster number 12.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-11     "THRUSTER 12"       Record label. This record is
                                   always present, even if
                                   thruster is inactive.
     12-12     " "                 Blank space
     13-23     "NO._PULSES="       Label to indicate the number
                                   of pulses fired during the
                                   course of a single desaturation
                                   event.
     24-26      I3                 Integer number of pulses for
                                   thruster 12. If = 0, this
                                   thruster is inactive. If
                                   not = 0, thruster is active.
     27-27     " "                 Blank space
     28-36     "DEADTIME="         Label to indicate time between
                                   pulses for thruster 12.
     37-41     F5.2                Time in seconds between pulses.
     42-42     " "                 Blank space
     43-53     "PULSEWIDTH="       Label of the width or span of
                                   the pulse for thruster 12.
     54-58     F5.3                Duration or width of the pulse
                                   of the active thruster in
                                   seconds.
     59-59     " "                 Blank space
     60-71     "IMPULSE BIT="      Label specifying the impulse per
                                   pulse for thruster 12.
     72-79     F8.5                Value of the impulse/pulse in
                                   "Newton seconds" for active
                                   thruster 12.
    
    4.2.2.18 Data Record 15
    Data record 15 specifies the quaternion relating spacecraft axes to J2000 coordinates at the event start time. This quaternion represents the spacecraft orientation at the start of the desaturations.
    COLUMNS  CONTENT             DESCRIPTION
    ------------------------------------------------------------
     1-11    "QUATERNION="   Record label
    12-12    " "             Blank space
    13-21    F9.6            Value of 1st quaternion component = a.
    22-22    " "             Blank space
    23-31    F9.6            Value of 2nd quaternion component = b.
    32-32    " "             Blank space
    33-41    F9.6            Value of 3rd quaternion component = c.
    42-42    " "             Blank space
    43-51    F9.6            Value of 4th quaternion component = d.
    
    Where
    a = e1*sin(phi/2)
    b = e2*sin(phi/2)
    c = e3*sin(phi/2)
    d = cos(phi/2)
    4.2.2.19 Data Record 16
    Data record 16 specifies the spacecraft spin rate at the start of the desaturation.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
     1-17      "S/C ANGULAR        Record label.
               RATE "              Angular rate values are applicable
                                   to the start of desaturations
                                   and are needed for all AACS
                                   modes, including mapping. The
                                   angular rate is broken into 3
                                   components along the body
                                   frame or spacecraft axes.
    18-18      " "                 Blank space
    19-23      "ROLL="             Label representing the spin
                                   rate about the spacecraft
                                   roll (x)  axis.
    24-30      F7.4                Value of the spin rate about
                                   the s/c roll axis in deg/sec.
    31-32      "  "                2 blank spaces
    33-38      "PITCH="            Label representing the spin
                                   rate about the spacecraft
                                   pitch (y) axis.
    39-45      F7.4                Value of the spin rate about
                                   the s/c pitch axis in
                                   degrees/sec.
    46-47      "  "                2 blank spaces
    48-51      "YAW="              Label representing the spin
                                   rate about the s/c yaw (z)
                                   axis.
    52-58      F7.4                Value of the spin rate about
                                   the s/c yaw axis in deg/sec.
    
    4.2.2.20 End of File Record
    The End-of-File Record indicates the end of file.
    COLUMNS    CONTENT             DESCRIPTION
    ------------------------------------------------------------
      1-5      "$$EOF"             Signifies end of data
    
    NOTE: The 3 Header, 16 Data and 1 End of File records can be repeated as many times as there are AMD events recorded. Please see the Appendix: Sample Wrapped File below.

    Appendix: SAMPLE WRAPPED FILE

    A sample wrapped Angular Momentum Desaturation file is provided in order to show the expected format of the data. The user should not code specifically to the real numbers as printed.

    CCSD3ZS00001AAAAAAAANJPL3KS0L015BBBBBBBB
    MISSION_NAME=MARS_GLOBAL_SURVEYOR;
    SPACECRAFT_NAME=MARS_GLOBAL_SURVEYOR1;
    DATA_SET_ID=ANGULAR_MOMENTUM_DESAT;
    FILE_NAME=amdfile.x;
    PRODUCER_ID=NAV;
    APPLICABLE_START_TIME=1993-001T00:00:00.000;
    APPLICABLE_STOP_TIME=1993-001T15:38:31.800;
    PRODUCT_CREATION_TIME-1990-12-21T10:43:00;
    CCSD3RE00000BBBBBBBBNJPL3IS00255CCCCCCCC
    * ANGULARMOMENTHISTORY DATA
    * CREATION: SCT 21-DEC-1990 10:43:00
    * SAMPLE AMD FILE - OFF SPIN AXIS
    STRT_TIME = 93-001/00:00:00.000
    STOP_TIME = 93-001/00:04:03.100
    THRUSTER 01 NO._PULSES= 31 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 02 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 03 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 04 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 05 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 06 NO._PULSES= 31 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 07 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 08 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 09 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 10 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 11 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 12 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    QUATERNION=  0.250000  0.250000  0.353553  0.866025
    S/C ANGULAR RATE  ROLL= 0.0000  PITCH=-0.0510  YAW= 0.0000
    $$EOF
    * ANGULARMOMENTHISTORY DATA
    * CREATION: SCT 10-DEC-1990 13:14:33
    * SAMPLE AMD FILE - SPIN AXIS
    STRT_TIME = 93-001/03:54:00.000
    STOP_TIME = 93-001/03:57:02.900
    THRUSTER 01 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 02 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 03 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 04 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 05 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 06 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 07 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 08 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 09 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 10 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 11 NO._PULSES= 23 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 12 NO._PULSES= 23 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    QUATERNION=  0.250000  0.250000  0.353553  0.866025
    S/C ANGULAR RATE  ROLL= 0.0000  PITCH=-0.0510  YAW= 0.0000
    $$EOF
    * ANGULARMOMENTHISTORY DATA
    * CREATION: SCT 10-DEC-1990 13:23:20
    * SAMPLE AMD FILE - NEG PITCH UNLOAD
    STRT_TIME = 93-001/07:48:00.000
    STOP_TIME = 93-001/07:51:27.800
    THRUSTER 01 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 02 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 03 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 04 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 05 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 06 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 07 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 08 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 09 NO._PULSES= 26 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 10 NO._PULSES= 26 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 11 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 12 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    QUATERNION=  0.250000  0.250000  0.353553  0.866025
    S/C ANGULAR RATE  ROLL= 0.0000  PITCH=-0.0510  YAW= 0.0000
    $$EOF
    * ANGULARMOMENTHISTORY DATA
    * CREATION: SCT 10-DEC-1990 13:40:09
    * SAMPLE AMD FILE - YAW/PITCH UNLOAD
    STRT_TIME = 93-001/11:42:00.000
    STOP_TIME = 93-001/11:44:09.700
    THRUSTER 01 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 02 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 03 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 04 NO._PULSES= 17 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 05 NO._PULSES= 17 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 06 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 07 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 08 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 09 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 10 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 11 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    THRUSTER 12 NO._PULSES=  0 DEADTIME= 8.0 PULSEWIDTH=0.30 IMPULSE BIT= 0.26400
    QUATERNION=  0.250000  0.250000  0.353553  0.866025
    S/C ANGULAR RATE  ROLL= 0.0000  PITCH=-0.0510  YAW= 0.0000
    $$EOF
    * ANGULARMOMENTHISTORY DATA
    * CREATION: SCT 10-DEC-1990 14:43:03
    * SAMPLE AMD FILE - YAW EMERGENCY UNLOAD
    STRT_TIME = 93-001/15:36:00.000
    STOP_TIME = 93-001/15:38:31.800
    THRUSTER 01 NO._PULSES=  0 DEADTIME= 4.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 02 NO._PULSES= 38 DEADTIME= 4.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 03 NO._PULSES= 38 DEADTIME= 4.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 04 NO._PULSES=  0 DEADTIME= 4.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 05 NO._PULSES=  0 DEADTIME= 4.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 06 NO._PULSES=  0 DEADTIME= 4.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 07 NO._PULSES= 38 DEADTIME= 4.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 08 NO._PULSES= 38 DEADTIME= 4.0 PULSEWIDTH=0.10 IMPULSE BIT= 0.44000
    THRUSTER 09 NO._PULSES=  0 DEADTIME= 4.0 PULSEWIDTH=0.50 IMPULSE BIT= 0.44000
    THRUSTER 10 NO._PULSES=  0 DEADTIME= 4.0 PULSEWIDTH=0.50 IMPULSE BIT= 0.44000
    THRUSTER 11 NO._PULSES=  0 DEADTIME= 4.0 PULSEWIDTH=0.50 IMPULSE BIT= 0.44000
    THRUSTER 12 NO._PULSES=  0 DEADTIME= 4.0 PULSEWIDTH=0.50 IMPULSE BIT= 0.44000
    QUATERNION=  0.250000  0.250000  0.353553  0.866025
    S/C ANGULAR RATE  ROLL= 0.0000  PITCH=-0.0510  YAW= 0.0000
    $$EOF
    CCSD3RE00000CCCCCCCCCCSD3RE00000AAAAAAAA
    

    Revision date: 15 April 1996

    For information about this on-line document, contact Vic Legerton
    For information about the file described by this document, contact John Ekelund