<?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_derived:data_cdr:ns_cdr_spe2012144zzz_dat</logical_identifier>
    <version_id>1.0</version_id>
    <title>MESSENGER NS Spectra product: ns_cdr_spe2012144zzz_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-10-17</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_cdr_spectra</mess:standard_data_product_id>
        <mess:software_name>ns_cdr_gen</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_cdr_spe2012144zzz.dat</file_name>
      <creation_date_time>2015-10-31T07:00:49Z</creation_date_time>
    </File>
    <Table_Binary>
      <offset unit="byte">0</offset>
      <records>1995</records>
      <description>
        This table contains one set of calibrated spectra collected from the
        MESSENGER Neutron Spectrometer (NS) plus timing, spatial, and engineering 
        information taken during the spectral collection period. A set is 
        defined as all data with timestamps corresponding to a given day   
        of year.
      </description>
      <Record_Binary>
        <fields>19</fields>
        <groups>7</groups>
        <record_length unit="byte">2959</record_length>
        <Field_Binary>
          <name>mission_elapsed_time</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>
          <unit>second</unit>
          <description>Time tag in seconds of the start of the associated reporting/accumulation period.</description>
        </Field_Binary>
        <Field_Binary>
          <name>utc_time</name>
          <field_number>2</field_number>
          <field_location unit="byte">5</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">19</field_length>
          <description>UTC time at start of data collection. Format: YYYY-MM-DDTHH:MM:SS.</description>
        </Field_Binary>
        <Field_Binary>
          <name>utc_time_julday</name>
          <field_number>3</field_number>
          <field_location unit="byte">24</field_location>
          <data_type>IEEE754MSBDouble</data_type>
          <field_length unit="byte">8</field_length>
          <description>UTC time at start of data collection given in Julian day.</description>
        </Field_Binary>
        <Field_Binary>
          <name>orbit_number</name>
          <field_number>4</field_number>
          <field_location unit="byte">32</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</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 
            (see GEOMETRY/geominfo.txt). 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>5</field_number>
          <field_location unit="byte">36</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <unit>second</unit>
          <description>Actual accumulation period in seconds for software counters and energy histograms.</description>
        </Field_Binary>
        <Field_Binary>
          <name>sc_altitude</name>
          <field_number>6</field_number>
          <field_location unit="byte">40</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>km</unit>
          <description>Spacecraft altitude above the subsatellite point on the target in units of km.</description>
        </Field_Binary>
        <Field_Binary>
          <name>sc_latitude</name>
          <field_number>7</field_number>
          <field_location unit="byte">44</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degree</unit>
          <description>Target-centric latitude of the spacecraft subsatellite point in degrees.</description>
        </Field_Binary>
        <Field_Binary>
          <name>sc_longitude</name>
          <field_number>8</field_number>
          <field_location unit="byte">48</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degree</unit>
          <description>Target-centric longitude of the spacecraft subsatellite point in degrees.</description>
        </Field_Binary>
        <Field_Binary>
          <name>vel_norm</name>
          <field_number>9</field_number>
          <field_location unit="byte">52</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>km/s</unit>
          <description>Magnitude of the spacecraft velocity as expressed in the nadir-fixed coordinate system in units of km/second.</description>
        </Field_Binary>
        <Field_Binary>
          <name>v_dot_x</name>
          <field_number>10</field_number>
          <field_location unit="byte">56</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>unitless</unit>
          <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_Binary>
        <Field_Binary>
          <name>v_dot_y</name>
          <field_number>11</field_number>
          <field_location unit="byte">60</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>unitless</unit>
          <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_Binary>
        <Field_Binary>
          <name>v_dot_z</name>
          <field_number>12</field_number>
          <field_location unit="byte">64</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>unitless</unit>
          <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_Binary>
        <Field_Binary>
          <name>nadir_angle</name>
          <field_number>13</field_number>
          <field_location unit="byte">68</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degree</unit>
          <description>Spacecraft orientation angle of the spacecraft z-axis and the spacecraft-to-planet center vector in units of degrees.</description>
        </Field_Binary>
        <Field_Binary>
          <name>xaxis_angle</name>
          <field_number>14</field_number>
          <field_location unit="byte">72</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degree</unit>
          <description>Spacecraft orientation angle of the spacecraft x-axis and the spacecraft-to-planet center vector in units of degrees.</description>
        </Field_Binary>
        <Field_Binary>
          <name>yaxis_angle</name>
          <field_number>15</field_number>
          <field_location unit="byte">76</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degree</unit>
          <description>Spacecraft orientation angle of the spacecraft y-axis and the spacecraft-to-planet center vector in units of degrees.</description>
        </Field_Binary>
        <Field_Binary>
          <name>theta_angle</name>
          <field_number>16</field_number>
          <field_location unit="byte">80</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degree</unit>
          <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_Binary>
        <Field_Binary>
          <name>phi_angle</name>
          <field_number>17</field_number>
          <field_location unit="byte">84</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degree</unit>
          <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_Binary>
        <Field_Binary>
          <name>beta_angle</name>
          <field_number>18</field_number>
          <field_location unit="byte">88</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degree</unit>
          <description>Angle of the normal of the spacecraft orbital plane with respect to Mercury-to-Sun vector in degrees.</description>
        </Field_Binary>
        <Field_Binary>
          <name>sun_distance</name>
          <field_number>19</field_number>
          <field_location unit="byte">92</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>km</unit>
          <description>Distance of the spacecraft to the Sun in units of km.</description>
        </Field_Binary>
        <Group_Field_Binary>
          <group_number>1</group_number>
          <repetitions>3</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">96</group_location>
          <group_length unit="byte">12</group_length>
          <Field_Binary>
            <name>vel_vector</name>
            <field_number>20</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>km/s</unit>
            <description>
              Three element spacecraft velocity vector expressed 
              in the nadir-fixed coordinate system with each component in units of 
              km/second.
            </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>2</group_number>
          <repetitions>9</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">108</group_location>
          <group_length unit="byte">36</group_length>
          <Field_Binary>
            <name>sc_to_nadir_rot</name>
            <field_number>21</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>unitless</unit>
            <description>
              Nine element rotation matrix that converts the 
              spacecraft attitude from instrument-fixed coordinates to nadir-fixed 
              coordinates.
            </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">144</group_location>
          <group_length unit="byte">256</group_length>
          <Field_Binary>
            <name>lg1_spectra</name>
            <field_number>22</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts/second</unit>
            <description>LG1 singles spectra in counts per second.</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>4</group_number>
          <repetitions>64</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">400</group_location>
          <group_length unit="byte">256</group_length>
          <Field_Binary>
            <name>lg2_spectra</name>
            <field_number>23</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts/second</unit>
            <description>LG2 singles spectra in counts per second.</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>5</group_number>
          <repetitions>64</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">656</group_location>
          <group_length unit="byte">256</group_length>
          <Field_Binary>
            <name>bp_spectra</name>
            <field_number>24</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts/second</unit>
            <description>Borated plastic singles spectra in counts per second.</description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>6</group_number>
          <repetitions>256</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">912</group_location>
          <group_length unit="byte">1024</group_length>
          <Field_Binary>
            <name>tc_early_spectra</name>
            <field_number>25</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts/second</unit>
            <description>
              Borated plastic Time Correlated (TC) first 
              interaction spectra from the early time window in counts per 
              second.
            </description>
          </Field_Binary>
        </Group_Field_Binary>
        <Group_Field_Binary>
          <group_number>7</group_number>
          <repetitions>256</repetitions>
          <fields>1</fields>
          <groups>0</groups>
          <group_location unit="byte">1936</group_location>
          <group_length unit="byte">1024</group_length>
          <Field_Binary>
            <name>tc_late_spectra</name>
            <field_number>26</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts/second</unit>
            <description>
              Borated plastic Time Correlated (TC) first 
              interaction spectra from the late time window in counts per 
              second.
            </description>
          </Field_Binary>
        </Group_Field_Binary>
      </Record_Binary>
    </Table_Binary>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>ns_cdr_spe2012144zzz.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>
