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

<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1A10.sch"
  schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/mess/v1/PDS4_MESS_1B00_1020.sch"
  schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1" 
    xmlns:mess="http://pds.nasa.gov/pds4/mission/mess/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_1A10.xsd   http://pds.nasa.gov/pds4/mission/mess/v1 https://pds.nasa.gov/pds4/mission/mess/v1/PDS4_MESS_1B00_1020.xsd">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:mess_ns_raw:data_edr:ns_fsp2012144zzz_dat</logical_identifier>
    <version_id>1.0</version_id>
    <title>MESSENGER NS Spectra product: ns_fsp2012144zzz_dat</title>
    <information_model_version>1.10.1.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2018-06-08</modification_date>
        <version_id>1.0</version_id>
        <description>PDS4 migrated product</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time>2012-05-23T00:00:07Z</start_date_time>
      <stop_date_time>2012-05-23T23:59:40Z</stop_date_time>
    </Time_Coordinates>
    <Investigation_Area>
      <name>MESSENGER</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.messenger</lid_reference>
        <reference_type>data_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>MESSENGER</name>
        <type>Spacecraft</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.mess</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Neutron Spectrometer</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:ns.mess</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>Mercury</name>
      <type>Planet</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:planet.mercury</lid_reference>
        <reference_type>data_to_target</reference_type>
      </Internal_Reference>
    </Target_Identification>
    <Mission_Area>
      <mess:MESSENGER>
        <mess:mission_phase_name>Mercury Orbit Year 2</mess:mission_phase_name>
        <mess:spacecraft_clock_start_count>1/246218673</mess:spacecraft_clock_start_count>
        <mess:spacecraft_clock_stop_count>1/246305046</mess:spacecraft_clock_stop_count>
        <mess:standard_data_product_id>ns_fullspectra</mess:standard_data_product_id>
        <mess:software_name>pipe-ns2edr</mess:software_name>
        <mess:software_version_id>1.0</mess:software_version_id>
      </mess:MESSENGER>
    </Mission_Area>
  </Observation_Area>
  <File_Area_Observational>
    <File>
      <file_name>ns_fsp2012144zzz.dat</file_name>
      <creation_date_time>2012-05-24T02:54:48Z</creation_date_time>
    </File>
    <Table_Binary>
      <offset unit="byte">0</offset>
      <records>1995</records>
      <description>
        This table contains one set of spectra data, status, and software event
        counters collected from the MESSENGER Neutron Spectrometer (NS) and
        telemetered via the NS Full Science Data packet. A set is defined as
        all data with time stamps corresponding to a given Earth day.
        Additional details are contained in the EDR SIS document.
      </description>
      <Record_Binary>
        <fields>33</fields>
        <groups>5</groups>
        <record_length unit="byte">1514</record_length>
        <Field_Binary>
          <name>met</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 tag in seconds of the start of the associated       
            Reporting/Accumulation period.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>orbit_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>
            Orbit number is a unique identifier for a given orbit of 
            the MESSENGER spacecraft around Mercury. Orbit number is defined as        
            starting at apoherm and is calculated using the MET value and the         
            appropriate SPICE kernels. Orbit numbering does not start until MESSENGER  
            performs the Mercury orbit insertion. Until that time the value for orbit  
            number is 0.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>actual_accum</name>
          <field_number>3</field_number>
          <field_location unit="byte">7</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Actual accumulation period for software counters and energy histograms.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>gcr_mode</name>
          <field_number>4</field_number>
          <field_location unit="byte">11</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>
            Galactic Cosmic Ray (GCR) Coincidence mode.              
            =1 Doubles, =2 Triples, =3 Either.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>sensor_cfg_changed</name>
          <field_number>5</field_number>
          <field_location unit="byte">13</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>
            Sensor Configuration Changed Flag.                       
            =0 config unchanged, =1 config changed.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>lg_safing</name>
          <field_number>6</field_number>
          <field_location unit="byte">15</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>
            Maximum Lithium Glass (LG) safing level reached during   
            current reporting period.                                                  
            =0 nominal, =1 seeking, =2 level1_rampdown,                                
            =3 level1_waiting, =4 level1_seeking, =5 level2_safing.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>bp_safing</name>
          <field_number>7</field_number>
          <field_location unit="byte">17</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>
            Maximum safing level reached during current reporting    
            period for the Borrated Plastic (BP) sensor.                               
            =0 nominal, =1 seeking, =2 level1_rampdown,                                
            =3 level1_waiting, =4 level1_seeking, =5 level2_safing.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>log_compression</name>
          <field_number>8</field_number>
          <field_location unit="byte">19</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>
            Identifies when the log compression data mode has        
            been enabled. The NS flight software uses 32-bit to 16-bit log compression 
            on software counters when the log compression data mode is enabled.        
            See the NS Flight Software document for details on the log compression     
            algorithm. =0 no log compression. =1 log compression enabled.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>sensor_temp</name>
          <field_number>9</field_number>
          <field_location unit="byte">21</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Sensor Temperature, External Channel 4 (LVPS).</description>
        </Field_Binary>
        <Field_Binary>
          <name>temp_monitor</name>
          <field_number>10</field_number>
          <field_location unit="byte">23</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>LVPS Temperature monitor.</description>
        </Field_Binary>
        <Field_Binary>
          <name>lg1_scale</name>
          <field_number>11</field_number>
          <field_location unit="byte">25</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>LG1 singles spectrum scale.</description>
        </Field_Binary>
        <Field_Binary>
          <name>lg2_scale</name>
          <field_number>12</field_number>
          <field_location unit="byte">27</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>LG2 singles spectrum scale.</description>
        </Field_Binary>
        <Field_Binary>
          <name>bp_scale</name>
          <field_number>13</field_number>
          <field_location unit="byte">29</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>BP singles spectrum scale.</description>
        </Field_Binary>
        <Field_Binary>
          <name>tc_scale</name>
          <field_number>14</field_number>
          <field_location unit="byte">31</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Time-correlated spectra scale.</description>
        </Field_Binary>
        <Group_Field_Binary>
          <group_number>1</group_number>
          <repetitions>64</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">33</group_location>
          <group_length unit="byte">128</group_length>
          <Field_Binary>
            <name>singles_lg1</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>
              Spectrum is a 64 channel histogram of event energies     
              that arrived as a single event with no time correlation to the other       
              sensors. LG1 is the Lithium Glass 1 sensor.
            </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>2</group_number>
          <repetitions>64</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">161</group_location>
          <group_length unit="byte">128</group_length>
          <Field_Binary>
            <name>singles_lg2</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>
              Spectrum is a 64 channel histogram of event energies     
              that arrived as a single event with no time correlation to the other       
              sensors. LG2 is the Lithium Glass 2 sensor.
            </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>3</group_number>
          <repetitions>64</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">289</group_location>
          <group_length unit="byte">128</group_length>
          <Field_Binary>
            <name>singles_bp_spectra</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>
              BP is the Borated Plastic sensor. Spectrum is a 64 channel
              histogram of event energies that arrived as a solo event with      
              respect to the other sensors.
            </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>4</group_number>
          <repetitions>256</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">417</group_location>
          <group_length unit="byte">512</group_length>
          <Field_Binary>
            <name>tc_early</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>
              The time-correlated early spectrum is a histogram of     
              prompt BP events that had a delayed BP event occurring during the early    
              capture window, as defined by commandable software parameters provided     
              in columns Early_Capture_Start and Early_Capture_End of the NS Status EDR,
              and no additional events in the event set.
            </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>5</group_number>
          <repetitions>256</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">929</group_location>
          <group_length unit="byte">512</group_length>
          <Field_Binary>
            <name>tc_late</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>
              The time-correlated late spectrum is a histogram of      
              prompt BP events that had a delayed BP event occurring during the late     
              capture window, as defined by commandable software parameters provided     
              in columns Late_Capture_Strat and Late_Capture_End of the NS Status EDR,
              and no additional events in the event set.
            </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Field_Binary>
          <name>lg1_raw_events</name>
          <field_number>15</field_number>
          <field_location unit="byte">1441</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>LG1 raw event software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>lg2_raw_events</name>
          <field_number>16</field_number>
          <field_location unit="byte">1445</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>LG2 raw event software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>bp_raw_events</name>
          <field_number>17</field_number>
          <field_location unit="byte">1449</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>BP raw event software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>sw_total_events</name>
          <field_number>18</field_number>
          <field_location unit="byte">1453</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Total events processed by software in the current accumulation period.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>dead_time</name>
          <field_number>19</field_number>
          <field_location unit="byte">1457</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Dead time software counter. Units are in microseconds/16.
            Multiply by 16 to get back to microseconds.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>lg1_reset</name>
          <field_number>20</field_number>
          <field_location unit="byte">1461</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>LG1 charge reset software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>lg2_reset</name>
          <field_number>21</field_number>
          <field_location unit="byte">1465</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>LG2 charge reset software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>bp_reset</name>
          <field_number>22</field_number>
          <field_location unit="byte">1469</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>BP charge reset software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>bpp_lgxs</name>
          <field_number>23</field_number>
          <field_location unit="byte">1473</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Software counter for prompt pulse in BP detector with    
            delayed secondary pulse in LGx detector (x=1 or 2).
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>lg1_over_range</name>
          <field_number>24</field_number>
          <field_location unit="byte">1477</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            LG1 prompt over range software counter (pulse height     
            larger than maximum specified).
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>lg2_over_range</name>
          <field_number>25</field_number>
          <field_location unit="byte">1481</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            LG2 prompt over range software counter (pulse height     
            larger than maximum specified).
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>bp_over_range</name>
          <field_number>26</field_number>
          <field_location unit="byte">1485</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            BP prompt over range software counter (pulse height      
            larger than maximum specified).
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>valid_tc_event</name>
          <field_number>27</field_number>
          <field_location unit="byte">1489</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Time-correlated software counter: non-coincidence and not
            over range events.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>lg1_bpp_coin</name>
          <field_number>28</field_number>
          <field_location unit="byte">1493</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>LG1/BPP coincidence event software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>lg2_bpp_coin</name>
          <field_number>29</field_number>
          <field_location unit="byte">1497</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>LG2/BPP coincidence event software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>lg1_bpp_lg2_coin</name>
          <field_number>30</field_number>
          <field_location unit="byte">1501</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>LG1/BPP/LG2 coincidence event software counter.</description>
        </Field_Binary>
        <Field_Binary>
          <name>tc_early_counter</name>
          <field_number>31</field_number>
          <field_location unit="byte">1505</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Summation of all channels of early time-correlated spectra.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>tc_late_counter</name>
          <field_number>32</field_number>
          <field_location unit="byte">1509</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>
            Summation of all channels of late time-correlated spectra.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>event_mode_data_len</name>
          <field_number>33</field_number>
          <field_location unit="byte">1513</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>
            Event mode data length. A value greater than             
            zero indicates that events were observed by the instrument. A              
            corresponding NS Full Science Events EDR will archive                      
            the event data.
          </description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>ns_fsp2012144zzz.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>
