<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1H00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/lro/v1/PDS4_LRO_1H00_1020.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1H00_1210.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1" 
    xmlns:lro="http://pds.nasa.gov/pds4/mission/lro/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_1H00.xsd
    http://pds.nasa.gov/pds4/mission/lro/v1 https://pds.nasa.gov/pds4/mission/lro/v1/PDS4_LRO_1H00_1020.xsd
    http://pds.nasa.gov/pds4/proc/v1        https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1H00_1210.xsd">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:lro_lend:data_science_raw:lend_edr_sci_20121221</logical_identifier>
    <version_id>1.0</version_id>
    <title>LRO LEND raw science product: lend_edr_sci_20121221</title>
    <information_model_version>1.17.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2023-04-14</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>2012-12-21T00:00:00Z</start_date_time>
      <stop_date_time>2012-12-21T23:59:59Z</stop_date_time>
    </Time_Coordinates>
    <Investigation_Area>
      <name>Lunar Reconnaissance Orbiter</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.lunar_reconnaissance_orbiter</lid_reference>
        <reference_type>data_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <name>LEND</name>
      <Observing_System_Component>
        <name>Lunar Reconnaissance Orbiter</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.lro</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Lunar Exploration Neutron Detector for LRO</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:lro.lend</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>Moon</name>
      <type>Satellite</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:satellite.earth.moon</lid_reference>
        <reference_type>data_to_target</reference_type>
      </Internal_Reference>
    </Target_Identification>
    <Mission_Area>
      <lro:LRO_Parameters>
        <lro:product_type>LEND_EDR_SCI</lro:product_type>
        <lro:product_version_id>2.0</lro:product_version_id>
        <lro:mission_phase_name>EXTENDED SCIENCE MISSION</lro:mission_phase_name>
        <lro:spacecraft_clock_start_count>377740800</lro:spacecraft_clock_start_count>
        <lro:spacecraft_clock_stop_count>377827199</lro:spacecraft_clock_stop_count>
      </lro:LRO_Parameters>
    </Mission_Area>
    <Discipline_Area>
      <proc:Processing_Information>
        <Local_Internal_Reference>
          <local_identifier_reference>sci_data_table</local_identifier_reference>
          <local_reference_type>processing_information_to_data_object</local_reference_type>
        </Local_Internal_Reference>
        <proc:Process>
          <proc:Software>
            <proc:Software_Program>
              <proc:name>GEN_LEND_EDR</proc:name>
              <proc:program_version>1.0.0</proc:program_version>
            </proc:Software_Program>
          </proc:Software>
        </proc:Process>
      </proc:Processing_Information>
    </Discipline_Area>
  </Observation_Area>
  <File_Area_Observational>
    <File>
      <file_name>lend_edr_sci_20121221.dat</file_name>
      <local_identifier>sci_data_table</local_identifier>
      <creation_date_time>2013-04-01T14:35:00</creation_date_time>
    </File>
    <Table_Binary>
      <offset unit="byte">0</offset>
      <records>86400</records>
      <description>This table contains neutron spectra and associated instrument parameters
                as observed by the Lunar Reconnaissance Orbiter (LRO) Lunar Exploration 
                Neutron Detector (LEND). Detailed descriptions for the parameters defined below are
                contained in the LEND_EDR_SIS document.</description>
      <Record_Binary>
        <fields>7</fields>
        <groups>11</groups>
        <record_length unit="byte">370</record_length>
        <Field_Binary>
          <name>SYNCHRO_SEQUENCE</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>A synchronization sequence for SCI data, 7C 6E A1 2C.</description>
        </Field_Binary>
        <Field_Binary>
          <name>DATA_FRAME_NUMBER</name>
          <field_number>2</field_number>
          <field_location unit="byte">5</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Incrementing counter for data packet.</description>
        </Field_Binary>
        <Field_Binary>
          <name>DATA_COLLECTION_TIME</name>
          <field_number>3</field_number>
          <field_location unit="byte">7</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Value of collection time register, length of time in 0.016 seconds.</description>
        </Field_Binary>
        <Field_Binary>
          <name>LEND_TIME</name>
          <field_number>4</field_number>
          <field_location unit="byte">9</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>LEND instrument time in 0.016 second.</description>
        </Field_Binary>
        <Field_Binary>
          <name>LRO_TIME_SEC</name>
          <field_number>5</field_number>
          <field_location unit="byte">13</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Seconds portion LRO spacecraft time.</description>
        </Field_Binary>
        <Field_Binary>
          <name>LRO_TIME_SUBSEC</name>
          <field_number>6</field_number>
          <field_location unit="byte">17</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>Subseconds portion LRO spacecraft time, in 256th of second.</description>
        </Field_Binary>
        <Field_Binary>
          <name>PARAMETERS_CHANGED</name>
          <field_number>7</field_number>
          <field_location unit="byte">18</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>Number of parameters changes since last housekeeping frame.</description>
        </Field_Binary>
        <Group_Field_Binary>
          <group_number>1</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Uncollimated counters.</description>
          <group_location unit="byte">19</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>STN1_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>2</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Uncollimated counters.</description>
          <group_location unit="byte">51</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>SETN_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>3</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Uncollimated counters.</description>
          <group_location unit="byte">83</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>STN2_SPECTRUM</name>
            <field_location unit="byte">1</field_location>
            <data_type>UnsignedMSB2</data_type>
            <field_length unit="byte">2</field_length>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>4</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Uncollimated counters.</description>
          <group_location unit="byte">115</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>STN3_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>5</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Collimated counters.</description>
          <group_location unit="byte">147</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>SETN1_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>6</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Collimated counters.</description>
          <group_location unit="byte">179</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>SETN2_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>7</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Collimated counters.</description>
          <group_location unit="byte">211</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>SETN3_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>8</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Collimated counters.</description>
          <group_location unit="byte">243</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>SETN4_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>9</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Charged particle spectra for stylbene.</description>
          <group_location unit="byte">275</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>SC1_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>10</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Neutron spectra for stylbene.</description>
          <group_location unit="byte">307</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>SC2_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>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>11</group_number>
          <repetitions>16</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <description>Gamma spectra for stylbene.</description>
          <group_location unit="byte">339</group_location>
          <group_length unit="byte">32</group_length>
          <Field_Binary>
            <name>SC3_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>
          </Field_Binary>
        </Group_Field_Binary>
      </Record_Binary>
    </Table_Binary>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>lend_edr_sci_20121221.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>
