<?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_derived:data_cdr:grs_csc2014246zzz_tab</logical_identifier>
    <version_id>1.0</version_id>
    <title>MESSENGER GRS Shield Count Rate: grs_csc2014246zzz_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-07-03</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>2014-09-03T00:15:43Z</start_date_time>
      <stop_date_time>2014-09-03T23:52:13Z</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 4</mess:mission_phase_name>
        <mess:spacecraft_clock_start_count>2/052027342</mess:spacecraft_clock_start_count>
        <mess:spacecraft_clock_stop_count>2/052112332</mess:spacecraft_clock_stop_count>
        <mess:standard_data_product_id>grs_cal_scr</mess:standard_data_product_id>
        <mess:software_name>grsedr2cdr</mess:software_name>
        <mess:software_version_id>3.0</mess:software_version_id>
        <mess:detector_id>acs</mess:detector_id>
      </mess:MESSENGER>
    </Mission_Area>
  </Observation_Area>
  <File_Area_Observational>
    <File>
      <file_name>grs_csc2014246zzz.tab</file_name>
      <creation_date_time>2015-10-20T19:36:12Z</creation_date_time>
    </File>
    <Table_Character>
      <offset unit="byte">0</offset>
      <records>948</records>
      <description>
        This table contains one set of calibrated high-time-resolution count 
        rate measurements in the GRS anti-coincidence shield. Each entry 
        contains an array that is populated with values corresponding to the 
        total number of events registered by the GRS Anti-Coincidence Shield 
        (ACS) in 10-ms-long increments. When the accumulation period is 
        insufficient to populate all 16384 channels, the remaining entries are 
        assigned values of zero. For arrays exceeding 16384 entries in length, 
        the final channel records the sum of all subsequent entries. A set is 
        defined as all data with MET timestamps corresponding to a given day. 
        Additional details are contained in the CDR-RDR-DAP SIS document.
      </description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <Record_Character>
        <fields>29</fields>
        <groups>3</groups>
        <record_length unit="byte">98707</record_length>
        <Field_Character>
          <name>j2000_et</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">16</field_length>
          <description>Ephemeris time converted from MESSENGER MET.</description>
        </Field_Character>
        <Field_Character>
          <name>jday</name>
          <field_number>2</field_number>
          <field_location unit="byte">17</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">16</field_length>
          <description>
            Julian date at the start of the time period of interest. Julian date is defined as an integer 
            count of days elapsed since noon, January 1, 4713 B.C. The value includes the fractional portion of the Julian day.
          </description>
        </Field_Character>
        <Field_Character>
          <name>met</name>
          <field_number>3</field_number>
          <field_location unit="byte">33</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">13 </field_length>
          <description>Mission elapsed time in seconds.</description>
        </Field_Character>
        <Field_Character>
          <name>accum_time</name>
          <field_number>4</field_number>
          <field_location unit="byte">46</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">13</field_length>
          <description>The time period over which the rates were accumulated.</description>
        </Field_Character>
        <Field_Character>
          <name>deadtime_frac</name>
          <field_number>5</field_number>
          <field_location unit="byte">59</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">13</field_length>
          <description>
            The fraction of time for which the detector was insensitive to events due to 
            electronics processing of prior events.
          </description>
        </Field_Character>
        <Field_Character>
          <name>orbit_number</name>
          <field_number>6</field_number>
          <field_location unit="byte">72</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">6</field_length>
          <description>
            Unique identifier for a given orbit of MESSENGER 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>start_bin</name>
          <field_number>7</field_number>
          <field_location unit="byte">78</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">6</field_length>
          <description>
            Starting bin for the Shield Count Rate measurements. Initially values may be zero due to 
            detector electronics deadtime.
          </description>
        </Field_Character>
        <Field_Character>
          <name>number_of_bins</name>
          <field_number>8</field_number>
          <field_location unit="byte">84</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">6</field_length>
          <description>Number of bins in the shield spectra.</description>
        </Field_Character>
        <Field_Character>
          <name>grs_priority_level</name>
          <field_number>9</field_number>
          <field_location unit="byte">90</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">6</field_length>
          <description>
            Indicates the type of priority assigned to the science packet. The priority level is tied to 
            the ApID of the packet. Priority level varies from 0-3, 0 being highest and 3 being lowest priority.
          </description>
        </Field_Character>
        <Field_Character>
          <name>bad_data_flag</name>
          <field_number>10</field_number>
          <field_location unit="byte">96</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">6</field_length>
          <description>
            Values of 1 indicate that the data quality is poor, for example increased backgrounds due to solar particle events, 
            or that the detector was not operating nominally, for example the bias voltage was off. Values of 0 indicate that 
            the data are clean and suited for analysis.
          </description>
        </Field_Character>
        <Field_Character>
          <name>triple</name>
          <field_number>11</field_number>
          <field_location unit="byte">102</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">13</field_length>
          <description>
            Triple coincidence count rate in the MESSENGER Neutron Spectrometer. 
            This value is a known proxy for the spacecraft-incident galactic cosmic ray flux.
          </description>
        </Field_Character>
        <Field_Character>
          <name>preamp_temp</name>
          <field_number>12</field_number>
          <field_location unit="byte">115</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">13</field_length>
          <description>Temperature of the pre-amplifier.</description>
        </Field_Character>
        <Field_Character>
          <name>shld_chrg_rset_1sec</name>
          <field_number>13</field_number>
          <field_location unit="byte">128</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">13</field_length>
          <description>Hardware Shield charge reset 1-second total.</description>
        </Field_Character>
        <Field_Character>
          <name>shaper_temp</name>
          <field_number>14</field_number>
          <field_location unit="byte">141</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">13</field_length>
          <description>Shaper Temperature.</description>
        </Field_Character>
        <Field_Character>
          <name>altitude</name>
          <field_number>15</field_number>
          <field_location unit="byte">154</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">10</field_length>
          <description>Spacecraft altitude above the subsatellite point on the target in units of km.</description>
        </Field_Character>
        <Field_Character>
          <name>latitude</name>
          <field_number>16</field_number>
          <field_location unit="byte">164</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>Target-centric latitude of the spacecraft subsatellite point in degrees.</description>
        </Field_Character>
        <Field_Character>
          <name>longitude</name>
          <field_number>17</field_number>
          <field_location unit="byte">173</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>Target-centric longitude of the spacecraft subsatellite point in degrees.</description>
        </Field_Character>
        <Field_Character>
          <name>local_time</name>
          <field_number>18</field_number>
          <field_location unit="byte">182</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>Local time of the spacecraft subsatellite point in hours from 0 to 24.</description>
        </Field_Character>
        <Group_Field_Character>
          <group_number>1</group_number>
          <repetitions>3</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">191</group_location>
          <group_length unit="byte">27</group_length>
          <Field_Character>
            <name>velocity_vector</name>
            <field_number>1</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>ASCII_Real</data_type>
            <field_length unit="byte">9</field_length>
            <description>
              Three element spacecraft velocity vector expressed in the nadir-fixed 
              coordinate system with each component in units of km/second.
            </description>
          </Field_Character>
        </Group_Field_Character>
        <Field_Character>
          <name>vel_norm</name>
          <field_number>19</field_number>
          <field_location unit="byte">218</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Magnitude of the spacecraft velocity as expressed in the nadir-fixed 
            coordinate system in units of km/second.
          </description>
        </Field_Character>
        <Group_Field_Character>
          <group_number>2</group_number>
          <repetitions>9</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">227</group_location>
          <group_length unit="byte">81</group_length>
          <Field_Character>
            <name>sc_to_nadir_rot</name>
            <field_number>1</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>ASCII_Real</data_type>
            <field_length unit="byte">9</field_length>
            <description>
              Nine element rotation matrix that converts the spacecraft attitude 
              from instrument-fixed coordinates to nadir-fixed coordinates.
            </description>
          </Field_Character>
        </Group_Field_Character>
        <Field_Character>
          <name>vdot_x</name>
          <field_number>20</field_number>
          <field_location unit="byte">308</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Velocity normalized dot product of the vector velocity and the spacecraft 
            x-axis unit vector expressed as a unitless number from -1 to 1.
          </description>
        </Field_Character>
        <Field_Character>
          <name>vdot_y</name>
          <field_number>21</field_number>
          <field_location unit="byte">317</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Velocity normalized dot product of the vector velocity and the spacecraft 
            y-axis unit vector expressed as a unitless number from -1 to 1.
          </description>
        </Field_Character>
        <Field_Character>
          <name>vdot_z</name>
          <field_number>22</field_number>
          <field_location unit="byte">326</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Velocity normalized dot product of the vector velocity and the spacecraft 
            z-axis unit vector expressed as a unitless number from -1 to 1.
          </description>
        </Field_Character>
        <Field_Character>
          <name>nadir_angle</name>
          <field_number>23</field_number>
          <field_location unit="byte">335</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Spacecraft orientation angle of the spacecraft z-axis and the 
            spacecraft-to-planet center vector in units of degrees.
          </description>
        </Field_Character>
        <Field_Character>
          <name>yaxis_angle</name>
          <field_number>24</field_number>
          <field_location unit="byte">344</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Spacecraft orientation angle of the spacecraft y-axis and the 
            spacecraft-to-planet center vector in units of degrees.
          </description>
        </Field_Character>
        <Field_Character>
          <name>xaxis_angle</name>
          <field_number>25</field_number>
          <field_location unit="byte">353</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Spacecraft orientation angle of the spacecraft x-axis and the 
            spacecraft-to-planet center vector in units of degrees.
          </description>
        </Field_Character>
        <Field_Character>
          <name>theta_angle</name>
          <field_number>26</field_number>
          <field_location unit="byte">362</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Polar angle look direction (in a theta,phi spherical geometry) of the spacecraft in the spacecraft-fixed coordinate 
            system. THETA_ANGLE = 0 degrees is when the spacecraft z-axis points in the same direction as the spacecraft-to-planet 
            center vector (nadir pointing).
          </description>
        </Field_Character>
        <Field_Character>
          <name>phi_angle</name>
          <field_number>27</field_number>
          <field_location unit="byte">371</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>
            Azimuthal angle look direction (in a theta,phi spherical geometry) of the spacecraft in the spacecraft-fixed 
            coordinate system. PHI_ANGLE = 0 degrees is when the spacecraft x-axis points along the direction of travel.
          </description>
        </Field_Character>
        <Field_Character>
          <name>beta_angle</name>
          <field_number>28</field_number>
          <field_location unit="byte">380</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <description>Angle of the normal of the spacecraft orbital plane with respect to Mercury-to-Sun vector in degrees.</description>
        </Field_Character>
        <Field_Character>
          <name>sun_distance</name>
          <field_number>29</field_number>
          <field_location unit="byte">389</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">13</field_length>
          <description>Distance of the spacecraft to the Sun in units of km.</description>
        </Field_Character>
        <Group_Field_Character>
          <group_number>3</group_number>
          <repetitions>16384</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">402</group_location>
          <group_length unit="byte">98304</group_length>
          <Field_Character>
            <name>shield_count_spectra</name>
            <field_number>1</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>ASCII_Integer</data_type>
            <field_length unit="byte">6</field_length>
            <description>
              High-time-resolution counter of the total event rate in the shield detector. Counter operates at a 10ms cadence 
              for the duration of the accumulation period, resulting in a series of measurements that populate the 16384 channel 
              spectrum. When fewer than 16384 channels are required, the remainder are set to zero. When more than 16384 channels 
              are required, the last channel represents the sum of all measurements made after the array is filled. For all cases, 
              the first approximately fifty channels are zero due to signal processing deadtime in the GRS electronics.
            </description>
          </Field_Character>
        </Group_Field_Character>
      </Record_Character>
    </Table_Character>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>grs_csc2014246zzz.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>
