<?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_grs_raw:data_edr:grs_swc2015114zzz_tab</logical_identifier>
    <version_id>1.0</version_id>
    <title>MESSENGER GRS Software Telemetry product: grs_swc2015114zzz_tab</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>2015-04-24T03:43:49.000Z</start_date_time>
      <stop_date_time>2015-04-24T22:14:28.000Z</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>Gamma Ray Spectrometer</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:grs.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 5</mess:mission_phase_name>
        <mess:spacecraft_clock_start_count>2/072171019</mess:spacecraft_clock_start_count>
        <mess:spacecraft_clock_stop_count>2/072237658</mess:spacecraft_clock_stop_count>
        <mess:standard_data_product_id>grs_software_rate_counters</mess:standard_data_product_id>
        <mess:software_name>pipe-grs2edr</mess:software_name>
        <mess:software_version_id>1.1</mess:software_version_id>
      </mess:MESSENGER>
    </Mission_Area>
  </Observation_Area>
  <File_Area_Observational>
    <File>
      <file_name>grs_swc2015114zzz.tab</file_name>
      <creation_date_time>2015-04-25T09:58:47Z</creation_date_time>
    </File>
    <Table_Character>
      <offset unit="byte">0</offset>
      <records>175</records>
      <description>
        This table contains one set of software rate counter telemetry
        information gathered by the MESSENGER Gamma-Ray Spectrometer (GRS).
        A set is defined as all data with MET timestamps corresponding to a
        given Earth day. Additional details are contained in the EDR SIS document.
      </description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <Record_Character>
        <fields>30</fields>
        <groups>0</groups>
        <record_length unit="byte">355</record_length>
        <Field_Character>
          <name>met</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Mission elapsed time in seconds.</description>
        </Field_Character>
        <Field_Character>
          <name>orbit_number</name>
          <field_number>2</field_number>
          <field_location unit="byte">13</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">5</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_Character>
        <Field_Character>
          <name>hpge_raw_events</name>
          <field_number>3</field_number>
          <field_location unit="byte">20</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Counter of HPGe Raw events.</description>
        </Field_Character>
        <Field_Character>
          <name>shield_raw_events</name>
          <field_number>4</field_number>
          <field_location unit="byte">32</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Counter for SHIELD raw events.</description>
        </Field_Character>
        <Field_Character>
          <name>accumulated_dead_time</name>
          <field_number>5</field_number>
          <field_location unit="byte">44</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Counter for accumulated dead time.</description>
        </Field_Character>
        <Field_Character>
          <name>hpge_charge_resets</name>
          <field_number>6</field_number>
          <field_location unit="byte">56</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Number of HPGe charge resets.</description>
        </Field_Character>
        <Field_Character>
          <name>shield_charge_resets</name>
          <field_number>7</field_number>
          <field_location unit="byte">68</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Number of SHIELD charge resets.</description>
        </Field_Character>
        <Field_Character>
          <name>accumulation_time</name>
          <field_number>8</field_number>
          <field_location unit="byte">80</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Accumulation time for software counters.</description>
        </Field_Character>
        <Field_Character>
          <name>all_events</name>
          <field_number>9</field_number>
          <field_location unit="byte">92</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>All events counter.</description>
        </Field_Character>
        <Field_Character>
          <name>all_ch0_ch1_events</name>
          <field_number>10</field_number>
          <field_location unit="byte">104</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>
            All channel 0 and channel 1 events. Excludes inverted
            Channel 0, Pileups, and Pulser events.
          </description>
        </Field_Character>
        <Field_Character>
          <name>all_ch0_events</name>
          <field_number>11</field_number>
          <field_location unit="byte">116</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>
            All single Channel 0 events - either singlet or fails
            crossing time criterion.
          </description>
        </Field_Character>
        <Field_Character>
          <name>all_ch1_events</name>
          <field_number>12</field_number>
          <field_location unit="byte">128</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>
            All single Channel 1 events - either singlet or fails
            crossing time criterion.
          </description>
        </Field_Character>
        <Field_Character>
          <name>invalid_single_ch0</name>
          <field_number>13</field_number>
          <field_location unit="byte">140</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Single channel 0 out-of-range events.</description>
        </Field_Character>
        <Field_Character>
          <name>invalid_single_ch1</name>
          <field_number>14</field_number>
          <field_location unit="byte">152</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Single channel 1 out-of-range events.</description>
        </Field_Character>
        <Field_Character>
          <name>invalid_coincident_ch0</name>
          <field_number>15</field_number>
          <field_location unit="byte">164</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Channel 0 out-of-range coincidence events.</description>
        </Field_Character>
        <Field_Character>
          <name>invalid_coincident_ch1</name>
          <field_number>16</field_number>
          <field_location unit="byte">176</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Channel 1 out-of-range coincidence events.</description>
        </Field_Character>
        <Field_Character>
          <name>valid_single_ch0</name>
          <field_number>17</field_number>
          <field_location unit="byte">188</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Single channel 0 valid events only.</description>
        </Field_Character>
        <Field_Character>
          <name>valid_coincident_ch0</name>
          <field_number>18</field_number>
          <field_location unit="byte">200</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Coincidence channel 0 valid events.</description>
        </Field_Character>
        <Field_Character>
          <name>valid_single_ch1</name>
          <field_number>19</field_number>
          <field_location unit="byte">212</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Single channel 1 valid events only.</description>
        </Field_Character>
        <Field_Character>
          <name>valid_coincident_ch1</name>
          <field_number>20</field_number>
          <field_location unit="byte">224</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Coincidence channel 1 valid events.</description>
        </Field_Character>
        <Field_Character>
          <name>all_valid_coincident</name>
          <field_number>21</field_number>
          <field_location unit="byte">236</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>All valid coincidence events - both Channel 0 and
            Channel 1 valid.</description>
        </Field_Character>
        <Field_Character>
          <name>inverted_ch0</name>
          <field_number>22</field_number>
          <field_location unit="byte">248</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Channel 0 events flagged 'inverted' by the hardware.</description>
        </Field_Character>
        <Field_Character>
          <name>ch0_pileup_reject</name>
          <field_number>23</field_number>
          <field_location unit="byte">260</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>
            Channel 0 pileup rejected events. Only if pileup rejection is enabled.
          </description>
        </Field_Character>
        <Field_Character>
          <name>fifo_full_count</name>
          <field_number>24</field_number>
          <field_location unit="byte">272</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>
            Hardware FIFO full flag tested for all events. Number
            of events for which First-In-First-Out buffer is full.
          </description>
        </Field_Character>
        <Field_Character>
          <name>pulser_energy_sum</name>
          <field_number>25</field_number>
          <field_location unit="byte">284</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>
            Pulser energy sum. Summation of (Pulser Energy - Offset).
          </description>
        </Field_Character>
        <Field_Character>
          <name>pulser_energy_sum2</name>
          <field_number>26</field_number>
          <field_location unit="byte">296</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>
            Pulser energy sum squared. Summation of square of 
            (Pulser Energy - Offset).
          </description>
        </Field_Character>
        <Field_Character>
          <name>pulser_events</name>
          <field_number>27</field_number>
          <field_location unit="byte">308</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Number of valid pulser events.</description>
        </Field_Character>
        <Field_Character>
          <name>invalid_pulser_events</name>
          <field_number>28</field_number>
          <field_location unit="byte">320</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Out-of-range pulser events.</description>
        </Field_Character>
        <Field_Character>
          <name>neutron_events</name>
          <field_number>29</field_number>
          <field_location unit="byte">332</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>Coincidence events that meet neutron criterion.</description>
        </Field_Character>
        <Field_Character>
          <name>pulser_offset</name>
          <field_number>30</field_number>
          <field_location unit="byte">344</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <description>
            Pulser energy offset used to form PULSER_ENERGY_SUM 
            and PULSER_ENERGY_SUM2.
          </description>
        </Field_Character>
      </Record_Character>
    </Table_Character>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>grs_swc2015114zzz.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>
