<?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/mission/msl/v1/PDS4_MSL_1J00_1100.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1"
    xmlns:msl="http://pds.nasa.gov/pds4/mission/msl/v1"
    xmlns: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/mission/msl/v1 https://pds.nasa.gov/pds4/mission/msl/v1/PDS4_MSL_1J00_1100.xsd">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:msl_chemin_derived:data_chemin_rda:cma_598547494rda22650731206ch00111p1</logical_identifier>
    <version_id>1.0</version_id>
    <title>MSL CheMin diffraction-all K-alpha diffraction data </title>
    <information_model_version>1.19.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2019-06-08</modification_date>
        <version_id>1.0</version_id>
        <description>Initial PDS4 version of this product.</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time>2018-12-20T03:45:16.451Z</start_date_time>
      <stop_date_time nilReason="unknown" xsi:nil="true"/>
    </Time_Coordinates>
    <Primary_Result_Summary>
      <purpose>Science</purpose>
      <processing_level>Derived</processing_level>
      <description>Data from the MSL CheMin Instrument.</description>
    </Primary_Result_Summary>
    <Investigation_Area>
      <name>MARS SCIENCE LABORATORY</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.mars_science_laboratory</lid_reference>
        <reference_type>data_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <name>MARS SCIENCE LABORATORY</name>
      <Observing_System_Component>
        <name>MARS SCIENCE LABORATORY</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.msl</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>CHEMISTRY AND MINERALOGY INSTRUMENT</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:chemin.msl</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>MARS</name>
      <type>Planet</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:planet.mars</lid_reference>
        <reference_type>data_to_target</reference_type>
      </Internal_Reference>
    </Target_Identification>
    <Mission_Area>
      <msl:MSL_Parameters>
        <msl:Observation_Information>
          <msl:release_number>0021</msl:release_number>
          <msl:product_type>CHEMIN_RDA</msl:product_type>
          <msl:mission_phase_name>PRIMARY SURFACE MISSION</msl:mission_phase_name>
          <msl:product_version_id>V1.0</msl:product_version_id>
          <msl:spacecraft_clock_start>598547494.445</msl:spacecraft_clock_start>
          <msl:sol_number>2265</msl:sol_number>
        </msl:Observation_Information>
      </msl:MSL_Parameters>
    </Mission_Area>
  </Observation_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:msl_chemin_derived:document:chemin_rdr_sis</lid_reference>
      <reference_type>data_to_document</reference_type>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:msl_chemin_derived:document:chemin_pds4_notes</lid_reference>
      <reference_type>data_to_document</reference_type>
    </Internal_Reference>
    <Source_Product_Internal>
      <lidvid_reference>urn:nasa:pds:msl_chemin_raw:data:cma_598547494eda22650731206ch00111m::1.0</lidvid_reference>
      <lidvid_reference>urn:nasa:pds:msl_chemin_raw:data:cma_598547864eda22650731206ch00111m::1.0</lidvid_reference>
      <lidvid_reference>urn:nasa:pds:msl_chemin_raw:data:cma_598548233eda22650731206ch00111m::1.0</lidvid_reference>
      <lidvid_reference>urn:nasa:pds:msl_chemin_raw:data:cma_598548603eda22650731206ch00111m::1.0</lidvid_reference>
      <reference_type>data_to_raw_source_product</reference_type>
      <comment>This is a reference to a data file corresponding to this data.</comment>
    </Source_Product_Internal>
  </Reference_List>
  <File_Area_Observational>
    <File>
      <file_name>cma_598547494rda22650731206ch00111p1.csv</file_name>
      <creation_date_time>2019-06-08T17:13:00</creation_date_time>
    </File>
    <Header>
      <offset unit="byte">0</offset>
      <object_length unit="byte">19</object_length>
      <parsing_standard_id>7-Bit ASCII Text</parsing_standard_id>
      <description>Column headings</description>
    </Header>
    <Table_Delimited>
      <offset unit="byte">19</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <description>This table contains diffraction-all K-alpha diffraction data for the Rock Hall drill sample, analyzed
      in CheMin cell number 7b (Mylar window). The table represents results from sequences uploaded on sol 2264,
      including the 4 initial minor frames that represent 2 hours of analysis. Although a total of 15 minor frames were
      collected in this first night of analysis, a drop in sample signal beyond the first four minor frames indicated
      that much of the sample had moved to portions of the cell outside the X-ray beam; when sample signal rose again
      toward the end of this analysis, grain motion deteriorated significantly. Additional nights of analysis on sols
      2277-2278 and 2285-2286 showed no improvement in grain motion, even as attempts were made to increase sample
      vibration intensity. An RDA for this later analyses has been generated as CMA_599656708RDA22770731206CH00113P1,
      but that RDA has not been used to prepare a MIN file because of the very poor grain motion in these subsequent
      nights of analysis. To focus on the highest quality data, the RDA file listed here and used for mineralogical
      analysis (see file CMA_598547494MIN22650731206CH00111P1) contains only the first four minor frames where signal
      remained strong and grain motion was good. Refined plagioclase c and gamma cell parameters were used to make a
      minor adjustment in the sample to detector distance, reducing this by 69 um. CCD temperatures during data
      collection were ~-50 degrees centigrade. Column 1 of the table lists 2-theta from 2.00 to 52.00 degrees cobalt
      K-alpha, in increments of 0.05 degrees (1001 entries). Column 2 lists the intensity of the diffraction for each
      2-theta value in column 1.</description>
      <records>1001</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>2</fields>
        <groups>0</groups>
        <Field_Delimited>
          <name>2-THETA</name>
          <field_number>1</field_number>
          <data_type>ASCII_Real</data_type>
          <maximum_field_length unit="byte">6</maximum_field_length>
          <unit>degrees</unit>
          <description>2-theta</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>INTENSITY</name>
          <field_number>2</field_number>
          <data_type>ASCII_Real</data_type>
          <maximum_field_length unit="byte">7</maximum_field_length>
          <unit>count</unit>
          <description>The intensity of the diffraction for each 2-theta value in column 1</description>
        </Field_Delimited>
      </Record_Delimited>
    </Table_Delimited>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
     <File>
       <file_name>cma_598547494rda22650731206ch00111p1.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>
