<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1J00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/disp/v1/PDS4_DISP_1J00_1510.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/img/v1/PDS4_IMG_1J00_1890.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/geom/v1/PDS4_GEOM_1J00_1980.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1J00_1300.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/msn/v1/PDS4_MSN_1J00_1300.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/msn_surface/v1/PDS4_MSN_SURFACE_1J00_1220.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/img_surface/v1/PDS4_IMG_SURFACE_1J00_1280.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1" 
    xmlns:disp="http://pds.nasa.gov/pds4/disp/v1" 
    xmlns:geom="http://pds.nasa.gov/pds4/geom/v1" 
    xmlns:img="http://pds.nasa.gov/pds4/img/v1" 
    xmlns:img_surface="http://pds.nasa.gov/pds4/img_surface/v1" 
    xmlns:msn="http://pds.nasa.gov/pds4/msn/v1" 
    xmlns:msn_surface="http://pds.nasa.gov/pds4/msn_surface/v1" 
    xmlns:pds="http://pds.nasa.gov/pds4/pds/v1" 
    xmlns:proc="http://pds.nasa.gov/pds4/proc/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_1J00.xsd   http://pds.nasa.gov/pds4/img/v1 https://pds.nasa.gov/pds4/img/v1/PDS4_IMG_1J00_1890.xsd      http://pds.nasa.gov/pds4/proc/v1 https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1J00_1300.xsd      http://pds.nasa.gov/pds4/msn/v1 https://pds.nasa.gov/pds4/msn/v1/PDS4_MSN_1J00_1300.xsd   http://pds.nasa.gov/pds4/msn_surface/v1 https://pds.nasa.gov/pds4/msn_surface/v1/PDS4_MSN_SURFACE_1J00_1220.xsd   http://pds.nasa.gov/pds4/img_surface/v1 https://pds.nasa.gov/pds4/img_surface/v1/PDS4_IMG_SURFACE_1J00_1280.xsd   http://pds.nasa.gov/pds4/geom/v1 https://pds.nasa.gov/pds4/geom/v1/PDS4_GEOM_1J00_1980.xsd   http://pds.nasa.gov/pds4/disp/v1 https://pds.nasa.gov/pds4/disp/v1/PDS4_DISP_1J00_1510.xsd   ">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:msl_chemcam_raw:data:cl5_804347328edr_f1170492ccam04582m.dat</logical_identifier>
    <version_id>1.0</version_id>
    <title>Mars Science Laboratory CHEMCAM_LIBS EDR Observational Product - cl5_804347328edr_f1170492ccam04582m.DAT </title>
    <information_model_version>1.19.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Alias_List>
      <Alias>
        <alternate_id>CL5_804347328EDR_F1170492CCAM04582M1</alternate_id>
        <comment>VICAR PRODUCT_ID</comment>
      </Alias>
    </Alias_List>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time>2025-06-28T02:54:53.366Z</start_date_time>
      <stop_date_time nilReason="unknown" xsi:nil="true"/>
      <local_mean_solar_time>12:54:35.447</local_mean_solar_time>
      <local_true_solar_time>13:13:27</local_true_solar_time>
      <solar_longitude unit="deg">102.98</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>
        <comment>This is the PDS4 logical identifier for the Mars_Science_Laboratory Mission.</comment>
      </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>
          <comment>This is the PDS4 logical identifier for the Mars Science Laboratory spacecraft.</comment>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Chemistry Camera Laser Induced Breakdown Spectrometer</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:chemcam_libs.msl</lid_reference>
          <reference_type>is_instrument</reference_type>
          <comment>This is the PDS4 logical identifier for the Chemistry Camera Laser Induced Breakdown Spectrometer onboard the Mars Science Laboratory spacecraft.</comment>
        </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>
        <comment>This is the PDS4 logical identifier for the planet - mars.</comment>
      </Internal_Reference>
    </Target_Identification>
    <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:geometry_state>Telemetry</geom:geometry_state>
          <geom:description>Geometry as reported by the spacecraft in telemetry</geom:description>
          <local_identifier>geom_telemetry_state</local_identifier>
          <geom:Articulation_Device_Parameters>
            <geom:device_id>RSM</geom:device_id>
            <geom:device_name>REMOTE SENSING MAST</geom:device_name>
            <geom:device_mode>DEPLOYED</geom:device_mode>
            <geom:Device_Angle>
              <geom:Device_Angle_Index>
                <geom:index_id>AZIMUTH-MEASURED</geom:index_id>
                <geom:index_value_angle unit="rad">0.170578</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>ELEVATION-MEASURED</geom:index_id>
                <geom:index_value_angle unit="rad">1.08437</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>AZIMUTH-REQUESTED</geom:index_id>
                <geom:index_value_angle unit="rad">0.1741</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>ELEVATION-REQUESTED</geom:index_id>
                <geom:index_value_angle unit="rad">1.0884</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>AZIMUTH-INITIAL</geom:index_id>
                <geom:index_value_angle unit="rad">0.39604</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>ELEVATION-INITIAL</geom:index_id>
                <geom:index_value_angle unit="rad">0.872995</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>AZIMUTH-FINAL</geom:index_id>
                <geom:index_value_angle unit="rad">0.174259</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>ELEVATION-FINAL</geom:index_id>
                <geom:index_value_angle unit="rad">1.0884</geom:index_value_angle>
              </geom:Device_Angle_Index>
            </geom:Device_Angle>
          </geom:Articulation_Device_Parameters>
          <geom:Articulation_Device_Parameters>
            <geom:device_id>ARM</geom:device_id>
            <geom:device_name>UNK</geom:device_name>
            <geom:device_mode>FREE SPACE</geom:device_mode>
            <geom:selected_instrument_id>MAHLI</geom:selected_instrument_id>
            <geom:Device_Angle>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 1 SHOULDER AZIMUTH</geom:index_id>
                <geom:index_value_angle unit="rad">-1.74069e-05</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 2 SHOULDER ELEVATION</geom:index_id>
                <geom:index_value_angle unit="rad">-1.57077</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 3 ELBOW-ENCODER</geom:index_id>
                <geom:index_value_angle unit="rad">1.57078</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 4 WRIST-ENCODER</geom:index_id>
                <geom:index_value_angle unit="rad">0.150055</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 5 TURRET-ENCODER</geom:index_id>
                <geom:index_value_angle unit="rad">3.14141</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 1 SHOULDER AZIMUTH-RESOLVER</geom:index_id>
                <geom:index_value_angle unit="rad">-0.000520984</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 2 SHOULDER ELEVATION-RESOLVER</geom:index_id>
                <geom:index_value_angle unit="rad">-1.57009</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 3 ELBOW-RESOLVER</geom:index_id>
                <geom:index_value_angle unit="rad">1.56924</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 4 WRIST-RESOLVER</geom:index_id>
                <geom:index_value_angle unit="rad">0.145365</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>JOINT 5 TURRET-RESOLVER</geom:index_id>
                <geom:index_value_angle unit="rad">3.13649</geom:index_value_angle>
              </geom:Device_Angle_Index>
            </geom:Device_Angle>
            <geom:Device_Component_State>
              <geom:Device_Component_State_Index>
                <geom:index_id>Sensor_0</geom:index_id>
                <geom:index_value_string>NO CONTACT</geom:index_value_string>
              </geom:Device_Component_State_Index>
            </geom:Device_Component_State>
            <geom:Device_Temperature>
              <geom:Device_Temperature_Index>
                <geom:index_id>AZIMUTH JOINT</geom:index_id>
                <geom:index_value_temperature unit="degC">-40.4347</geom:index_value_temperature>
              </geom:Device_Temperature_Index>
              <geom:Device_Temperature_Index>
                <geom:index_id>ELEVATION JOINT</geom:index_id>
                <geom:index_value_temperature unit="degC">-41.3869</geom:index_value_temperature>
              </geom:Device_Temperature_Index>
              <geom:Device_Temperature_Index>
                <geom:index_id>ELBOW JOINT</geom:index_id>
                <geom:index_value_temperature unit="degC">-22.9014</geom:index_value_temperature>
              </geom:Device_Temperature_Index>
              <geom:Device_Temperature_Index>
                <geom:index_id>WRIST JOINT</geom:index_id>
                <geom:index_value_temperature unit="degC">-36.5637</geom:index_value_temperature>
              </geom:Device_Temperature_Index>
              <geom:Device_Temperature_Index>
                <geom:index_id>TURRET JOINT</geom:index_id>
                <geom:index_value_temperature unit="degC">-35.4052</geom:index_value_temperature>
              </geom:Device_Temperature_Index>
            </geom:Device_Temperature>
            <geom:Vector_Device_Gravity>
              <geom:x_unit>-0.04301928128936349</geom:x_unit>
              <geom:y_unit>0.03512588472248626</geom:y_unit>
              <geom:z_unit>0.9984565657352399</geom:z_unit>
            </geom:Vector_Device_Gravity>
            <geom:Vector_Device_Gravity_Magnitude>
              <geom:x_acceleration unit="m/s**2">-0.0430193</geom:x_acceleration>
              <geom:y_acceleration unit="m/s**2">0.0351259</geom:y_acceleration>
              <geom:z_acceleration unit="m/s**2">0.998457</geom:z_acceleration>
            </geom:Vector_Device_Gravity_Magnitude>
          </geom:Articulation_Device_Parameters>
          <geom:Articulation_Device_Parameters>
            <geom:device_id>HGA</geom:device_id>
            <geom:device_name>HIGH GAIN ANTENNA</geom:device_name>
            <geom:device_mode>DEPLOYED</geom:device_mode>
            <geom:Device_Angle>
              <geom:Device_Angle_Index>
                <geom:index_id>AZIMUTH</geom:index_id>
                <geom:index_value_angle unit="rad">0</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>ELEVATION</geom:index_id>
                <geom:index_value_angle unit="rad">-0.784942</geom:index_value_angle>
              </geom:Device_Angle_Index>
            </geom:Device_Angle>
          </geom:Articulation_Device_Parameters>
          <geom:Articulation_Device_Parameters>
            <geom:device_id>CHASSIS</geom:device_id>
            <geom:device_name>MOBILITY CHASSIS</geom:device_name>
            <geom:device_mode>DEPLOYED</geom:device_mode>
            <geom:Device_Angle>
              <geom:Device_Angle_Index>
                <geom:index_id>LEFT FRONT WHEEL</geom:index_id>
                <geom:index_value_angle unit="rad">0.000213053</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>RIGHT FRONT WHEEL</geom:index_id>
                <geom:index_value_angle unit="rad">-0</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>LEFT REAR WHEEL</geom:index_id>
                <geom:index_value_angle unit="rad">-0</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>RIGHT REAR WHEEL</geom:index_id>
                <geom:index_value_angle unit="rad">-0</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>RSM AZIMUTH</geom:index_id>
                <geom:index_value_angle unit="rad">0.170578</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>RSM ELEVATION</geom:index_id>
                <geom:index_value_angle unit="rad">1.08437</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>LEFT BOGIE</geom:index_id>
                <geom:index_value_angle unit="rad">-0.00920396</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>RIGHT BOGIE</geom:index_id>
                <geom:index_value_angle unit="rad">-0.0231238</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>LEFT DIFFERENTIAL</geom:index_id>
                <geom:index_value_angle unit="rad">-0.0420348</geom:index_value_angle>
              </geom:Device_Angle_Index>
              <geom:Device_Angle_Index>
                <geom:index_id>RIGHT DIFFERENTIAL</geom:index_id>
                <geom:index_value_angle unit="rad">0.039202</geom:index_value_angle>
              </geom:Device_Angle_Index>
            </geom:Device_Angle>
          </geom:Articulation_Device_Parameters>
          <geom:Camera_Model_Parameters>
            <geom:model_type>CAHV</geom:model_type>
            <geom:calibration_source_id>3</geom:calibration_source_id>
            <geom:CAHV_Model>
              <geom:Vector_Center>
                <geom:x_position unit="m">0.621593</geom:x_position>
                <geom:y_position unit="m">0.645118</geom:y_position>
                <geom:z_position unit="m">-2.05754</geom:z_position>
              </geom:Vector_Center>
              <geom:Vector_Axis>
                <geom:x_unit>-0.920399</geom:x_unit>
                <geom:y_unit>-0.285305</geom:y_unit>
                <geom:z_unit>0.267304</geom:z_unit>
              </geom:Vector_Axis>
              <geom:Vector_Horizontal>
                <geom:x_pixel>6716.92</geom:x_pixel>
                <geom:y_pixel>-48387.4</geom:y_pixel>
                <geom:z_pixel>78.7817</geom:z_pixel>
              </geom:Vector_Horizontal>
              <geom:Vector_Vertical>
                <geom:x_pixel>22928.3</geom:x_pixel>
                <geom:y_pixel>3265.29</geom:y_pixel>
                <geom:z_pixel>42904.8</geom:z_pixel>
              </geom:Vector_Vertical>
            </geom:CAHV_Model>
            <geom:Coordinate_Space_Reference>
              <geom:Coordinate_Space_Indexed>
                <geom:coordinate_space_frame_type>ROVER_NAV_FRAME</geom:coordinate_space_frame_type>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>SITE</geom:index_id>
                  <geom:index_value_number>117</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>DRIVE</geom:index_id>
                  <geom:index_value_number>492</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>POSE</geom:index_id>
                  <geom:index_value_number>8</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>ARM</geom:index_id>
                  <geom:index_value_number>22</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>CHIMRA</geom:index_id>
                  <geom:index_value_number>0</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>DRILL</geom:index_id>
                  <geom:index_value_number>0</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>RSM</geom:index_id>
                  <geom:index_value_number>140</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>HGA</geom:index_id>
                  <geom:index_value_number>60</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>DRT</geom:index_id>
                  <geom:index_value_number>0</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>IC</geom:index_id>
                  <geom:index_value_number>0</geom:index_value_number>
                </geom:Coordinate_Space_Index>
              </geom:Coordinate_Space_Indexed>
            </geom:Coordinate_Space_Reference>
            <geom:Quaternion_Model_Transform>
              <geom:qcos>0.0700608</geom:qcos>
              <geom:qsin1>-0.247557</geom:qsin1>
              <geom:qsin2>-0.0189664</geom:qsin2>
              <geom:qsin3>-0.966151</geom:qsin3>
            </geom:Quaternion_Model_Transform>
            <geom:Vector_Model_Transform>
              <geom:x>0.804636</geom:x>
              <geom:y>0.559444</geom:y>
              <geom:z>-1.90608</geom:z>
            </geom:Vector_Model_Transform>
          </geom:Camera_Model_Parameters>
          <geom:Derived_Geometry>
            <geom:instrument_azimuth unit="deg">188.539</geom:instrument_azimuth>
            <geom:instrument_elevation unit="deg">-28.9216</geom:instrument_elevation>
            <geom:solar_azimuth unit="deg">99.9118</geom:solar_azimuth>
            <geom:solar_elevation unit="deg">58.2256</geom:solar_elevation>
            <geom:Vector_Solar_Direction>
              <geom:x_unit>-0.0906409</geom:x_unit>
              <geom:y_unit>0.518716</geom:y_unit>
              <geom:z_unit>-0.850128</geom:z_unit>
            </geom:Vector_Solar_Direction>
            <geom:Coordinate_Space_Reference>
              <geom:Coordinate_Space_Indexed>
                <geom:coordinate_space_frame_type>ROVER_NAV_FRAME</geom:coordinate_space_frame_type>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>SITE</geom:index_id>
                  <geom:index_value_number>117</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>DRIVE</geom:index_id>
                  <geom:index_value_number>492</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>POSE</geom:index_id>
                  <geom:index_value_number>8</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>ARM</geom:index_id>
                  <geom:index_value_number>22</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>CHIMRA</geom:index_id>
                  <geom:index_value_number>0</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>DRILL</geom:index_id>
                  <geom:index_value_number>0</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>RSM</geom:index_id>
                  <geom:index_value_number>140</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>HGA</geom:index_id>
                  <geom:index_value_number>60</geom:index_value_number>
                </geom:Coordinate_Space_Index>
              </geom:Coordinate_Space_Indexed>
            </geom:Coordinate_Space_Reference>
          </geom:Derived_Geometry>
          <geom:Derived_Geometry>
            <geom:instrument_azimuth unit="deg">56.222</geom:instrument_azimuth>
            <geom:instrument_elevation unit="deg">-31.0334</geom:instrument_elevation>
            <geom:solar_azimuth unit="deg">329.33</geom:solar_azimuth>
            <geom:solar_elevation unit="deg">55.8061</geom:solar_elevation>
            <geom:Coordinate_Space_Reference>
              <geom:Coordinate_Space_Indexed>
                <geom:coordinate_space_frame_type>SITE_FRAME</geom:coordinate_space_frame_type>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>SITE</geom:index_id>
                  <geom:index_value_number>117</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>DRIVE</geom:index_id>
                  <geom:index_value_number>492</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>POSE</geom:index_id>
                  <geom:index_value_number>8</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>ARM</geom:index_id>
                  <geom:index_value_number>22</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>CHIMRA</geom:index_id>
                  <geom:index_value_number>0</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>DRILL</geom:index_id>
                  <geom:index_value_number>0</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>RSM</geom:index_id>
                  <geom:index_value_number>140</geom:index_value_number>
                </geom:Coordinate_Space_Index>
                <geom:Coordinate_Space_Index>
                  <geom:index_id>HGA</geom:index_id>
                  <geom:index_value_number>60</geom:index_value_number>
                </geom:Coordinate_Space_Index>
              </geom:Coordinate_Space_Indexed>
            </geom:Coordinate_Space_Reference>
          </geom:Derived_Geometry>
          <geom:Motion_Counter>
            <geom:name>RMC</geom:name>
            <geom:Motion_Counter_Index>
              <geom:index_id>SITE</geom:index_id>
              <geom:index_value_number>117</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>DRIVE</geom:index_id>
              <geom:index_value_number>492</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>POSE</geom:index_id>
              <geom:index_value_number>8</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>ARM</geom:index_id>
              <geom:index_value_number>22</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>CHIMRA</geom:index_id>
              <geom:index_value_number>0</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>DRILL</geom:index_id>
              <geom:index_value_number>0</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>RSM</geom:index_id>
              <geom:index_value_number>140</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>HGA</geom:index_id>
              <geom:index_value_number>60</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>DRT</geom:index_id>
              <geom:index_value_number>0</geom:index_value_number>
            </geom:Motion_Counter_Index>
            <geom:Motion_Counter_Index>
              <geom:index_id>IC</geom:index_id>
              <geom:index_value_number>0</geom:index_value_number>
            </geom:Motion_Counter_Index>
          </geom:Motion_Counter>
        </geom:Geometry_Lander>
      </geom:Geometry>
      <img:Imaging>
        <Local_Internal_Reference>
          <local_identifier_reference>cl5_804347328edr_f1170492ccam04582m1</local_identifier_reference>
          <local_reference_type>imaging_parameters_to_image_object</local_reference_type>
        </Local_Internal_Reference>
        <img:Detector>
          <img:Special_Point>
            <img:name>Location of the LIBS laser spot in the RMI image described by the camera model</img:name>
            <img:description>Location of the LIBS laser spot in the RMI image</img:description>
            <img:special_line>497</img:special_line>
            <img:special_sample>532</img:special_sample>
          </img:Special_Point>
        </img:Detector>
        <img:Instrument_State>
          <img:Device_Temperatures>
            <img:Device_Temperature>
              <img:device_name>MU_OBOX_TELESCOPE</img:device_name>
              <img:temperature_value unit="degC">-28.2778</img:temperature_value>
              <img:temperature_status>0</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>MU_LASER_IF</img:device_name>
              <img:temperature_value unit="degC">-28.2778</img:temperature_value>
              <img:temperature_status>-42</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>MU_EBOX_HEATSINK</img:device_name>
              <img:temperature_value unit="degC">-23.1563</img:temperature_value>
              <img:temperature_status>0</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>MU_EBOX_FPGA</img:device_name>
              <img:temperature_value unit="degC">-23.1563</img:temperature_value>
              <img:temperature_status>-42</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>BU_CCD_VNIR_B</img:device_name>
              <img:temperature_value unit="degC">-23.1563</img:temperature_value>
              <img:temperature_status>-42</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>BU_SPEC_B</img:device_name>
              <img:temperature_value unit="degC">-23.1563</img:temperature_value>
              <img:temperature_status>-42</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>BU_CCD_UV_A</img:device_name>
              <img:temperature_value unit="degC">-2.19915</img:temperature_value>
              <img:temperature_status>0</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>BU_SPEC_A</img:device_name>
              <img:temperature_value unit="degC">5.87477</img:temperature_value>
              <img:temperature_status>0</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>BU_DEMUX_A</img:device_name>
              <img:temperature_value unit="degC">5.87477</img:temperature_value>
              <img:temperature_status>-47</img:temperature_status>
            </img:Device_Temperature>
            <img:Device_Temperature>
              <img:device_name>BU_DEMUX_B</img:device_name>
              <img:temperature_value unit="degC">5.87477</img:temperature_value>
              <img:temperature_status>-42</img:temperature_status>
            </img:Device_Temperature>
          </img:Device_Temperatures>
        </img:Instrument_State>
        <img:Commanded_Parameters>
          <img:Detector>
            <img:gain_number>0</img:gain_number>
          </img:Detector>
          <img:Focus>
            <img:focus_mode>BASELINE</img:focus_mode>
            <img:focus_distance unit="mm">1580</img:focus_distance>
          </img:Focus>
        </img:Commanded_Parameters>
      </img:Imaging>
      <img_surface:Surface_Imaging>
        <img_surface:Instrument_Information>
          <img_surface:instrument_type>SPECTROMETER</img_surface:instrument_type>
          <img_surface:instrument_serial_number>UNK</img_surface:instrument_serial_number>
          <img_surface:instrument_version_number>FM</img_surface:instrument_version_number>
          <img_surface:ops_instrument_key>CHEMCAM_LIBS</img_surface:ops_instrument_key>
        </img_surface:Instrument_Information>
        <img_surface:Geometry_Projection>
          <img_surface:geometry_projection_type>Raw</img_surface:geometry_projection_type>
        </img_surface:Geometry_Projection>
      </img_surface:Surface_Imaging>
      <msn:Mission_Information>
        <msn:mission_phase_name>EXTENDED SURFACE MISSION</msn:mission_phase_name>
        <msn:product_type_name>EDR</msn:product_type_name>
        <msn:spacecraft_clock_start>804347328.505</msn:spacecraft_clock_start>
        <msn:spacecraft_clock_stop>UNK</msn:spacecraft_clock_stop>
        <msn:spacecraft_clock_partition>1</msn:spacecraft_clock_partition>
        <msn:Surface_Mission>
          <msn:start_sol_number>4583</msn:start_sol_number>
          <msn:start_local_mean_solar_time>12:54:35.447</msn:start_local_mean_solar_time>
          <msn:start_local_mean_solar_time_sol>4583</msn:start_local_mean_solar_time_sol>
          <msn:start_local_true_solar_time>13:13:27</msn:start_local_true_solar_time>
          <msn:start_local_true_solar_time_sol>4582</msn:start_local_true_solar_time_sol>
          <msn:solar_longitude unit="deg">102.98</msn:solar_longitude>
        </msn:Surface_Mission>
        <msn:Observation_Context>
          <msn:active_flight_computer>B</msn:active_flight_computer>
        </msn:Observation_Context>
      </msn:Mission_Information>
      <msn_surface:Surface_Mission_Information>
        <msn_surface:Command_Execution>
          <msn_surface:sequence_id>ccam04582</msn_surface:sequence_id>
          <msn_surface:sequence_version_id>40</msn_surface:sequence_version_id>
          <msn_surface:sequence_execution_count>1</msn_surface:sequence_execution_count>
          <msn_surface:command_sequence_number>27</msn_surface:command_sequence_number>
          <msn_surface:command_source_id>GROUND COMMANDED</msn_surface:command_source_id>
          <msn_surface:observation_id>UNK</msn_surface:observation_id>
          <msn_surface:request_id>0</msn_surface:request_id>
        </msn_surface:Command_Execution>
        <msn_surface:Telemetry>
          <msn_surface:application_id>140</msn_surface:application_id>
          <msn_surface:application_name>CcamSpectra</msn_surface:application_name>
          <msn_surface:provider_id>MPCS_MSL_DP</msn_surface:provider_id>
          <msn_surface:flight_software_version_id>451956328</msn_surface:flight_software_version_id>
          <msn_surface:telemetry_source_name>CcamSpectra_0804347328-50549-2.dat</msn_surface:telemetry_source_name>
          <msn_surface:transport_protocol>Data Product</msn_surface:transport_protocol>
          <msn_surface:communication_session_id>45830</msn_surface:communication_session_id>
          <msn_surface:telemetry_source_start_time>2025-179T02:54:53.366Z</msn_surface:telemetry_source_start_time>
          <msn_surface:telemetry_source_sclk_start>804347328.505</msn_surface:telemetry_source_sclk_start>
          <msn_surface:product_completion_status>COMPLETE_CHECKSUM_PASS</msn_surface:product_completion_status>
          <msn_surface:earth_received_start_date_time>2025-06-28T15:36:49.270Z</msn_surface:earth_received_start_date_time>
          <msn_surface:earth_received_stop_date_time>2025-06-28T15:29:50.428Z</msn_surface:earth_received_stop_date_time>
          <msn_surface:download_priority>77</msn_surface:download_priority>
          <msn_surface:data_size>391347</msn_surface:data_size>
          <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>SURFACE_NOMINAL</msn_surface:flight_software_mode>
          <msn_surface:telemetry_source_size>391347</msn_surface:telemetry_source_size>
          <msn_surface:telemetry_source_checksum>26574</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>
      <proc:Processing_Information>
        <Local_Internal_Reference>
          <local_identifier_reference>cl5_804347328edr_f1170492ccam04582m1</local_identifier_reference>
          <local_reference_type>processing_information_to_data_object</local_reference_type>
        </Local_Internal_Reference>
        <proc:Process>
          <proc:process_owner_institution_name>MULTIMISSION INSTRUMENT PROCESSING LAB, JET PROPULSION LAB</proc:process_owner_institution_name>
          <proc:Software>
            <proc:Software_Program>
              <proc:name>MSLEDRGEN</proc:name>
              <proc:program_version>V1.0 04-01-2011</proc:program_version>
              <proc:description>CODMAC LEVEL 1 TO LEVEL 2 CONVERSION VIA JPL/MIPL MSLEDRGEN</proc:description>
            </proc:Software_Program>
          </proc:Software>
        </proc:Process>
      </proc:Processing_Information>
    </Discipline_Area>
  </Observation_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:msl_chemcam_raw:data:cl5_804347328edr_f1170492ccam04582m.dat</lid_reference>
      <reference_type>data_to_raw_product</reference_type>
      <comment>Reference pointer to the raw product.</comment>
    </Internal_Reference>
  </Reference_List>
  <File_Area_Observational>
    <File>
      <file_name>CL5_804347328EDR_F1170492CCAM04582M1.DAT</file_name>
      <local_identifier>cl5_804347328edr_f1170492ccam04582m1</local_identifier>
      <creation_date_time>2025-09-30</creation_date_time>
    </File>
    <Header>
      <name>ODL HEADER</name>
      <local_identifier>odl-header</local_identifier>
      <offset unit="byte">0</offset>
      <object_length unit="byte">28784</object_length>
      <parsing_standard_id>PDS3</parsing_standard_id>
      <description>ODL3 Header</description>
    </Header>
    <Table_Binary>
      <name>CCAM LIBS TABLE</name>
      <local_identifier>ccam-libs-table</local_identifier>
      <offset unit="byte">28784</offset>
      <records>1</records>
      <description>ChemCam LIBS</description>
      <Record_Binary>
        <fields>15</fields>
        <groups>15</groups>
        <record_length unit="byte">391347</record_length>
        <Field_Binary>
          <name>SCLK</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 data collected</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_LIBS_ANCILLARY</name>
          <group_number>1</group_number>
          <repetitions>1</repetitions>
          <fields>58</fields>
          <groups>0</groups>
          <description>Chemcam Libs Ancillary Data</description>
          <group_location unit="byte">5</group_location>
          <group_length unit="byte">170</group_length>
          <Field_Binary>
            <name>MU_OBOX_TELESCOPE_TEMP</name>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from MAST_UNIT OPTICAL BOX TELESCOPE</description>
          </Field_Binary>
          <Field_Binary>
            <name>MU_OBOX_TELESCOPE_TEMP_STATUS</name>
            <field_location unit="byte">5</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from MAST_UNIT OPTICAL BOX TELESCOPE</description>
          </Field_Binary>
          <Field_Binary>
            <name>MU_LASER_IF_TEMP</name>
            <field_location unit="byte">9</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from MAST_UNIT LASER INTERFACE</description>
          </Field_Binary>
          <Field_Binary>
            <name>MU_LASER_IF_TEMP_STATUS</name>
            <field_location unit="byte">13</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from MAST_UNIT LASER INTERFACE</description>
          </Field_Binary>
          <Field_Binary>
            <name>MU_EBOX_HEATSINK_TEMP</name>
            <field_location unit="byte">17</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from MAST_UNIT EBOX HEATSINK</description>
          </Field_Binary>
          <Field_Binary>
            <name>MU_EBOX_HEATSINK_TEMP_STATUS</name>
            <field_location unit="byte">21</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from MAST_UNIT EBOX HEATSINK</description>
          </Field_Binary>
          <Field_Binary>
            <name>MU_EBOX_FPGA_TEMP</name>
            <field_location unit="byte">25</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from MAST_UNIT EBOX FPGA</description>
          </Field_Binary>
          <Field_Binary>
            <name>MU_EBOX_FPGA_TEMP_STATUS</name>
            <field_location unit="byte">29</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from MAST_UNIT EBOX FPGA</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_CCD_VNIR_B_TEMP</name>
            <field_location unit="byte">33</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from BODY_UNIT VNIR CCD cover B-Side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_CCD_VNIR_B_TEMP_STATUS</name>
            <field_location unit="byte">37</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from BODY_UNIT VNIR CCD cover</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_SPEC_B_TEMP</name>
            <field_location unit="byte">41</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from BODY_UNIT SPECTROMETERS B-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_SPEC_B_TEMP_STATUS</name>
            <field_location unit="byte">45</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from BODY_UNIT Spectrometer B-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_CCD_UV_A_TEMP</name>
            <field_location unit="byte">49</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from BODY_UNIT UV CCD A-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_CCD_UV_A_TEMP_STATUS</name>
            <field_location unit="byte">53</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from BODY_UNIT UV CCD A-Side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_SPEC_A_TEMP</name>
            <field_location unit="byte">57</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from BODY_UNIT SPECTROMETERS B-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_SPEC_A_TEMP_STATUS</name>
            <field_location unit="byte">61</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from BODY_UNIT SPECTROMETERS B-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_DEMUX_A_TEMP</name>
            <field_location unit="byte">65</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from BODY_UNIT Demux A-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_DEMUX_A_TEMP_STATUS</name>
            <field_location unit="byte">69</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from BODY_UNIT Demux A-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_DEMUX_B_TEMP</name>
            <field_location unit="byte">73</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature from BODY_UNIT Demux B-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>BU_DEMUX_B_TEMP_STATUS</name>
            <field_location unit="byte">77</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Temperature status from BODY_UNIT Demux B-side</description>
          </Field_Binary>
          <Field_Binary>
            <name>FRAME_ID</name>
            <field_location unit="byte">81</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>FRAME in which the RSM pointing coords are specified. This argument is irrelevant if coord_type = JOINTS_*.</description>
          </Field_Binary>
          <Field_Binary>
            <name>FRAME_INDEX</name>
            <field_location unit="byte">85</field_location>
            <data_type>SignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Index of the chosen frame(n/a for many frame_IDs).</description>
          </Field_Binary>
          <Field_Binary>
            <name>COORD_TYPE</name>
            <field_location unit="byte">87</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Types of coordinates specified by coord1, coord2, coord3 args.</description>
          </Field_Binary>
          <Field_Binary>
            <name>COORD_1</name>
            <field_location unit="byte">91</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>X or AZ coordinate for pointing in frame</description>
          </Field_Binary>
          <Field_Binary>
            <name>COORD_2</name>
            <field_location unit="byte">95</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Y or EL coordinate for pointing in frame</description>
          </Field_Binary>
          <Field_Binary>
            <name>COORD_3</name>
            <field_location unit="byte">99</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>Z or N/A coordinate for pointing in frame</description>
          </Field_Binary>
          <Field_Binary>
            <name>FOCUS</name>
            <field_location unit="byte">103</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Focus algorithm: 0 = NO_FOCUS - Dosen&amp;apos;t move focus (others mark CCAM unsafe) 1 = BASELINE - use CWL to find optimal focus position 3 = MANUAL - positions focus based on range argument 4 = AF_OFFSET - applies LIBS offset from last autofocus solution</description>
          </Field_Binary>
          <Field_Binary>
            <name>RANGE</name>
            <field_location unit="byte">107</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Distance to target for MANUAL focus, seed for BASELINE</description>
          </Field_Binary>
          <Field_Binary>
            <name>DATA</name>
            <field_location unit="byte">109</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Data Present</description>
          </Field_Binary>
          <Field_Binary>
            <name>PRE_POST_DARKSPECTRA</name>
            <field_location unit="byte">113</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>pre and post dark spectra 0= PRE_ONLY 1= POST_ONLY 2=PRE_AND_POST 3=NONE</description>
          </Field_Binary>
          <Field_Binary>
            <name>USE_LASER</name>
            <field_location unit="byte">117</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>0= no laser 1= laserfired</description>
          </Field_Binary>
          <Field_Binary>
            <name>NSHOTS_2_IGNOR</name>
            <field_location unit="byte">121</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Number of shots to ignor</description>
          </Field_Binary>
          <Field_Binary>
            <name>NSHOTS_2_AVG</name>
            <field_location unit="byte">122</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Number of shots to Average</description>
          </Field_Binary>
          <Field_Binary>
            <name>NSHOTS</name>
            <field_location unit="byte">123</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Number of shots</description>
          </Field_Binary>
          <Field_Binary>
            <name>STATS</name>
            <field_location unit="byte">124</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number to indicate whether statistics were requested</description>
          </Field_Binary>
          <Field_Binary>
            <name>GO_TO_WAY</name>
            <field_location unit="byte">128</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number to indicate way points CCAM_NO_WAYPTS = 0 CCAM_WAYPT_1  = 1 CCAM_WAYPT_2 = 2 CCAM_BOTH_WAYPTS = 3</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECT_CONTROL_BYTE</name>
            <field_location unit="byte">132</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>0x2 - enable spectometer clocks 0x4 - enable temperature checks always enable both except when troubleshooting 0x6 default</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECT_IMAGE_TYPE</name>
            <field_location unit="byte">133</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>(imageType &amp;lt;= 6), 0 = 1D [dark] average, 1 = 1D [dark] single, 2 = 1D [passive] single, 3 = 1D average, 4 = 1D single, 5 = 2D [diagnostic], 6 reserved. The [dark], [passive] and [diagnostic] are ineffective descriptors, only the Ds and single/average matter. Usually 2.</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECTROMETERSERIALCLOCK</name>
            <field_location unit="byte">134</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>(spectrometerSerialClock &amp;lt;= 15), 0 = 2750kHz 1 = 1380kHz 2 = 922kHz 3 = 692kHz 4 = 554kHz 5 = 461kHz 6 = 396kHz 7 = 346kHz 8 = 308kHz 9 = 278kHz 10 = 252kHz 11 = 231kHz 12 = 218kHz 13 = 198kHz 14 = 185kHz 15 = 173kHz.  Usually 2 or 3.</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECTROMETERSELECT</name>
            <field_location unit="byte">135</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>(spectrometerSelect &amp;lt;= 15), Each bit 1 = enable, 0 = disable. 0x1 = 2D enable 0x2 = UV 0x4 = VIS 0x8 = VNIR.  Usually 0xE.</description>
          </Field_Binary>
          <Field_Binary>
            <name>ICT_DIVIDER</name>
            <field_location unit="byte">136</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>(ict_divisor != 0),Integration Clock Timer divisor (for time base above) - for msec integration time. Usually 600.</description>
          </Field_Binary>
          <Field_Binary>
            <name>IPBC_DIVIDER</name>
            <field_location unit="byte">138</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>(ipbc_divisor != 0),Integration Period Base Clock divisor. Range 0 - 33MHz. Usually 330 = 100KHz</description>
          </Field_Binary>
          <Field_Binary>
            <name>STARTROWUV</name>
            <field_location unit="byte">140</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>(startRowUV &amp;lt;= stopRowUV),Usually 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>STOPROWUV</name>
            <field_location unit="byte">142</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>(stopRowUV &amp;lt;= 512),Usually 255</description>
          </Field_Binary>
          <Field_Binary>
            <name>STARTRROWVIS</name>
            <field_location unit="byte">144</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>(startRowVIS &amp;lt;= stopRowVIS),Usually 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>STOPROWVIS</name>
            <field_location unit="byte">146</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>(stopRowVIS &amp;lt;= 512),Usually 255</description>
          </Field_Binary>
          <Field_Binary>
            <name>STARTROWVNIR</name>
            <field_location unit="byte">148</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>(startRowVNIR &amp;lt;= stopRowVNIR),Usually 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>STOPROWVNIR</name>
            <field_location unit="byte">150</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>(stopRowVNIR &amp;lt;= 512),Usually 255</description>
          </Field_Binary>
          <Field_Binary>
            <name>OBSFROMLIMITSWITCH</name>
            <field_location unit="byte">152</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
          </Field_Binary>
          <Field_Binary>
            <name>STACK1LEVEL</name>
            <field_location unit="byte">153</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>(stack1Level &amp;lt; 4096), 0 - 4095 = 0 - 140 Amps. For FM use 2778 = 95 A and do not exceed this value at BOL</description>
          </Field_Binary>
          <Field_Binary>
            <name>STACK2LEVEL</name>
            <field_location unit="byte">157</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>(stack2Level &amp;lt; 4096),i 0 - 4095 = 0 - 140 Amps. Use 2850. For FM use from 1720 (= 60 A) to 2762 (= 95 A) and to not exceed the latter at BOL.</description>
          </Field_Binary>
          <Field_Binary>
            <name>STACK3LEVEL</name>
            <field_location unit="byte">161</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <description>(stack3Level &amp;lt; 4096),0 - 4095 = 0 - 140 Amps. Use 2850. For FM use from 1744 (= 60 A) to 2789 (= 95 A) and do not exceed the latter at BOL</description>
          </Field_Binary>
          <Field_Binary>
            <name>STACKDURATION</name>
            <field_location unit="byte">165</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>0 - 255 =&amp;gt; 130 - 200 usec (nonlinear). Use 65.</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEBETWEENSHOTS</name>
            <field_location unit="byte">166</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>(14 &amp;lt;= timeBetweenShots), 0 = no control.</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECADCONVERTVNIR</name>
            <field_location unit="byte">167</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>(spectTrigDelays &amp;lt; 983040)usually 5</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECADCONVERTVIS</name>
            <field_location unit="byte">168</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>(spectTrigDelays &amp;lt; 983040)usually 5</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECADCONVERTUV</name>
            <field_location unit="byte">169</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>(spectTrigDelays &amp;lt; 983040)usually 5</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECVERTCLK</name>
            <field_location unit="byte">170</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Vertical clock select usually 2</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_BYTESIZE</name>
          <field_number>2</field_number>
          <field_location unit="byte">175</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Size of cmd_reply packet</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_CMD_REPLY</name>
          <group_number>2</group_number>
          <repetitions>1</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>ChemCam CMD_REPLY frame</description>
          <group_location unit="byte">179</group_location>
          <group_length unit="byte">4</group_length>
          <Field_Binary>
            <name>CMD_REPLY BIT STRINGS</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedBitString</data_type>
            <field_length unit="byte">4</field_length>
            <Packed_Data_Fields>
              <bit_fields>4</bit_fields>
              <Field_Bit>
                <name>CMD_REPLY_OPCODE</name>
                <field_number>1</field_number>
                <start_bit_location>1</start_bit_location>
                <stop_bit_location>8</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>0xdd - spectrometer data 0xc0 - laser data 0x77 - rmi image data 0xc2 - autofocus data 0x55aa - soh data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_ERROR_CONTROL</name>
                <field_number>2</field_number>
                <start_bit_location>9</start_bit_location>
                <stop_bit_location>10</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Error control : 0 = reserved 1 =  The CRC error control algorithm is applied 2 = The Checksum error control Algorithm was applied 3 = No error Control</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_DATA_PRESENT</name>
                <field_number>3</field_number>
                <start_bit_location>11</start_bit_location>
                <stop_bit_location>11</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Is data present 0 = nodata 1 = data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_STATUS_FLAGS</name>
                <field_number>4</field_number>
                <start_bit_location>12</start_bit_location>
                <stop_bit_location>32</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Status flags: bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2:16 - described in attached document under flags tab bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
              </Field_Bit>
            </Packed_Data_Fields>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_CHECKSUM</name>
          <field_number>3</field_number>
          <field_location unit="byte">183</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Second part of CMD_REPLY data: MD5 checksum</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_SOH_SCIDATA_COLS</name>
          <group_number>3</group_number>
          <repetitions>1</repetitions>
          <fields>28</fields>
          <groups>0</groups>
          <description>Chemcam SOH header</description>
          <group_location unit="byte">187</group_location>
          <group_length unit="byte">68</group_length>
          <Field_Binary>
            <name>BYTE_COUNT</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes in SOH DPO</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCECONTROL</name>
            <field_location unit="byte">5</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Instrument Transfer frame Header contains: (8bits) Opcode 52 for soh (2bits) Error Control Type Flag 00 = reserved 01 =  The CRC error control algorithm is applied 10 = The Checksum error control Algorithm applied 11 = No error Control (1 bit) Data Present 0 = nodata 1 = data (21 bits) Status as follows bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2 - notSafe ( 0 - safe 1 - Bu doesn&amp;apos;t know that MU mortors are in sun-safe position) bit 3 - BootSource (Which memory was used for boot 0 - Init0 PROMO 1 - Init1 PROM1) bit 4 - CommSide (Talking with which RCE? 0 - RCE A or none 1 - RCE B) bit 5 - CWL_heater_notOn (CWL heating loop algorithm off 0 - on 1 - off) bit 6 - Amp_heater_notOn ( Amp heating loop algorithm off 0 - on 1 - off) bit 7 - OSC_heater_notOn ( Osc heating loop algorithm off 0 - on 1 - off) bit 8 - RMI_notOn ( RMI is not Powered 0 - on 1 - off) bit 9 - RMIdata_notOK ( RMI off or comm with RMI not OK 0 - OK 1 - not OK, =1 when RMI if off) bit 10 - Spectrometer_notOK ( not used should be 0) bit 11 - LVPS_notOn ( Low Voltage (spectrometer)power supply 0 - on 1 - off ) bit 12 - MAST_notOK ( Bad communication with the mast unit 0 - OK 1 - not OK) bit 13 - LIBS_HV_notOn ( High voltage to LIBS not on 0 - on 1 - not on) bit 14 - LIBS_notReady (LIBS not in operating temperature range 0 - ready 1 - not ready) bit 15 - CWL_notReady (CWL not in operating temperature range 0 - ready 1 - not ready) bit 16 - SelfTestFailed (not used should be 0) bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCEBYTECOUNT</name>
            <field_location unit="byte">9</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>rce bytecount, bytes following</description>
          </Field_Binary>
          <Field_Binary>
            <name>DATAID</name>
            <field_location unit="byte">13</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>id word is 0x55aa for soh</description>
          </Field_Binary>
          <Field_Binary>
            <name>HEAD2</name>
            <field_location unit="byte">15</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>00 for soh</description>
          </Field_Binary>
          <Field_Binary>
            <name>BYTES</name>
            <field_location unit="byte">17</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes that follow</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCE_TIME</name>
            <field_location unit="byte">21</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Time stamp</description>
          </Field_Binary>
          <Field_Binary>
            <name>CUR_MSEC_COUNT</name>
            <field_location unit="byte">25</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Local counter ~1 msec/count</description>
          </Field_Binary>
          <Field_Binary>
            <name>GOOD_CMDS</name>
            <field_location unit="byte">29</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Received from RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>BAD_CMDS</name>
            <field_location unit="byte">31</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Received from RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_CMDS</name>
            <field_location unit="byte">33</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds sent to mast</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_ACKS</name>
            <field_location unit="byte">35</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds ACKed by mast</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_NAKS</name>
            <field_location unit="byte">37</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds NAKed by mast</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_RESENDS</name>
            <field_location unit="byte">39</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds resent to mast</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_PKTS_RECD</name>
            <field_location unit="byte">41</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds recieved from MAST</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_PKTS_BAD</name>
            <field_location unit="byte">43</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Pkts incomplete or with checksum error</description>
          </Field_Binary>
          <Field_Binary>
            <name>CC_STATE</name>
            <field_location unit="byte">45</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Major and minor state values</description>
          </Field_Binary>
          <Field_Binary>
            <name>STATUS</name>
            <field_location unit="byte">47</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>TBD status bits</description>
          </Field_Binary>
          <Field_Binary>
            <name>MEM_FPGA_VERSION</name>
            <field_location unit="byte">49</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Memory FPGA version (33)</description>
          </Field_Binary>
          <Field_Binary>
            <name>MICRO_FPGA_VERSION (34)</name>
            <field_location unit="byte">51</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>MICRO FPGA version</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECT_FPGA_VERSION (20)</name>
            <field_location unit="byte">53</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Spectromitor FPGA Version</description>
          </Field_Binary>
          <Field_Binary>
            <name>IMAGES_SENT</name>
            <field_location unit="byte">55</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Images sent To RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>SOH_SENT</name>
            <field_location unit="byte">57</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Soh Sent To RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECT_SENT</name>
            <field_location unit="byte">59</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Spectra sent To RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>LASER_DATA_SENT</name>
            <field_location unit="byte">61</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>W,V,A per laser shot</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPARE</name>
            <field_location unit="byte">63</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Boot bank plus eepro initialized data location</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPARE2</name>
            <field_location unit="byte">65</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>marker workd to easily id soh</description>
          </Field_Binary>
          <Field_Binary>
            <name>N_FOLLOWING</name>
            <field_location unit="byte">67</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Number of SOH records</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_SOH_TO_RCE_CONTAINER</name>
          <group_number>4</group_number>
          <repetitions>1</repetitions>
          <fields>1</fields>
          <groups>2</groups>
          <description>ChemCam LIBS to RCE structure. Includes arrays ccam_DPU_LIBS_struct and ccam_MU_LIBS_struct.</description>
          <group_location unit="byte">255</group_location>
          <group_length unit="byte">100</group_length>
          <Field_Binary>
            <name>TIME</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Time collected</description>
          </Field_Binary>
          <Group_Field_Binary>
            <repetitions>9</repetitions>
            <fields>1</fields>
            <groups>0</groups>
            <group_location unit="byte">5</group_location>
            <group_length unit="byte">18</group_length>
            <Field_Binary>
              <name>CCAM_DPU_SOH_STRUCT</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>Vector of 9 2-byte unsigned integer values: Item 0: DPU Analog Ground ( V = counts * (2.5V/255cnts) ) Item 1: DPU_+5_Digital    ( V = counts * 2.5 * (2.5V/255cnts) ) Item 2: DPU_+2.5_Digital  ( V = counts * (2.5/2) * (2.5V/255cnts) ) Item 3: DPU_+5_Analog     ( V = counts * (2.5V/255cnts) ) Item 4: DPU_-5_Analog     ( V = -counts * (2.5V/255cnts) ) Item 5: DPU_degC          ( degC = counts * (2.5V/255cnts) * (150 degC/2V) - 50 degC ) Item 6: Spectrometer_degC ( degC = counts * (2.5V/255cnts) * (150 degC/2V) - 50 degC ) Item 7: LVPS_degC         ( degC = counts * (2.5v/255cnts) * (150 degC/2V) - 50 degC ) Item 8: motor_pos         ( counts  )</description>
            </Field_Binary>
          </Group_Field_Binary>
          <Group_Field_Binary>
            <repetitions>39</repetitions>
            <fields>1</fields>
            <groups>0</groups>
            <group_location unit="byte">23</group_location>
            <group_length unit="byte">78</group_length>
            <Field_Binary>
              <name>CCAM_MU_SOH_STRUCT</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>Vector of 39 2-byte unsigned integer values: Item 0: Digital HK bit flags, meanings given for values of 0/1: Bit 0 = limit switch open/closed Bit 1 = thermal flag cold/hot Bit 2 = 15/30V converter off/on Bit 3 = 12V converter off/on Bit 4 = limiter osc off/on Bit 5 = limiter amp1 off/on Bit 6 = limiter amp2 off/on Bit 7 = floating 15V off/on Bit 8 = pockels off/on Bit 9 = 30V motor off/on Bit 10 = CWL off/on Bit 11 = 12V autofocus off/on Bit 12 = camera off/on Bit 13 = osc warm-up off/on Bit 14 = amp warm-up off/on Bit 15 = CWL warm-up off/on Item 1: HK_heatsink_degC (-52.1 - 98.5 degC) (V = VMON * 0.04796 - 57.47) Item 2: HK_I_+3.3v (0 -1A)(V = VMON * 0.29858) Item 3: HK_I_+30v  (0 - 2A)(V = VMON * 0.22229 - 115.7) Item 4: HK_I_-5v   (0 - 250mA)(V = VMON * 0.05670 + 31.6) Item 5: HK_I_+12v  (0 - 750mA)(V = VMON * 0.05807) Item 6: HK_V_+3.3v (0 - 3.5V)(V = VMON * 0.000898) Item 7: HK_V_+5v   (0 - 5.2V)(V = VMON * 0.001492) Item 8: HK_V_-5v   (0 - -5.2V)(V = VMON * -0.00163) Item 9: HK_V_+12v  (0 - 13V)(V = VMON * 0.003458) Item 10: HK_V_-12v  (0 - -13V)(V = VMON * -0.00350) Item 11: HK_V_+15v  (0 - 16V)(V = VMON * 0.005696) Item 12: HK_V_+30v  (0 - 32V)(V = VMON * 0.007977) Item 13: Laser diode control current (0 - 150mA) (V = VMON * 0.002935) Item 14: CWL_degC         (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 15: HK_I_limiterdegC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 16: Autofocus signal output (0 - 2.5V) (V = VMON * 0.610501) Item 17: LMD18200_degC  (-52.1 - 98.5degC) (V = VMON * 0.047958 - 57.47) Item 18: HK_Laser1_degC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 19: HK_Laser2_degC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 20: HK_Laser3_degC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 21: HK_Laser4_degC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 22: HK_Stack1_V  (0 - 30V)(V = VMON * 0.00763) Item 23: HK_Stack1_I  (0 - 136A)(V = VMON * 0.03817 + 1.925) Item 24: HK_Stack2_V  (0 - 30V)(V = VMON * 0.00763) Item 25: HK_Stack2_I  (0 - 136A)(V = VMON * 0.03971 - 3.994) Item 26: HK_Stack3_V  (0 - 30V)(V = VMON * 0.00763) Item 27: HK_Stack3_I  (0 - 136A)(V = VMON * 0.03848 - 0.780) Item 28: optical_flux_level (power of LIBS shots iff {2000 - 40095})</description>
            </Field_Binary>
          </Group_Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CCAM_SOH_BEFORE_CHECKSUM</name>
          <field_number>4</field_number>
          <field_location unit="byte">355</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>MD5 checksum</description>
        </Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_BYTESIZE</name>
          <field_number>5</field_number>
          <field_location unit="byte">359</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Size of cmd_reply packet</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_CMD_REPLY</name>
          <group_number>5</group_number>
          <repetitions>1</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>ChemCam CMD_REPLY frame</description>
          <group_location unit="byte">363</group_location>
          <group_length unit="byte">4</group_length>
          <Field_Binary>
            <name>CMD_REPLY BIT STRINGS</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedBitString</data_type>
            <field_length unit="byte">4</field_length>
            <Packed_Data_Fields>
              <bit_fields>4</bit_fields>
              <Field_Bit>
                <name>CMD_REPLY_OPCODE</name>
                <field_number>1</field_number>
                <start_bit_location>1</start_bit_location>
                <stop_bit_location>8</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>0xdd - spectrometer data 0xc0 - laser data 0x77 - rmi image data 0xc2 - autofocus data 0x55aa - soh data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_ERROR_CONTROL</name>
                <field_number>2</field_number>
                <start_bit_location>9</start_bit_location>
                <stop_bit_location>10</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Error control : 0 = reserved 1 =  The CRC error control algorithm is applied 2 = The Checksum error control Algorithm was applied 3 = No error Control</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_DATA_PRESENT</name>
                <field_number>3</field_number>
                <start_bit_location>11</start_bit_location>
                <stop_bit_location>11</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Is data present 0 = nodata 1 = data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_STATUS_FLAGS</name>
                <field_number>4</field_number>
                <start_bit_location>12</start_bit_location>
                <stop_bit_location>32</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Status flags: bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2:16 - described in attached document under flags tab bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
              </Field_Bit>
            </Packed_Data_Fields>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_CHECKSUM</name>
          <field_number>6</field_number>
          <field_location unit="byte">367</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Second part of CMD_REPLY data: MD5 checksum</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_SOH_SCIDATA_COLS</name>
          <group_number>6</group_number>
          <repetitions>1</repetitions>
          <fields>28</fields>
          <groups>0</groups>
          <description>Chemcam SOH header</description>
          <group_location unit="byte">371</group_location>
          <group_length unit="byte">68</group_length>
          <Field_Binary>
            <name>BYTE_COUNT</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes in SOH DPO</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCECONTROL</name>
            <field_location unit="byte">5</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Instrument Transfer frame Header contains: (8bits) Opcode 52 for soh (2bits) Error Control Type Flag 00 = reserved 01 =  The CRC error control algorithm is applied 10 = The Checksum error control Algorithm applied 11 = No error Control (1 bit) Data Present 0 = nodata 1 = data (21 bits) Status as follows bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2 - notSafe ( 0 - safe 1 - Bu doesn&amp;apos;t know that MU mortors are in sun-safe position) bit 3 - BootSource (Which memory was used for boot 0 - Init0 PROMO 1 - Init1 PROM1) bit 4 - CommSide (Talking with which RCE? 0 - RCE A or none 1 - RCE B) bit 5 - CWL_heater_notOn (CWL heating loop algorithm off 0 - on 1 - off) bit 6 - Amp_heater_notOn ( Amp heating loop algorithm off 0 - on 1 - off) bit 7 - OSC_heater_notOn ( Osc heating loop algorithm off 0 - on 1 - off) bit 8 - RMI_notOn ( RMI is not Powered 0 - on 1 - off) bit 9 - RMIdata_notOK ( RMI off or comm with RMI not OK 0 - OK 1 - not OK, =1 when RMI if off) bit 10 - Spectrometer_notOK ( not used should be 0) bit 11 - LVPS_notOn ( Low Voltage (spectrometer)power supply 0 - on 1 - off ) bit 12 - MAST_notOK ( Bad communication with the mast unit 0 - OK 1 - not OK) bit 13 - LIBS_HV_notOn ( High voltage to LIBS not on 0 - on 1 - not on) bit 14 - LIBS_notReady (LIBS not in operating temperature range 0 - ready 1 - not ready) bit 15 - CWL_notReady (CWL not in operating temperature range 0 - ready 1 - not ready) bit 16 - SelfTestFailed (not used should be 0) bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCEBYTECOUNT</name>
            <field_location unit="byte">9</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>rce bytecount, bytes following</description>
          </Field_Binary>
          <Field_Binary>
            <name>DATAID</name>
            <field_location unit="byte">13</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>id word is 0x55aa for soh</description>
          </Field_Binary>
          <Field_Binary>
            <name>HEAD2</name>
            <field_location unit="byte">15</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>00 for soh</description>
          </Field_Binary>
          <Field_Binary>
            <name>BYTES</name>
            <field_location unit="byte">17</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes that follow</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCE_TIME</name>
            <field_location unit="byte">21</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Time stamp</description>
          </Field_Binary>
          <Field_Binary>
            <name>CUR_MSEC_COUNT</name>
            <field_location unit="byte">25</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Local counter ~1 msec/count</description>
          </Field_Binary>
          <Field_Binary>
            <name>GOOD_CMDS</name>
            <field_location unit="byte">29</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Received from RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>BAD_CMDS</name>
            <field_location unit="byte">31</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Received from RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_CMDS</name>
            <field_location unit="byte">33</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds sent to mast</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_ACKS</name>
            <field_location unit="byte">35</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds ACKed by mast</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_NAKS</name>
            <field_location unit="byte">37</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds NAKed by mast</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_RESENDS</name>
            <field_location unit="byte">39</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds resent to mast</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_PKTS_RECD</name>
            <field_location unit="byte">41</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Cmds recieved from MAST</description>
          </Field_Binary>
          <Field_Binary>
            <name>MAST_PKTS_BAD</name>
            <field_location unit="byte">43</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Pkts incomplete or with checksum error</description>
          </Field_Binary>
          <Field_Binary>
            <name>CC_STATE</name>
            <field_location unit="byte">45</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Major and minor state values</description>
          </Field_Binary>
          <Field_Binary>
            <name>STATUS</name>
            <field_location unit="byte">47</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>TBD status bits</description>
          </Field_Binary>
          <Field_Binary>
            <name>MEM_FPGA_VERSION</name>
            <field_location unit="byte">49</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Memory FPGA version (33)</description>
          </Field_Binary>
          <Field_Binary>
            <name>MICRO_FPGA_VERSION (34)</name>
            <field_location unit="byte">51</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>MICRO FPGA version</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECT_FPGA_VERSION (20)</name>
            <field_location unit="byte">53</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Spectromitor FPGA Version</description>
          </Field_Binary>
          <Field_Binary>
            <name>IMAGES_SENT</name>
            <field_location unit="byte">55</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Images sent To RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>SOH_SENT</name>
            <field_location unit="byte">57</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Soh Sent To RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECT_SENT</name>
            <field_location unit="byte">59</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Spectra sent To RCE</description>
          </Field_Binary>
          <Field_Binary>
            <name>LASER_DATA_SENT</name>
            <field_location unit="byte">61</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>W,V,A per laser shot</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPARE</name>
            <field_location unit="byte">63</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Boot bank plus eepro initialized data location</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPARE2</name>
            <field_location unit="byte">65</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>marker workd to easily id soh</description>
          </Field_Binary>
          <Field_Binary>
            <name>N_FOLLOWING</name>
            <field_location unit="byte">67</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Number of SOH records</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_SOH_TO_RCE_CONTAINER</name>
          <group_number>7</group_number>
          <repetitions>19</repetitions>
          <fields>1</fields>
          <groups>2</groups>
          <description>ChemCam LIBS to RCE structure. Includes arrays ccam_DPU_LIBS_struct and ccam_MU_LIBS_struct.</description>
          <group_location unit="byte">439</group_location>
          <group_length unit="byte">1900</group_length>
          <Field_Binary>
            <name>TIME</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Time collected</description>
          </Field_Binary>
          <Group_Field_Binary>
            <repetitions>9</repetitions>
            <fields>1</fields>
            <groups>0</groups>
            <group_location unit="byte">5</group_location>
            <group_length unit="byte">18</group_length>
            <Field_Binary>
              <name>CCAM_DPU_SOH_STRUCT</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>Vector of 9 2-byte unsigned integer values: Item 0: DPU Analog Ground ( V = counts * (2.5V/255cnts) ) Item 1: DPU_+5_Digital    ( V = counts * 2.5 * (2.5V/255cnts) ) Item 2: DPU_+2.5_Digital  ( V = counts * (2.5/2) * (2.5V/255cnts) ) Item 3: DPU_+5_Analog     ( V = counts * (2.5V/255cnts) ) Item 4: DPU_-5_Analog     ( V = -counts * (2.5V/255cnts) ) Item 5: DPU_degC          ( degC = counts * (2.5V/255cnts) * (150 degC/2V) - 50 degC ) Item 6: Spectrometer_degC ( degC = counts * (2.5V/255cnts) * (150 degC/2V) - 50 degC ) Item 7: LVPS_degC         ( degC = counts * (2.5v/255cnts) * (150 degC/2V) - 50 degC ) Item 8: motor_pos         ( counts  )</description>
            </Field_Binary>
          </Group_Field_Binary>
          <Group_Field_Binary>
            <repetitions>39</repetitions>
            <fields>1</fields>
            <groups>0</groups>
            <group_location unit="byte">23</group_location>
            <group_length unit="byte">78</group_length>
            <Field_Binary>
              <name>CCAM_MU_SOH_STRUCT</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>Vector of 39 2-byte unsigned integer values: Item 0: Digital HK bit flags, meanings given for values of 0/1: Bit 0 = limit switch open/closed Bit 1 = thermal flag cold/hot Bit 2 = 15/30V converter off/on Bit 3 = 12V converter off/on Bit 4 = limiter osc off/on Bit 5 = limiter amp1 off/on Bit 6 = limiter amp2 off/on Bit 7 = floating 15V off/on Bit 8 = pockels off/on Bit 9 = 30V motor off/on Bit 10 = CWL off/on Bit 11 = 12V autofocus off/on Bit 12 = camera off/on Bit 13 = osc warm-up off/on Bit 14 = amp warm-up off/on Bit 15 = CWL warm-up off/on Item 1: HK_heatsink_degC (-52.1 - 98.5 degC) (V = VMON * 0.04796 - 57.47) Item 2: HK_I_+3.3v (0 -1A)(V = VMON * 0.29858) Item 3: HK_I_+30v  (0 - 2A)(V = VMON * 0.22229 - 115.7) Item 4: HK_I_-5v   (0 - 250mA)(V = VMON * 0.05670 + 31.6) Item 5: HK_I_+12v  (0 - 750mA)(V = VMON * 0.05807) Item 6: HK_V_+3.3v (0 - 3.5V)(V = VMON * 0.000898) Item 7: HK_V_+5v   (0 - 5.2V)(V = VMON * 0.001492) Item 8: HK_V_-5v   (0 - -5.2V)(V = VMON * -0.00163) Item 9: HK_V_+12v  (0 - 13V)(V = VMON * 0.003458) Item 10: HK_V_-12v  (0 - -13V)(V = VMON * -0.00350) Item 11: HK_V_+15v  (0 - 16V)(V = VMON * 0.005696) Item 12: HK_V_+30v  (0 - 32V)(V = VMON * 0.007977) Item 13: Laser diode control current (0 - 150mA) (V = VMON * 0.002935) Item 14: CWL_degC         (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 15: HK_I_limiterdegC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 16: Autofocus signal output (0 - 2.5V) (V = VMON * 0.610501) Item 17: LMD18200_degC  (-52.1 - 98.5degC) (V = VMON * 0.047958 - 57.47) Item 18: HK_Laser1_degC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 19: HK_Laser2_degC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 20: HK_Laser3_degC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 21: HK_Laser4_degC (-52.1 - 98.5degC) (V = VMON * 0.037226 - 57.47) Item 22: HK_Stack1_V  (0 - 30V)(V = VMON * 0.00763) Item 23: HK_Stack1_I  (0 - 136A)(V = VMON * 0.03817 + 1.925) Item 24: HK_Stack2_V  (0 - 30V)(V = VMON * 0.00763) Item 25: HK_Stack2_I  (0 - 136A)(V = VMON * 0.03971 - 3.994) Item 26: HK_Stack3_V  (0 - 30V)(V = VMON * 0.00763) Item 27: HK_Stack3_I  (0 - 136A)(V = VMON * 0.03848 - 0.780) Item 28: optical_flux_level (power of LIBS shots iff {2000 - 40095})</description>
            </Field_Binary>
          </Group_Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CCAM_SOH_CHECKSUM</name>
          <field_number>7</field_number>
          <field_location unit="byte">2339</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>MD5 checksum</description>
        </Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_BYTESIZE</name>
          <field_number>8</field_number>
          <field_location unit="byte">2343</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Size of cmd_reply packet</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_CMD_REPLY</name>
          <group_number>8</group_number>
          <repetitions>1</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>ChemCam CMD_REPLY frame</description>
          <group_location unit="byte">2347</group_location>
          <group_length unit="byte">4</group_length>
          <Field_Binary>
            <name>CMD_REPLY BIT STRINGS</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedBitString</data_type>
            <field_length unit="byte">4</field_length>
            <Packed_Data_Fields>
              <bit_fields>4</bit_fields>
              <Field_Bit>
                <name>CMD_REPLY_OPCODE</name>
                <field_number>1</field_number>
                <start_bit_location>1</start_bit_location>
                <stop_bit_location>8</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>0xdd - spectrometer data 0xc0 - laser data 0x77 - rmi image data 0xc2 - autofocus data 0x55aa - soh data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_ERROR_CONTROL</name>
                <field_number>2</field_number>
                <start_bit_location>9</start_bit_location>
                <stop_bit_location>10</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Error control : 0 = reserved 1 =  The CRC error control algorithm is applied 2 = The Checksum error control Algorithm was applied 3 = No error Control</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_DATA_PRESENT</name>
                <field_number>3</field_number>
                <start_bit_location>11</start_bit_location>
                <stop_bit_location>11</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Is data present 0 = nodata 1 = data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_STATUS_FLAGS</name>
                <field_number>4</field_number>
                <start_bit_location>12</start_bit_location>
                <stop_bit_location>32</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Status flags: bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2:16 - described in attached document under flags tab bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
              </Field_Bit>
            </Packed_Data_Fields>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_CHECKSUM</name>
          <field_number>9</field_number>
          <field_location unit="byte">2351</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Second part of CMD_REPLY data: MD5 checksum</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_AF_SCIDATA_COLS</name>
          <group_number>9</group_number>
          <repetitions>1</repetitions>
          <fields>75</fields>
          <groups>2</groups>
          <description>ChemCam AF Diagnostics</description>
          <group_location unit="byte">2355</group_location>
          <group_length unit="byte">1310</group_length>
          <Field_Binary>
            <name>TOTAL_BYTECOUNT</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Bytes to follow</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCECONTROL</name>
            <field_location unit="byte">5</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>RCEControl: contains: (8bits) Opcode 81 for autofocus data (2bits) Error Control Type Flag 00 = reserved 01 =  The CRC error control algorithm is applied 10 = The Checksum error control Algorithm  applied 11 = No error Control (1 bit) Data Present 0 = nodata 1 = data (21 bits) Status flags (as follows) bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2 - notSafe ( 0 - safe 1 - Bu doesn&amp;apos;t know that MU mortors are in sun-safe position) bit 3 - BootSource (Which memory was used for boot 0 - Init0 PROMO 1 - Init1 PROM1) bit 4 - CommSide (Talking with which RCE? 0 - RCE A or none 1 - RCE B) bit 5 - CWL_heater_notOn (CWL heating loop algorithm off 0 - on 1 - off) bit 6 - Amp_heater_notOn ( Amp heating loop algorithm off 0 - on 1 - off) bit 7 - OSC_heater_notOn ( Osc heating loop algorithm off 0 - on 1 - off) bit 8 - RMI_notOn ( RMI is not Powered 0 - on 1 - off) bit 9 - RMIdata_notOK ( RMI off or comm with RMI not OK 0 - OK 1 - not OK, =1 when RMI if off) bit 10 - Spectrometer_notOK ( not used should be 0) bit 11 - LVPS_notOn ( Low Voltage (spectrometer)power supply 0 - on 1 - off ) bit 12 - MAST_notOK ( Bad communication with the mast unit 0 - OK 1 - not OK) bit 13 - LIBS_HV_notOn ( High voltage to LIBS not on 0 - on 1 - not on) bit 14 - LIBS_notReady (LIBS not in operating temperature range 0 - ready 1 - not ready) bit 15 - CWL_notReady (CWL not in operating temperature range 0 - ready 1 - not ready) bit 16 - SelfTestFailed (not used should be 0) bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
          </Field_Binary>
          <Field_Binary>
            <name>DATA_BYTECOUNT</name>
            <field_location unit="byte">9</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes</description>
          </Field_Binary>
          <Field_Binary>
            <name>DATAID</name>
            <field_location unit="byte">13</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>id byte 0xc2 for autofocus</description>
          </Field_Binary>
          <Field_Binary>
            <name>SEASON</name>
            <field_location unit="byte">14</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Season 03</description>
          </Field_Binary>
          <Field_Binary>
            <name>UNUSED1</name>
            <field_location unit="byte">15</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Unused - should be 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>DPBYTESCOUNT</name>
            <field_location unit="byte">17</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes to follow - should be 1286</description>
          </Field_Binary>
          <Field_Binary>
            <name>ROISIZE</name>
            <field_location unit="byte">21</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>CCS3 region of interest</description>
          </Field_Binary>
          <Field_Binary>
            <name>NUMFRAMES</name>
            <field_location unit="byte">22</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>CCS3 number of frames</description>
          </Field_Binary>
          <Field_Binary>
            <name>NUMSTEPS</name>
            <field_location unit="byte">23</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>CCS3 number of steps between frames</description>
          </Field_Binary>
          <Field_Binary>
            <name>FOCUSAEENABLE</name>
            <field_location unit="byte">24</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>CCS3 autoexposure enable during autofocus</description>
          </Field_Binary>
          <Field_Binary>
            <name>UNUSED2</name>
            <field_location unit="byte">25</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Unused should be 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>RMIOFFSET</name>
            <field_location unit="byte">26</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Offset applied to distance to target based on temp</description>
          </Field_Binary>
          <Field_Binary>
            <name>UNUSED3</name>
            <field_location unit="byte">27</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Unused should be 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>STARTSCAN</name>
            <field_location unit="byte">29</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>AutoFocus - step position for 1st rmi image</description>
          </Field_Binary>
          <Field_Binary>
            <name>OPTOUTPUT</name>
            <field_location unit="byte">31</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Results from the OPTIMUM routine</description>
          </Field_Binary>
          <Field_Binary>
            <name>CALCFOCUS</name>
            <field_location unit="byte">33</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Calculated focus if cwl was used</description>
          </Field_Binary>
          <Field_Binary>
            <name>CALCLIBS</name>
            <field_location unit="byte">35</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Calculated best libs focus</description>
          </Field_Binary>
          <Field_Binary>
            <name>CALCRMI</name>
            <field_location unit="byte">37</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Calculated best rmi focus</description>
          </Field_Binary>
          <Field_Binary>
            <name>AUTOEXPSEED</name>
            <field_location unit="byte">39</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>CCS3 autoexposure seed value</description>
          </Field_Binary>
          <Field_Binary>
            <name>OFFSETTOMAX</name>
            <field_location unit="byte">41</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>CCS3 optional adjustment</description>
          </Field_Binary>
          <Field_Binary>
            <name>DTOT</name>
            <field_location unit="byte">43</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Distance to target as supplied by RCE MM</description>
          </Field_Binary>
          <Field_Binary>
            <name>UNUSED4</name>
            <field_location unit="byte">45</field_location>
            <data_type>UnsignedMSB8</data_type>
            <field_length unit="byte">8</field_length>
            <description>Unused should be 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF1</name>
            <field_location unit="byte">53</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 1</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF2</name>
            <field_location unit="byte">57</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 2</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF3</name>
            <field_location unit="byte">61</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 3</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF4</name>
            <field_location unit="byte">65</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 4</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF5</name>
            <field_location unit="byte">69</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 5</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF6</name>
            <field_location unit="byte">73</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 6</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF7</name>
            <field_location unit="byte">77</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 7</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF8</name>
            <field_location unit="byte">81</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 8</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF9</name>
            <field_location unit="byte">85</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 9</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF10</name>
            <field_location unit="byte">89</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 10</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF11</name>
            <field_location unit="byte">93</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 11</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF12</name>
            <field_location unit="byte">97</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 12</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF13</name>
            <field_location unit="byte">101</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 13</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF14</name>
            <field_location unit="byte">105</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 14</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF15</name>
            <field_location unit="byte">109</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 15</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF16</name>
            <field_location unit="byte">113</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 16</description>
          </Field_Binary>
          <Field_Binary>
            <name>LAPLACIANF17</name>
            <field_location unit="byte">117</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Laplacian Output Frame 17</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF1</name>
            <field_location unit="byte">121</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 1</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF2</name>
            <field_location unit="byte">125</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 2</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF3</name>
            <field_location unit="byte">129</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 3</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF4</name>
            <field_location unit="byte">133</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 4</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF5</name>
            <field_location unit="byte">137</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 5</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF6</name>
            <field_location unit="byte">141</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 6</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF7</name>
            <field_location unit="byte">145</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 7</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF8</name>
            <field_location unit="byte">149</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 8</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF9</name>
            <field_location unit="byte">153</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 9</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF10</name>
            <field_location unit="byte">157</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 10</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF11</name>
            <field_location unit="byte">161</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 11</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF12</name>
            <field_location unit="byte">165</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 12</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF13</name>
            <field_location unit="byte">169</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 13</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF14</name>
            <field_location unit="byte">173</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 14</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF15</name>
            <field_location unit="byte">177</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 15</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF16</name>
            <field_location unit="byte">181</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 16</description>
          </Field_Binary>
          <Field_Binary>
            <name>TIMEF17</name>
            <field_location unit="byte">185</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Collect time frame 17</description>
          </Field_Binary>
          <Group_Field_Binary>
            <repetitions>13</repetitions>
            <fields>1</fields>
            <groups>0</groups>
            <group_location unit="byte">189</group_location>
            <group_length unit="byte">26</group_length>
            <Field_Binary>
              <name>UNUSED5</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>Unused should be 0</description>
            </Field_Binary>
          </Group_Field_Binary>
          <Field_Binary>
            <name>MPOSF1</name>
            <field_location unit="byte">215</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 1</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF2</name>
            <field_location unit="byte">217</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 2</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF3</name>
            <field_location unit="byte">219</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 3</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF4</name>
            <field_location unit="byte">221</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 4</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF5</name>
            <field_location unit="byte">223</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 5</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF6</name>
            <field_location unit="byte">225</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 6</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF7</name>
            <field_location unit="byte">227</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 7</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF8</name>
            <field_location unit="byte">229</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 8</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF9</name>
            <field_location unit="byte">231</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 9</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF10</name>
            <field_location unit="byte">233</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 10</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF11</name>
            <field_location unit="byte">235</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 11</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF12</name>
            <field_location unit="byte">237</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 12</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF13</name>
            <field_location unit="byte">239</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 13</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF14</name>
            <field_location unit="byte">241</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 14</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF15</name>
            <field_location unit="byte">243</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 15</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF16</name>
            <field_location unit="byte">245</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 16</description>
          </Field_Binary>
          <Field_Binary>
            <name>MPOSF17</name>
            <field_location unit="byte">247</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Motor Position Frame 17</description>
          </Field_Binary>
          <Group_Field_Binary>
            <repetitions>529</repetitions>
            <fields>1</fields>
            <groups>0</groups>
            <group_location unit="byte">249</group_location>
            <group_length unit="byte">1058</group_length>
            <Field_Binary>
              <name>UNUSED6</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>Unused should be 0</description>
            </Field_Binary>
          </Group_Field_Binary>
          <Field_Binary>
            <name>RCECHECKSUM</name>
            <field_location unit="byte">1307</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>checksum</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_BYTESIZE</name>
          <field_number>10</field_number>
          <field_location unit="byte">3665</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Size of cmd_reply packet</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_CMD_REPLY</name>
          <group_number>10</group_number>
          <repetitions>1</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>ChemCam CMD_REPLY frame</description>
          <group_location unit="byte">3669</group_location>
          <group_length unit="byte">4</group_length>
          <Field_Binary>
            <name>CMD_REPLY BIT STRINGS</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedBitString</data_type>
            <field_length unit="byte">4</field_length>
            <Packed_Data_Fields>
              <bit_fields>4</bit_fields>
              <Field_Bit>
                <name>CMD_REPLY_OPCODE</name>
                <field_number>1</field_number>
                <start_bit_location>1</start_bit_location>
                <stop_bit_location>8</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>0xdd - spectrometer data 0xc0 - laser data 0x77 - rmi image data 0xc2 - autofocus data 0x55aa - soh data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_ERROR_CONTROL</name>
                <field_number>2</field_number>
                <start_bit_location>9</start_bit_location>
                <stop_bit_location>10</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Error control : 0 = reserved 1 =  The CRC error control algorithm is applied 2 = The Checksum error control Algorithm was applied 3 = No error Control</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_DATA_PRESENT</name>
                <field_number>3</field_number>
                <start_bit_location>11</start_bit_location>
                <stop_bit_location>11</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Is data present 0 = nodata 1 = data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_STATUS_FLAGS</name>
                <field_number>4</field_number>
                <start_bit_location>12</start_bit_location>
                <stop_bit_location>32</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Status flags: bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2:16 - described in attached document under flags tab bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
              </Field_Bit>
            </Packed_Data_Fields>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_CHECKSUM</name>
          <field_number>11</field_number>
          <field_location unit="byte">3673</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Second part of CMD_REPLY data: MD5 checksum</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_LASER_HEADER_COLS</name>
          <group_number>11</group_number>
          <repetitions>1</repetitions>
          <fields>9</fields>
          <groups>0</groups>
          <description>ChemCam Laser data header</description>
          <group_location unit="byte">3677</group_location>
          <group_length unit="byte">24</group_length>
          <Field_Binary>
            <name>TOTAL_BYTECOUNT</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Bytes to follow</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCECONTROL</name>
            <field_location unit="byte">5</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>RCEControl contains: (8bits) Opcode 80 for laserdata (2bits) Error Control Type Flag 00 = reserved 01 =  The CRC error control algorithm is applied 10 = The Checksum error control Algorithm was applied 11 = No error Control (1 bit) Data Present 0 = nodata 1 = data (21 bits) Status flags (as follows) bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2 - notSafe ( 0 - safe 1 - Bu doesn&amp;apos;t know that MU mortors are in sun-safe position) bit 3 - BootSource (Which memory was used for boot 0 - Init0 PROMO 1 - Init1 PROM1) bit 4 - CommSide (Talking with which RCE? 0 - RCE A or none 1 - RCE B) bit 5 - CWL_heater_notOn (CWL heating loop algorithm off 0 - on 1 - off) bit 6 - Amp_heater_notOn ( Amp heating loop algorithm off 0 - on 1 - off) bit 7 - OSC_heater_notOn ( Osc heating loop algorithm off 0 - on 1 - off) bit 8 - RMI_notOn ( RMI is not Powered 0 - on 1 - off) bit 9 - RMIdata_notOK ( RMI off or comm with RMI not OK 0 - OK 1 - not OK, =1 when RMI if off) bit 10 - Spectrometer_notOK ( not used should be 0) bit 11 - LVPS_notOn ( Low Voltage (spectrometer)power supply 0 - on 1 - off ) bit 12 - MAST_notOK ( Bad communication with the mast unit 0 - OK 1 - not OK) bit 13 - LIBS_HV_notOn ( High voltage to LIBS not on 0 - on 1 - not on) bit 14 - LIBS_notReady (LIBS not in operating temperature range 0 - ready 1 - not ready) bit 15 - CWL_notReady (CWL not in operating temperature range 0 - ready 1 - not ready) bit 16 - SelfTestFailed (not used should be 0) bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
          </Field_Binary>
          <Field_Binary>
            <name>DATA_BYTECOUNT</name>
            <field_location unit="byte">9</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes</description>
          </Field_Binary>
          <Field_Binary>
            <name>DATAID</name>
            <field_location unit="byte">13</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>id byte 0xc0 for LASERDATA</description>
          </Field_Binary>
          <Field_Binary>
            <name>HEAD2</name>
            <field_location unit="byte">14</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Not Used - 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>HEAD3</name>
            <field_location unit="byte">15</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Not Used - 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>HEAD4</name>
            <field_location unit="byte">16</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Not Used - 0</description>
          </Field_Binary>
          <Field_Binary>
            <name>DPBYTECOUNT</name>
            <field_location unit="byte">17</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes following in DataProduct</description>
          </Field_Binary>
          <Field_Binary>
            <name>MILLITIME</name>
            <field_location unit="byte">21</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>msecs since last rce time set</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_LASER_SCIDATA_COLS</name>
          <group_number>12</group_number>
          <repetitions>30</repetitions>
          <fields>7</fields>
          <groups>0</groups>
          <description>ChemCam Laser data.</description>
          <group_location unit="byte">3701</group_location>
          <group_length unit="byte">420</group_length>
          <Field_Binary>
            <name>HK_V_STACK_1</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Voltage oscillator (stack 1)</description>
          </Field_Binary>
          <Field_Binary>
            <name>HK_I_STACK_1</name>
            <field_location unit="byte">3</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Current oscillator (stack 1)</description>
          </Field_Binary>
          <Field_Binary>
            <name>HK_V_STACK_2</name>
            <field_location unit="byte">5</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Voltage amplifier 1 (stack 2)</description>
          </Field_Binary>
          <Field_Binary>
            <name>HK_I_STACK_2</name>
            <field_location unit="byte">7</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Current amplifier 1 (stack 2)</description>
          </Field_Binary>
          <Field_Binary>
            <name>HK_V_STACK_3</name>
            <field_location unit="byte">9</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Voltage amplifier 2 (stack 3)</description>
          </Field_Binary>
          <Field_Binary>
            <name>HK_I_STACK_3</name>
            <field_location unit="byte">11</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>Current amplifier 2 (stack 3)</description>
          </Field_Binary>
          <Field_Binary>
            <name>OPTICAL_FLUX_LEVEL</name>
            <field_location unit="byte">13</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
            <description>optical_flux_level,Power of laser shots</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CCAM_LASER_CHECKSUM</name>
          <field_number>12</field_number>
          <field_location unit="byte">4121</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>MD5 checksum</description>
        </Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_BYTESIZE</name>
          <field_number>13</field_number>
          <field_location unit="byte">4125</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Size of cmd_reply packet</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_CMD_REPLY</name>
          <group_number>13</group_number>
          <repetitions>1</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>ChemCam CMD_REPLY frame</description>
          <group_location unit="byte">4129</group_location>
          <group_length unit="byte">4</group_length>
          <Field_Binary>
            <name>CMD_REPLY BIT STRINGS</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedBitString</data_type>
            <field_length unit="byte">4</field_length>
            <Packed_Data_Fields>
              <bit_fields>4</bit_fields>
              <Field_Bit>
                <name>CMD_REPLY_OPCODE</name>
                <field_number>1</field_number>
                <start_bit_location>1</start_bit_location>
                <stop_bit_location>8</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>0xdd - spectrometer data 0xc0 - laser data 0x77 - rmi image data 0xc2 - autofocus data 0x55aa - soh data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_ERROR_CONTROL</name>
                <field_number>2</field_number>
                <start_bit_location>9</start_bit_location>
                <stop_bit_location>10</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Error control : 0 = reserved 1 =  The CRC error control algorithm is applied 2 = The Checksum error control Algorithm was applied 3 = No error Control</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_DATA_PRESENT</name>
                <field_number>3</field_number>
                <start_bit_location>11</start_bit_location>
                <stop_bit_location>11</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Is data present 0 = nodata 1 = data</description>
              </Field_Bit>
              <Field_Bit>
                <name>CMD_REPLY_STATUS_FLAGS</name>
                <field_number>4</field_number>
                <start_bit_location>12</start_bit_location>
                <stop_bit_location>32</stop_bit_location>
                <data_type>SignedBitString</data_type>
                <description>Status flags: bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2:16 - described in attached document under flags tab bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame) 1 0010 - Retry command (sci frame)</description>
              </Field_Bit>
            </Packed_Data_Fields>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CMD_REPLY_CHECKSUM</name>
          <field_number>14</field_number>
          <field_location unit="byte">4133</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Second part of CMD_REPLY data: MD5 checksum</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_LIBS_HEADER</name>
          <group_number>14</group_number>
          <repetitions>1</repetitions>
          <fields>14</fields>
          <groups>0</groups>
          <description>ChemCam LIBS Header</description>
          <group_location unit="byte">4137</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>BYTECOUNT</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Bytes to follow</description>
          </Field_Binary>
          <Field_Binary>
            <name>RCECONTROL</name>
            <field_location unit="byte">5</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>RCEControl: contains: (8bits) Opcode 78 for spectra (2bits) Error Control Type Flag 00 = reserved 01 =  The CRC error control algorithm is applied 10 = The Checksum error control Algorithm applied 11 = No error Control (1 bit) Data Present 0 = nodata 1 = data (21 bits) Status flags (as follows) bit 1 - command Reply Flag (0- not cmd_reply, 1 - cmd_reply) bit 2 - notSafe ( 0 - safe 1 - Bu doesn&amp;apos;t know that MU mortors are in sun-safe position) bit 3 - BootSource (Which memory was used for boot 0 - Init0 PROMO 1 - Init1 PROM1) bit 4 - CommSide (Talking with which RCE? 0 - RCE A or none 1 - RCE B) bit 5 - CWL_heater_notOn (CWL heating loop algorithm off 0 - on 1 - off) bit 6 - Amp_heater_notOn ( Amp heating loop algorithm off 0 - on 1 - off) bit 7 - OSC_heater_notOn ( Osc heating loop algorithm off 0 - on 1 - off) bit 8 - RMI_notOn ( RMI is not Powered 0 - on 1 - off) bit 9 - RMIdata_notOK ( RMI off or comm with RMI not OK 0 - OK 1 - not OK, =1 when RMI if off) bit 10 - Spectrometer_notOK ( not used should be 0) bit 11 - LVPS_notOn ( Low Voltage (spectrometer)power supply 0 - on 1 - off ) bit 12 - MAST_notOK ( Bad communication with the mast unit 0 - OK 1 - not OK) bit 13 - LIBS_HV_notOn ( High voltage to LIBS not on 0 - on 1 - not on) bit 14 - LIBS_notReady (LIBS not in operating temperature range 0 - ready 1 - not ready) bit 15 - CWL_notReady (CWL not in operating temperature range 0 - ready 1 - not ready) bit 16 - SelfTestFailed (not used should be 0) bit 17:210 0000 - reserved 0 0001 - First time command 0 0010 - Retry command (cmd reply frame)</description>
          </Field_Binary>
          <Field_Binary>
            <name>BYTECOUNT</name>
            <field_location unit="byte">9</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes</description>
          </Field_Binary>
          <Field_Binary>
            <name>DATAID</name>
            <field_location unit="byte">13</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>id byte 0xdd for LIBS spectra</description>
          </Field_Binary>
          <Field_Binary>
            <name>HEAD2</name>
            <field_location unit="byte">14</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Used internally by DPU</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPECTYPE</name>
            <field_location unit="byte">15</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Spectra type 0 = 1D dark average 1 = 1D dark single 2 = 1D passive 3 = 1D average spectra 4 = 1D single spectra 5 = 2D diagnostic</description>
          </Field_Binary>
          <Field_Binary>
            <name>HEAD4</name>
            <field_location unit="byte">16</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Upper nibble clk &amp;amp; tmp enable Lower Nibble spects selected</description>
          </Field_Binary>
          <Field_Binary>
            <name>DPBYTECOUNT</name>
            <field_location unit="byte">17</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Number of bytes following in DataProduct</description>
          </Field_Binary>
          <Field_Binary>
            <name>SSTART</name>
            <field_location unit="byte">21</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Start Time</description>
          </Field_Binary>
          <Field_Binary>
            <name>SEND</name>
            <field_location unit="byte">25</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>End Time</description>
          </Field_Binary>
          <Field_Binary>
            <name>SNSHOTS</name>
            <field_location unit="byte">29</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Total Shots</description>
          </Field_Binary>
          <Field_Binary>
            <name>SNAVERGED</name>
            <field_location unit="byte">30</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Shots Averaged</description>
          </Field_Binary>
          <Field_Binary>
            <name>SSKIPPED</name>
            <field_location unit="byte">31</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Shots Skipped</description>
          </Field_Binary>
          <Field_Binary>
            <name>SPARE</name>
            <field_location unit="byte">32</field_location>
            <data_type>UnsignedByte</data_type>
            <field_length unit="byte">1</field_length>
            <description>Spare</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <name>CCAM_LIBS_DATA_CONTAINER</name>
          <group_number>15</group_number>
          <repetitions>30</repetitions>
          <fields>0</fields>
          <groups>1</groups>
          <description>ChemCam LIBS 1-D spectra.</description>
          <group_location unit="byte">4169</group_location>
          <group_length unit="byte">386640</group_length>
          <Group_Field_Binary>
            <repetitions>6444</repetitions>
            <fields>1</fields>
            <groups>0</groups>
            <group_location unit="byte">1</group_location>
            <group_length unit="byte">12888</group_length>
            <Field_Binary>
              <name>CCAM_LIBS_SPECTRUM</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>ChemCam LIBS raw spectrum</description>
            </Field_Binary>
          </Group_Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>CCAM_LIBS_CHECKSUM</name>
          <field_number>15</field_number>
          <field_location unit="byte">390809</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>MD5 checksum</description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>CL5_804347328EDR_F1170492CCAM04582M1.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>
