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

<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1"
    xmlns:pds="http://pds.nasa.gov/pds4/pds/v1"
    xmlns:ody="http://pds.nasa.gov/pds4/mission/ody/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/ody/v1    https://pds.nasa.gov/pds4/mission/ody/v1/PDS4_ODY_1J00_1020.xsd
    ">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:odyssey_grs_edr:data_science_raw:profile_data_20031021</logical_identifier>
    <version_id>1.0</version_id>
    <title>Mars Odyssey GRS raw science product: profile_data_20031021</title>
    <information_model_version>1.19.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2026-07-01</modification_date>
        <version_id>1.0</version_id>
        <description>Migration to PDS4</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time>2003-10-21T00:05:01.779Z</start_date_time>
      <stop_date_time>2003-10-21T23:59:58.437Z</stop_date_time>
    </Time_Coordinates>
    <Investigation_Area>
      <name>MARS Odyssey</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.2001_mars_odyssey</lid_reference>
        <reference_type>data_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>2001 MARS ODYSSEY</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.ody</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>GAMMA RAY SPECTROMETER</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:ody.grs</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>
      <ody:ODY_Parameters>
        <ody:GRS_Observation_Information>
          <ody:release_number>0008</ody:release_number>
          <ody:product_type>PROFILE_DATA</ody:product_type>
          <ody:product_version_id>1.0</ody:product_version_id>
          <ody:mission_phase_name>MAPPING</ody:mission_phase_name>
          <ody:spacecraft_clock_start>192297481629</ody:spacecraft_clock_start>
          <ody:spacecraft_clock_stop>192319522515</ody:spacecraft_clock_stop>
        </ody:GRS_Observation_Information>
      </ody:ODY_Parameters>
    </Mission_Area>
  </Observation_Area>
  <File_Area_Observational>
    <File>
      <file_name>profile_data_20031021.dat</file_name>
      <local_identifier>profile_data_data_table</local_identifier>
      <creation_date_time>2004-05-01T03:17:03.754</creation_date_time>
    </File>
    <Table_Binary>
      <offset unit="byte">0</offset>
      <records>283</records>
      <description>Profile spectra and associated data.</description>
      <Record_Binary>
        <fields>11</fields>
        <groups>1</groups>
        <record_length unit="byte">32839</record_length>
        <Field_Binary>
          <name>SC_RECV_TIME</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>UnsignedMSB8</data_type>
          <field_length unit="byte">8</field_length>
          <description>The time this packet was received by the spacecraft, in ticks (256 per second).</description>
        </Field_Binary>
        <Field_Binary>
          <name>SC_EV_TIME</name>
          <field_number>2</field_number>
          <field_location unit="byte">9</field_location>
          <data_type>UnsignedMSB8</data_type>
          <field_length unit="byte">8</field_length>
          <description>Spacecraft time at the middle of the pixel, in ticks.</description>
        </Field_Binary>
        <Field_Binary>
          <name>SC_EV_TIME_FINE</name>
          <field_number>3</field_number>
          <field_location unit="byte">17</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Fine time portion of spacecraft time at the beginning of the pixel, units of 65536ths of a second.</description>
        </Field_Binary>
        <Field_Binary>
          <name>CEB_TIME</name>
          <field_number>4</field_number>
          <field_location unit="byte">19</field_location>
          <data_type>UnsignedMSB8</data_type>
          <field_length unit="byte">8</field_length>
          <unit>ms</unit>
          <description>Clock count from the GRS Common Electronics Box at the beginning of the pixel.</description>
        </Field_Binary>
        <Field_Binary>
          <name>UTC</name>
          <field_number>5</field_number>
          <field_location unit="byte">27</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">23</field_length>
          <description>SC_EV_TIME converted to UTC, stored as yyyy-mm-ddThh:mm:ss.sss.</description>
        </Field_Binary>
        <Field_Binary>
          <name>GRS_PIXEL_NUMBER</name>
          <field_number>6</field_number>
          <field_location unit="byte">50</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Sequential counter of accumulation intervals, starts with one as grs orbit begins. Special case on reboot when the the CEB is in orbit 0, pixel 0.</description>
          <Special_Constants>
              <invalid_constant>0</invalid_constant>
          </Special_Constants>
        </Field_Binary>
        <Field_Binary>
          <name>GRS_ORBIT_NUMBER</name>
          <field_number>7</field_number>
          <field_location unit="byte">54</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Sequential counter of orbits from GRS CEB boot.</description>
          <Special_Constants>
              <invalid_constant>0</invalid_constant>
          </Special_Constants>
        </Field_Binary>
        <Field_Binary>
          <name>ODY_ORBIT_NUMBER</name>
          <field_number>8</field_number>
          <field_location unit="byte">58</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Orbit number common to all instruments aboard Odyssey. This orbit number is incremented by one as the spacecraft passes through the orbital descending node.</description>
          <Special_Constants>
              <invalid_constant>0</invalid_constant>
          </Special_Constants>
        </Field_Binary>
        <Field_Binary>
          <name>BAD_CODE</name>
          <field_number>9</field_number>
          <field_location unit="byte">62</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>If non-zero, the data has been flagged bad. Definitions in bad_code.txt.</description>
        </Field_Binary>
        <Field_Binary>
          <name>COUNTER</name>
          <field_number>10</field_number>
          <field_location unit="byte">66</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>A spectra can come down in up to 4 packets. Each packet has its own counter. This counter is the combination of all eight possible counters, four bits for each.</description>
        </Field_Binary>
        <Field_Binary>
          <name>PROFILE_COUNT</name>
          <field_number>11</field_number>
          <field_location unit="byte">70</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Number of 4-scalar element sets that are in the profile array.</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>PROFILE_SERIES</name>
          <group_number>1</group_number>
          <repetitions>2048</repetitions>
          <fields>4</fields>
          <groups>0</groups>
          <description>Series of summed counts of gamma events in four energy ranges. The nominal summing period is 32 milliseconds.</description>
          <group_location unit="byte">72</group_location>
          <group_length unit="byte">32768</group_length>
          <Field_Binary>
            <name>LLD</name>
            <field_number>1</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>All counts above the LLD energy.</description>
            <Special_Constants>
              <invalid_constant>-1</invalid_constant>
            </Special_Constants>
          </Field_Binary>
          <Field_Binary>
            <name>LLD_L1</name>
            <field_number>2</field_number>
            <field_location unit="byte">5</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Counts in the LLD to L1 energy range.</description>
            <Special_Constants>
              <invalid_constant>-1</invalid_constant>
            </Special_Constants>
          </Field_Binary>
          <Field_Binary>
            <name>L1_L2</name>
            <field_number>3</field_number>
            <field_location unit="byte">9</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Counts in the L1 to L2 energy range.</description>
            <Special_Constants>
              <invalid_constant>-1</invalid_constant>
            </Special_Constants>
          </Field_Binary>
          <Field_Binary>
            <name>L2_L3</name>
            <field_number>4</field_number>
            <field_location unit="byte">13</field_location>
            <data_type>SignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <description>Counts in the L2 to L3 energy range.</description>
            <Special_Constants>
              <invalid_constant>-1</invalid_constant>
            </Special_Constants>
          </Field_Binary>
        </Group_Field_Binary>
      </Record_Binary>
    </Table_Binary>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>profile_data_20031021.lbl</file_name>
    </File>
    <Stream_Text>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS3</parsing_standard_id>
      <description>PDS3 label</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
    </Stream_Text>
  </File_Area_Observational_Supplemental>
</Product_Observational>
