<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1I00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/msl/v1/PDS4_MSL_1H00_1000.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/msn_surface/v1/PDS4_MSN_SURFACE_1I00_1220.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1H00_1210.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/geom/v1/PDS4_GEOM_1I00_1960.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1"
  xmlns:msl="http://pds.nasa.gov/pds4/mission/msl/v1"
  xmlns:msn_surface="http://pds.nasa.gov/pds4/msn_surface/v1"
  xmlns:proc="http://pds.nasa.gov/pds4/proc/v1"
  xmlns:geom="http://pds.nasa.gov/pds4/geom/v1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1                 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1I00.xsd
  http://pds.nasa.gov/pds4/mission/msl/v1                             https://pds.nasa.gov/pds4/mission/msl/v1/PDS4_MSL_1H00_1000.xsd
  http://pds.nasa.gov/pds4/msn_surface/v1                             https://pds.nasa.gov/pds4/msn_surface/v1/PDS4_MSN_SURFACE_1I00_1220.xsd
  http://pds.nasa.gov/pds4/proc/v1                                    https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1H00_1210.xsd
  http://pds.nasa.gov/pds4/geom/v1                                    https://pds.nasa.gov/pds4/geom/v1/PDS4_GEOM_1I00_1960.xsd">


    <Identification_Area>
      <logical_identifier>urn:nasa:pds:msl_apxs_raw:data:apb_460314260esc07080400200_______m1</logical_identifier>
       <version_id>1.0</version_id>
       <title>MSL APXS Raw product: apb_460314260esc07080400200_______m1</title>
       <information_model_version>1.18.0.0</information_model_version>
       <product_class>Product_Observational</product_class>
       <Modification_History>
         <Modification_Detail>
           <modification_date>2023-01-26</modification_date>
           <version_id>1.0</version_id>
           <description>Initial version migrated from PDS3.</description>
         </Modification_Detail>
       </Modification_History>
     </Identification_Area>
     <Observation_Area>
       <Time_Coordinates>
         <start_date_time>2014-08-03T01:13:24.284Z</start_date_time>
         <stop_date_time>2014-08-03T05:16:19.128Z</stop_date_time>
         <local_mean_solar_time>Sol-00708M04:11:32.465</local_mean_solar_time>
         <local_true_solar_time>04:50:04</local_true_solar_time>
         <solar_longitude unit="deg">171.949</solar_longitude>
       </Time_Coordinates>
       <Investigation_Area>
         <name>Mars Science Laboratory</name>
         <type>Mission</type>
         <Internal_Reference>
           <lid_reference>urn:nasa:pds:context:investigation:mission.mars_science_laboratory</lid_reference>
           <reference_type>data_to_investigation</reference_type>
         </Internal_Reference>
       </Investigation_Area>
       <Observing_System>
         <Observing_System_Component>
           <name>Mars Science Laboratory</name>
           <type>Host</type>
           <Internal_Reference>
             <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.msl</lid_reference>
             <reference_type>is_instrument_host</reference_type>
           </Internal_Reference>
         </Observing_System_Component>
         <Observing_System_Component>
           <name>Alpha Particle X-ray Spectrometer</name>
           <type>Instrument</type>
           <Internal_Reference>
             <lid_reference>urn:nasa:pds:context:instrument:apxs.msl</lid_reference>
             <reference_type>is_instrument</reference_type>
           </Internal_Reference>
         </Observing_System_Component>
       </Observing_System>
       <Target_Identification>
         <name>Mars</name>
         <type>Planet</type>
         <Internal_Reference>
           <lid_reference>urn:nasa:pds:context:target:planet.mars</lid_reference>
           <reference_type>data_to_target</reference_type>
         </Internal_Reference>
       </Target_Identification>

       <Mission_Area>
        <msl:MSL_Parameters>
          <msl:Observation_Information>
            <msl:release_number>0011</msl:release_number>
            <msl:product_type>APXS_EDR</msl:product_type>
            <msl:mission_phase_name>EXTENDED SURFACE MISSION</msl:mission_phase_name>
            <msl:spacecraft_clock_start>0460299684.556</msl:spacecraft_clock_start>
            <msl:spacecraft_clock_stop>0460314260.208</msl:spacecraft_clock_stop>
            <msl:spacecraft_clock_partition>1</msl:spacecraft_clock_partition>
            <msl:sol_number>708</msl:sol_number>
            <msl:active_flight_computer>B</msl:active_flight_computer>
            <msl:producer_institution_name>Multimission Image Processing Subsystem, Jet Propulsion Lab</msl:producer_institution_name>
          </msl:Observation_Information>
        </msl:MSL_Parameters>
       </Mission_Area>

       <Discipline_Area>
         <geom:Geometry>
           <geom:SPICE_Kernel_Files>
             <geom:SPICE_Kernel_Identification>
               <geom:spice_kernel_file_name>chronos.msl</geom:spice_kernel_file_name>
             </geom:SPICE_Kernel_Identification>
           </geom:SPICE_Kernel_Files>
          <geom:Geometry_Lander>
            <geom:Articulation_Device_Parameters>
             <local_identifier>Arm_Start</local_identifier>
              <geom:device_id>Arm</geom:device_id>
              <geom:device_name>Robotic Arm</geom:device_name>
              <geom:device_mode>Free Space</geom:device_mode>
              <geom:selected_instrument_id>APXS</geom:selected_instrument_id>
              <geom:Device_Angle>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 1 Shoulder Azimuth</geom:index_name>
                  <geom:index_value_angle unit="rad">0.3085600</geom:index_value_angle>
                </geom:Device_Angle_Index>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 2 Shoulder Elevation</geom:index_name>
                  <geom:index_value_angle unit="rad">-0.6440253</geom:index_value_angle>
                </geom:Device_Angle_Index>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 3 Elbow-Encoder</geom:index_name>
                  <geom:index_value_angle unit="rad">2.4260774</geom:index_value_angle>
                </geom:Device_Angle_Index>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 4 Wrist-Encoder</geom:index_name>
                  <geom:index_value_angle unit="rad">1.6004922</geom:index_value_angle>
                </geom:Device_Angle_Index>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 5 Turret-Encoder</geom:index_name>
                  <geom:index_value_angle unit="rad">5.5500355</geom:index_value_angle>
                </geom:Device_Angle_Index>
              </geom:Device_Angle>
            </geom:Articulation_Device_Parameters>

            <geom:Articulation_Device_Parameters>
             <local_identifier>Arm_End</local_identifier>
              <geom:device_id>Arm</geom:device_id>
              <geom:device_name>Robotic Arm</geom:device_name>
              <geom:device_mode>Free Space</geom:device_mode>
              <geom:selected_instrument_id>APXS</geom:selected_instrument_id>
              <geom:Device_Angle>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 1 Shoulder Azimuth</geom:index_name>
                  <geom:index_value_angle unit="rad">0.3085600</geom:index_value_angle>
                </geom:Device_Angle_Index>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 2 Shoulder Elevation</geom:index_name>
                  <geom:index_value_angle unit="rad">-0.6440253</geom:index_value_angle>
                </geom:Device_Angle_Index>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 3 Elbow-Encoder</geom:index_name>
                  <geom:index_value_angle unit="rad">2.4260774</geom:index_value_angle>
                </geom:Device_Angle_Index>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 4 Wrist-Encoder</geom:index_name>
                  <geom:index_value_angle unit="rad">1.6004922</geom:index_value_angle>
                </geom:Device_Angle_Index>
                <geom:Device_Angle_Index>
                  <geom:index_name>Joint 5 Turret-Encoder</geom:index_name>
                  <geom:index_value_angle unit="rad">5.5500355</geom:index_value_angle>
                </geom:Device_Angle_Index>
              </geom:Device_Angle>
            </geom:Articulation_Device_Parameters>

            <geom:Coordinate_Space_Definition>
              <local_identifier>Rover_Frame</local_identifier>
              <geom:positive_azimuth_direction>Clockwise</geom:positive_azimuth_direction>
              <geom:positive_elevation_direction>Up</geom:positive_elevation_direction>
              <geom:Coordinate_Space_Present>
                <geom:Coordinate_Space_Indexed>
                  <geom:coordinate_space_frame_type>Rover_Frame</geom:coordinate_space_frame_type>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>Site</geom:index_name>
                    <geom:index_value_number>40</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>Drive</geom:index_name>
                    <geom:index_value_number>200</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>Pose</geom:index_name>
                    <geom:index_value_number>66</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>Arm</geom:index_name>
                    <geom:index_value_number>136</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>CHIMRA</geom:index_name>
                    <geom:index_value_number>0</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>Drill</geom:index_name>
                    <geom:index_value_number>0</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>RSM</geom:index_name>
                    <geom:index_value_number>372</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>HGA</geom:index_name>
                    <geom:index_value_number>102</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>DRT</geom:index_name>
                    <geom:index_value_number>0</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>IC</geom:index_name>
                    <geom:index_value_number>0</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                 <geom:solution_id>telemetry</geom:solution_id>
                </geom:Coordinate_Space_Indexed>
              </geom:Coordinate_Space_Present>
              <geom:Vector_Origin_Offset>
                <geom:x_position unit="m">-12.3833</geom:x_position>
                <geom:y_position unit="m">-10.352</geom:y_position>
                <geom:z_position unit="m">-10.352</geom:z_position>
              </geom:Vector_Origin_Offset>
              <geom:Quaternion_Plus_Direction>
                <geom:qcos>-0.0448671</geom:qcos>
                <geom:qsin1>-0.0132755</geom:qsin1>
                <geom:qsin2>-0.9760944</geom:qsin2>
                <geom:qsin3>0.2122511</geom:qsin3>
                <geom:rotation_direction>Reference to Present</geom:rotation_direction>
              </geom:Quaternion_Plus_Direction>
              <geom:Coordinate_Space_Reference>
                <geom:Coordinate_Space_Indexed>
                  <geom:coordinate_space_frame_type>ROVER_FRAME</geom:coordinate_space_frame_type>
                  <geom:Coordinate_Space_Index>
                    <geom:index_name>Rover_Frame</geom:index_name>
                    <geom:index_value_number>40</geom:index_value_number>
                  </geom:Coordinate_Space_Index>
                </geom:Coordinate_Space_Indexed>
              </geom:Coordinate_Space_Reference>
            </geom:Coordinate_Space_Definition>

            <geom:Motion_Counter>
              <geom:name>Rover Motion Counter</geom:name>
              <local_identifier>Rover_Motion_Counter</local_identifier>
              <geom:Motion_Counter_Index>
                <geom:index_name>Site</geom:index_name>
                <geom:index_value_number>40</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>Drive</geom:index_name>
                <geom:index_value_number>200</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>Pose</geom:index_name>
                <geom:index_value_number>66</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>Arm</geom:index_name>
                <geom:index_value_number>136</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>CHIMRA</geom:index_name>
                <geom:index_value_number>0</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>Drill</geom:index_name>
                <geom:index_value_number>0</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>RSM</geom:index_name>
                <geom:index_value_number>372</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>HGA</geom:index_name>
                <geom:index_value_number>102</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>DRT</geom:index_name>
                <geom:index_value_number>0</geom:index_value_number>
              </geom:Motion_Counter_Index>
              <geom:Motion_Counter_Index>
                <geom:index_name>IC</geom:index_name>
                <geom:index_value_number>0</geom:index_value_number>
              </geom:Motion_Counter_Index>
            </geom:Motion_Counter>

          </geom:Geometry_Lander>
        </geom:Geometry>

        <msn_surface:Surface_Mission_Information>
          <msn_surface:Command_Execution>
            <msn_surface:sequence_id>apxs00028</msn_surface:sequence_id>
            <msn_surface:sequence_version_id>0</msn_surface:sequence_version_id>
            <msn_surface:sequence_execution_count>1</msn_surface:sequence_execution_count>
            <msn_surface:command_sequence_number>1</msn_surface:command_sequence_number>
            <msn_surface:observation_id>-999</msn_surface:observation_id>
            <msn_surface:request_id>0</msn_surface:request_id>
          </msn_surface:Command_Execution>
          <msn_surface:Telemetry>
            <msn_surface:application_id>97</msn_surface:application_id>
            <msn_surface:application_subtype_id>0</msn_surface:application_subtype_id>
            <msn_surface:application_name>APXS</msn_surface:application_name>
            <msn_surface:provider_id>MPCS_MSL_DP</msn_surface:provider_id>
            <msn_surface:flight_software_version_id>176239599</msn_surface:flight_software_version_id>
            <msn_surface:telemetry_source_name>ApxsScienceAndEng_0460314260-20884-2.dat</msn_surface:telemetry_source_name>
            <msn_surface:transport_protocol>Data Product</msn_surface:transport_protocol>
            <msn_surface:communication_session_id>47081</msn_surface:communication_session_id>
            <msn_surface:product_completion_status>Complete_Checksum_Pass</msn_surface:product_completion_status>
            <msn_surface:earth_received_start_date_time>2014-08-03T05:57:24.231Z</msn_surface:earth_received_start_date_time>
            <msn_surface:download_priority>28</msn_surface:download_priority>
            <msn_surface:expected_packets>0</msn_surface:expected_packets>
            <msn_surface:received_packets>0</msn_surface:received_packets>
            <msn_surface:telemetry_source_host_name>mslsmsampcs1</msn_surface:telemetry_source_host_name>
            <msn_surface:expected_transmission_path>3851</msn_surface:expected_transmission_path>
            <msn_surface:transmission_path>65535</msn_surface:transmission_path>
            <msn_surface:flight_software_mode>8</msn_surface:flight_software_mode>
            <msn_surface:telemetry_source_size>29818</msn_surface:telemetry_source_size>
            <msn_surface:telemetry_source_checksum>42793</msn_surface:telemetry_source_checksum>
            <msn_surface:auto_delete_flag>false</msn_surface:auto_delete_flag>
            <msn_surface:virtual_channel_id>32</msn_surface:virtual_channel_id>
          </msn_surface:Telemetry>
        </msn_surface:Surface_Mission_Information>
      </Discipline_Area>
    </Observation_Area>

  <File_Area_Observational>
    <File>
      <file_name>apb_460314260esc07080400200_______m1.dat</file_name>
      <local_identifier>APXS_data</local_identifier>
      <creation_date_time>2016-01-07T21:50:49.000</creation_date_time>
    </File>
    <Table_Binary>
      <offset unit="byte">0</offset>
      <records>1</records>
      <description>Engineering Header Data</description>
      <Record_Binary>
        <fields>11</fields>
        <groups>0</groups>
        <record_length unit="byte">42</record_length>
        <Field_Binary>
          <name>Contact Switch</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Contact Switch status. Bits 1-28 unused. 29 and 30 correspond
            to switch 2 and 1 trigger status. 31 and 32 correspond to switch 2 and 1
            enable status.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>SCLK Up</name>
          <field_number>2</field_number>
          <field_location unit="byte">5</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>SCLK at APXS power on or when rover last woke up in seconds.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Turret Temp Before</name>
          <field_number>3</field_number>
          <field_location unit="byte">9</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Temperature of the turret before acquisition.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Turret Temp End</name>
          <field_number>4</field_number>
          <field_location unit="byte">13</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Temperature of the turret at data product creation.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Cycle Start ID</name>
          <field_number>5</field_number>
          <field_location unit="byte">17</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Identification number of the CYCLE_START data product containing rover state information.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Command Reply Frame Length</name>
          <field_number>6</field_number>
          <field_location unit="byte">19</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>APXS instrument Command Reply Frame length in bytes.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Command Reply Control and Status</name>
          <field_number>7</field_number>
          <field_location unit="byte">23</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
          Bit legend:
          1-8   - Opcode
          9-10  - Error Control Type (see apxs_edr_sci_header.fmt)
          11    - Data Present Flag
          12    - Frame Type
          13-15 - Average X-ray Rate (see apxs_edr_sci_header.fmt)
          16    - Health Check Flag
          17    - Post EEPROM Fail Flag
          18    - Post RAM Fail Flag
          19-20 - Cooler Command Mode
          21    - Time Sync Flag
          22    - Watchdog Reset
          23    - X-ray Count Flag
          24    - Acquisition State
          25    - Cooler State
          26-27 - Boot State (see apxs_edr_sci_header.fmt)
          28-32 - Command Condition Code (see apxs_edr_sci_header.fmt)
          
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Command Reply Data Length</name>
          <field_number>8</field_number>
          <field_location unit="byte">27</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>APXS instrument Command Reply Frame data length in bytes.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Science Frame Length</name>
          <field_number>9</field_number>
          <field_location unit="byte">31</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>APXS instrument Science Frame data length in bytes.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Science Frame Control and Status</name>
          <field_number>10</field_number>
          <field_location unit="byte">35</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
          Bit legend:
          1-8   - Opcode
          9-10  - Error Control Type (see apxs_edr_sci_header.fmt)
          11    - Data Present Flag
          12    - Frame Type
          13-15 - Average X-ray Rate (see apxs_edr_sci_header.fmt)
          16    - Health Check Flag
          17    - Post EEPROM Fail Flag
          18    - Post RAM Fail Flag
          19-20 - Cooler Command Mode
          21    - Time Sync Flag
          22    - Watchdog Reset
          23    - X-ray Count Flag
          24    - Acquisition State
          25    - Cooler State
          26-27 - Boot State (see apxs_edr_sci_header.fmt)
          28-32 - Command Condition Code (see apxs_edr_sci_header.fmt)
          
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Science Frame Data Length</name>
          <field_number>11</field_number>
          <field_location unit="byte">39</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Science Frame data length in bytes.</description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>

    <Table_Binary>
      <offset unit="byte">43</offset>
      <records>13</records>
      <description>Science and Engineering Data</description>
      <Record_Binary>
        <fields>14</fields>
        <groups>1</groups>
        <record_length unit="byte">2098</record_length>
        <Field_Binary>
          <name>Sum Counter</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Spectrum Sum Counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Start Time</name>
          <field_number>2</field_number>
          <field_location unit="byte">5</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Spectrum absolute start time in SCLK seconds with
            respect to the last time sync or clock second 
            counter in case no time sync was received.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Stop Time</name>
          <field_number>3</field_number>
          <field_location unit="byte">9</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Spectrum absolute stop time in SCLK seconds with
            respect to the spectrum absolute start time.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Electronics Temperature Sum</name>
          <field_number>4</field_number>
          <field_location unit="byte">13</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Summation of the main electronics temperatures in raw counts.
            Degrees Celcius=(HEX2DEC(value)/228.72)-165.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Sensor Head Temperature Sum</name>
          <field_number>5</field_number>
          <field_location unit="byte">17</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Summation of the main sensor head temperatures in raw counts. 
            Degrees Celcius=(HEX2DEC(value)/190.3)-250
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Electronics Temperature Count</name>
          <field_number>6</field_number>
          <field_location unit="byte">21</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Total number of the main electronics temperature measurements.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Sensor Head Temperature Count</name>
          <field_number>7</field_number>
          <field_location unit="byte">23</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Total number of the main sensor head temperature measurements.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Electronics Temperature Minimum</name>
          <field_number>8</field_number>
          <field_location unit="byte">25</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Minimum temperature of the main electronics in raw counts.
            Degrees Celcius=(HEX2DEC(value)/228.72)-165
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Electronics Temperature Maximum</name>
          <field_number>9</field_number>
          <field_location unit="byte">29</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Maximum temperature of the main electronics in raw counts.
            Degrees Celcius=(HEX2DEC(value)/228.72)-165
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Sensor HEad Temperature Minimum</name>
          <field_number>10</field_number>
          <field_location unit="byte">33</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Minimum temperature of the main sensor head in raw counts.
            Degrees Celcius=(HEX2DEC(value)/190.3)-250
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Sensor Head Temperature Maximum</name>
          <field_number>11</field_number>
          <field_location unit="byte">37</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Maximum temperature of the main sensor head in raw counts.
            Degrees Celcius=(HEX2DEC(value)/190.3)-250
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>High Voltage Rail</name>
          <field_number>12</field_number>
          <field_location unit="byte">41</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            High voltage rail measured at the end of acquisition in raw counts.
            Voltage=(HEX2DEC(value)/65535)-182.995
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Back Voltage Bias</name>
          <field_number>13</field_number>
          <field_location unit="byte">45</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Back voltage bias measured at the end of acquisition in raw counts.
            Voltage=(HEX2DEC(value)/65535)-182.995
          </description>
        </Field_Binary>
        <Group_Field_Binary>
          <group_number>1</group_number>
          <repetitions>1024</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">49</group_location>
          <group_length unit="byte">2048</group_length>
          <Field_Binary>
            <name>X-ray Counts</name>
            <field_number>1</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
          <description>
            Number of X-rays detected per channel.
            Channels represent different energy levels.
          </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>Dead Time</name>
          <field_number>14</field_number>
          <field_location unit="byte">2097</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Dead Time in 1/10 of a second.</description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>

    <Table_Binary>
      <offset unit="byte">2097</offset>
      <records>1</records>
      <description>Engineering Header Data</description>
      <Record_Binary>
        <fields>44</fields>
        <groups>1</groups>
        <record_length unit="byte">2498</record_length>
        <Field_Binary>
          <name>Last Sync Time</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Time sync last received in SCLK seconds.
            Zero if no time sync received.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Reserved</name>
          <field_number>2</field_number>
          <field_location unit="byte">5</field_location>
          <data_type>UnsignedBitString</data_type>
          <field_length unit="byte">16</field_length>
          <description>Reserved.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Valid Command Count</name>
          <field_number>3</field_number>
          <field_location unit="byte">21</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Number of valid commands since instrument power on.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Rejected Command Count</name>
          <field_number>4</field_number>
          <field_location unit="byte">25</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Number of rejected commands since instrument power on.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Software Version</name>
          <field_number>5</field_number>
          <field_location unit="byte">29</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Software version used:
            0 - Gold Image 1
            1 - Gold Image 2
            2 - Silver Image 1
            3 - Silver Image 2
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Software Checksum</name>
          <field_number>6</field_number>
          <field_location unit="byte">33</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Flight software checksum.</description>
        </Field_Binary>
        <Field_Binary>
          <name>Cycle Time</name>
          <field_number>7</field_number>
          <field_location unit="byte">37</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Requested fixed time span for data accumulation cycle
            in seconds. Valid range is 1 - 10800.
          </description>
        </Field_Binary>
        <Group_Field_Binary>
          <group_number>1</group_number>
          <repetitions>1190</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">41</group_location>
          <group_length unit="byte">2380</group_length>
          <Field_Binary>
            <name>Temperature Lookup Table</name>
            <field_number>1</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
          <description>
            Temperature Lookup Table used for data calibration.
          </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>Cooler On Threshold</name>
          <field_number>8</field_number>
          <field_location unit="byte">2421</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Temperature threshold value in degrees C for automatic
            power on of the cooler. Valid range is -130 to +20.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cooler Off Threshold</name>
          <field_number>9</field_number>
          <field_location unit="byte">2425</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Temperature threshold value in degrees C for automatic
            power off of the cooler. Valid range is -130 to +20.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Comparator Threshold Voltage</name>
          <field_number>10</field_number>
          <field_location unit="byte">2429</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>
            Value for controlling the comparator threshold voltage.
            Valid range is 0 to 4095.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>High Voltage Logic Flag</name>
          <field_number>11</field_number>
          <field_location unit="byte">2431</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            0 - Negative logic enabled
            1 - Positive logic enabled
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Electronic Temperature High Limit</name>
          <field_number>12</field_number>
          <field_location unit="byte">2432</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            High end limit setting for the main electronics temperature.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Electronic Temperature Low Limit</name>
          <field_number>13</field_number>
          <field_location unit="byte">2433</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Low end limit setting for the main electronics temperature.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Sensor Head Temperature High Limit</name>
          <field_number>14</field_number>
          <field_location unit="byte">2434</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            High end limit setting for the sensor head temperature.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>High Voltage Rail High Limit</name>
          <field_number>15</field_number>
          <field_location unit="byte">2435</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            High end limit setting for the high voltage rail.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>High Voltage Rail Low Limit</name>
          <field_number>16</field_number>
          <field_location unit="byte">2436</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Low end limit setting for the high voltage rail.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cable Resistance High Limit</name>
          <field_number>17</field_number>
          <field_location unit="byte">2437</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            High end limit setting for the cable resistance.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cable Resistance Low Limit</name>
          <field_number>18</field_number>
          <field_location unit="byte">2438</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Low end limit setting for the cable resistance.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Comparator Threshold High Limit</name>
          <field_number>19</field_number>
          <field_location unit="byte">2439</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            High end limit setting for the comparator threshold voltage.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Comparator Threshold Low Limit</name>
          <field_number>20</field_number>
          <field_location unit="byte">2440</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Low end limit setting for the comparator threshold voltage..
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Back Voltage Bias High Limit</name>
          <field_number>21</field_number>
          <field_location unit="byte">2441</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            High end limit setting for the back voltage bias.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Back Voltage Bias Low Limit</name>
          <field_number>22</field_number>
          <field_location unit="byte">2442</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Low end limit setting for the back voltage bias.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cooler Voltage High Limit</name>
          <field_number>23</field_number>
          <field_location unit="byte">2443</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            High end limit setting for the cooler voltage.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cooler Voltage Low Limit</name>
          <field_number>24</field_number>
          <field_location unit="byte">2444</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Low end limit setting for the cooler voltage.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Reserved</name>
          <field_number>25</field_number>
          <field_location unit="byte">2445</field_location>
          <data_type>UnsignedMSB8</data_type>
          <field_length unit="byte">8</field_length>
          <description>
            Reserved bytes.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Parameter Checksum</name>
          <field_number>26</field_number>
          <field_location unit="byte">2453</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Checksum of parameters requested.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Electronics Temperature</name>
          <field_number>27</field_number>
          <field_location unit="byte">2457</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Main electronics temperature.
            Degrees Celcius=(HEX2DEC(value)/228.72)-165
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Sensor Head Temperature</name>
          <field_number>28</field_number>
          <field_location unit="byte">2461</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Sensor Head temperature.
            Degrees Celcius=(HEX2DEC(value)/190.3)-250
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>High Voltage Rail</name>
          <field_number>29</field_number>
          <field_location unit="byte">2465</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            High voltage rail.
            Voltage=(HEX2DEC(value)/65535)*182.995
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cable Resistance</name>
          <field_number>30</field_number>
          <field_location unit="byte">2469</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Cable resistance.
            mOhm=(HEX2DEC(value)/.3408)
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Comparator Threshold Voltage</name>
          <field_number>31</field_number>
          <field_location unit="byte">2473</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Comparator threshold voltage.
            Voltage=(HEX2DEC(value)/32.764)
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Back Voltage Bias</name>
          <field_number>32</field_number>
          <field_location unit="byte">2477</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Back voltage bias.
            Voltage=(HEX2DEC(value)/65535)*182.995
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cooler Power Voltage</name>
          <field_number>33</field_number>
          <field_location unit="byte">2481</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Cooler power voltage.
            Voltage=(HEX2DEC(value)/16383.75)
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Sotware Checksum 2</name>
          <field_number>34</field_number>
          <field_location unit="byte">2485</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Flight software redundant checksum.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Main Electronics Temperature Range Flag</name>
          <field_number>35</field_number>
          <field_location unit="byte">2489</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Main Electronics unit temperature out of range test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Sensor Head Temperature Range Flag</name>
          <field_number>36</field_number>
          <field_location unit="byte">2490</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Sensor Head unit temperature out of range test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>High Voltage Rail Range Flag</name>
          <field_number>37</field_number>
          <field_location unit="byte">2491</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            High voltage rail out of range test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cable Resistance Range Flag</name>
          <field_number>38</field_number>
          <field_location unit="byte">2492</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Cable resistance out of range test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Comparator Threshold Voltage Range Flag</name>
          <field_number>39</field_number>
          <field_location unit="byte">2493</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Comparator threshold voltage out of range test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Back Voltage Bias Range Flag</name>
          <field_number>40</field_number>
          <field_location unit="byte">2494</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Back voltage bias out of range test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Cooler Power Voltage Range Flag</name>
          <field_number>41</field_number>
          <field_location unit="byte">2495</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Cooler power voltage out of range test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Spare Flag</name>
          <field_number>42</field_number>
          <field_location unit="byte">2496</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            Spare out of range test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>POST RAM Check Flag</name>
          <field_number>43</field_number>
          <field_location unit="byte">2497</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            POST RAM check test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>POST EEPROM Check Flag</name>
          <field_number>44</field_number>
          <field_location unit="byte">2498</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            POST EEPROM check test.
            0 - pass
            1 - out of range
          </description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>
    
    <Table_Binary>
      <offset unit="byte">2498</offset>
      <records>1</records>
      <description>Engineering Header Data</description>
      <Record_Binary>
        <fields>1</fields>
        <groups>0</groups>
        <record_length unit="byte">4</record_length>
        <Field_Binary>
          <name>Engineering Control Value</name>
          <field_number>44</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>UnsignedBitString</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Contains a CRC or Fletcher checksum value
            as indicated in the CHMN_HSKN_HEADER_TABLE
            control and status error control type field.
          </description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>
  </File_Area_Observational>

  <File_Area_Observational_Supplemental>
    <File>
      <file_name>apb_460314260esc07080400200_______m1.lbl</file_name>
    </File>
    <Stream_Text>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS3</parsing_standard_id>
      <description>Original PDS3 label</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
    </Stream_Text>
  </File_Area_Observational_Supplemental>
</Product_Observational>