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

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

<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1" 
    xmlns:phoenix="http://pds.nasa.gov/pds4/mission/phoenix/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_1O00.xsd     http://pds.nasa.gov/pds4/mission/phoenix/v1 https://pds.nasa.gov/pds4/mission/phoenix/v1/PDS4_PHOENIX_1O00_1000.xsd">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:phx_tega:data_egsrdr:ts092rdr_egs_2008_08_28__u1.dat.1abc0001</logical_identifier>
    <version_id>1.0</version_id>
    <title>Phoenix TEGA EGA Sweep Mode RDR Data: ts092rdr_egs_2008_08_28__u1.dat.1abc0001</title>
    <information_model_version>1.24.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2026-04-14</modification_date>
        <version_id>1.0</version_id>
        <description>Initial version.</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time>2008-08-28T06:21:17.581Z</start_date_time>
      <stop_date_time>2008-08-28T06:21:17.683Z</stop_date_time>
    </Time_Coordinates>
    <Investigation_Area>
      <name>Mars Phoenix</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.phoenix</lid_reference>
        <reference_type>data_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <name>Phoenix TEGA</name>
      <Observing_System_Component>
        <name>The Phoenix Lander</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.phx</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Phoenix Lander Thermal and Evolved Gas Analyzer</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:tega.phx</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>Mars</name>
      <type>Planet</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:planet.mars</lid_reference>
        <reference_type>data_to_target</reference_type>
      </Internal_Reference>
    </Target_Identification>
    <Mission_Area>
      <phoenix:Phoenix_Parameters>
        <phoenix:Observation_Information>
          <phoenix:mission_phase_name>EXTENDED MISSION</phoenix:mission_phase_name>
          <phoenix:product_type>TEGA_EGS</phoenix:product_type>
          <phoenix:product_version_id>1.0</phoenix:product_version_id>
          <phoenix:spacecraft_clock_start>904362513.684</phoenix:spacecraft_clock_start>
          <phoenix:spacecraft_clock_stop>904372040.016</phoenix:spacecraft_clock_stop>
          <phoenix:ops_token>16#1ABC0001#</phoenix:ops_token>
        </phoenix:Observation_Information>
      </phoenix:Phoenix_Parameters>
    </Mission_Area>
  </Observation_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:phx_tega:document:tega_rdr_sis</lid_reference>
      <reference_type>data_to_document</reference_type>
    </Internal_Reference>
  </Reference_List>
  <File_Area_Observational>
    <File>
      <file_name>ts092rdr_egs_2008_08_28__u1.dat</file_name>
      <creation_date_time>2008-12-15T01:02:10.000</creation_date_time>
    </File>
    <Table_Binary>
      <name>TIME_SERIES</name>
      <offset unit="byte">0</offset>
      <records>55</records>
      <description>Mass scan data from the EGA</description>
      <Record_Binary>
        <fields>13</fields>
        <groups>1</groups>
        <record_length unit="byte">7297</record_length>
        <Field_Binary>
          <name>START_UTC_TIME</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>ASCII_Date_Time_YMD</data_type>
          <field_length unit="byte">23</field_length>
          <description>The starting UTC time in format yyyy-mm-ddThh:mm:ss.sss.</description>
        </Field_Binary>
        <Field_Binary>
          <name>START_TEGA_TIME</name>
          <field_number>2</field_number>
          <field_location unit="byte">24</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <unit>milliseconds</unit>
          <description>The starting TEGA time of the records in milliseconds
            since last TEGA power on.</description>
        </Field_Binary>
        <Field_Binary>
          <name>LOCAL_SOLAR_TIME</name>
          <field_number>3</field_number>
          <field_location unit="byte">28</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">8</field_length>
          <description>The local solar time at the start of the readings
              in hour:min:sec, 00:00:00.</description>
        </Field_Binary>
        <Field_Binary>
          <name>SWEEP_TYPE</name>
          <field_number>4</field_number>
          <field_location unit="byte">36</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <unit>seconds</unit>
          <description>The type of mass spectrometer sweep performed, 
            1=normal sweep, 4=calibration_sweep.</description>
        </Field_Binary>
        <Field_Binary>
          <name>SWEEP_MODE_NUMBER</name>
          <field_number>5</field_number>
          <field_location unit="byte">37</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>The sweep mode number, 0-63.</description>
        </Field_Binary>
        <Field_Binary>
          <name>EMISSION_CURRENT</name>
          <field_number>6</field_number>
          <field_location unit="byte">38</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>0 = low, 1 = high.</description>
        </Field_Binary>
        <Field_Binary>
          <name>EMISSION_ENERGY</name>
          <field_number>7</field_number>
          <field_location unit="byte">39</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>Emission energy.</description>
        </Field_Binary>
        <Field_Binary>
          <name>SAMPLE_VALVE_CLOSE_TIME</name>
          <field_number>8</field_number>
          <field_location unit="byte">40</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">23</field_length>
          <description>UTC time of last TA inlet valve closing,
            -1 if valve is open. 
            Valve lets sample gas from TA assembly into EGA.</description>
        </Field_Binary>
        <Field_Binary>
          <name>ATMOSPHERE_VALVE_CLOSE_TIME</name>
          <field_number>9</field_number>
          <field_location unit="byte">63</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">23</field_length>
          <description>Date/time of last Atmosphere inlet valve closing, 
            -1 if valve is open.
            Valve lets atmospheric gases into EGA.</description>
        </Field_Binary>
        <Field_Binary>
          <name>MULTIPLIER_VOLTAGE</name>
          <field_number>10</field_number>
          <field_location unit="byte">86</field_location>
          <data_type>UnsignedMSB4</data_type>
          <field_length unit="byte">4</field_length>
          <unit>volts</unit>
          <description>The electron multiplier voltage in volts.</description>
        </Field_Binary>
        <Field_Binary>
          <name>DWELL_TIME</name>
          <field_number>11</field_number>
          <field_location unit="byte">90</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <unit>milliseconds</unit>
          <description>Dwell time in milliseconds at each mass.</description>
        </Field_Binary>
        <Field_Binary>
          <name>MAGNET_TEMPERATURE</name>
          <field_number>12</field_number>
          <field_location unit="byte">92</field_location>
          <data_type>IEEE754MSBSingle</data_type>
          <field_length unit="byte">4</field_length>
          <unit>degrees C</unit>
          <description>Average Magnet temperature in degrees C for entire
            sweep.</description>
        </Field_Binary>
        <Field_Binary>
          <name>REC_COUNTS</name>
          <field_number>13</field_number>
          <field_location unit="byte">96</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>Number of EGSRDR records.</description>
        </Field_Binary>
        <Group_Field_Binary>
          <name>EGSRDR_RECORDS</name>
          <repetitions>200</repetitions>
          <fields>9</fields>
          <groups>0</groups>
          <description>TEGA EGS Records.</description>
          <group_location unit="byte">98</group_location>
          <group_length unit="byte">7200</group_length>
          <Field_Binary>
            <name>SWEEP_VOLTAGE</name>
            <field_number>1</field_number>
            <field_location unit="byte">1</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>volts</unit>
            <description>Voltage setting of mass spectrometer sweep</description>
          </Field_Binary>
          <Field_Binary>
            <name>CHANNEL_1_MASS</name>
            <field_number>2</field_number>
            <field_location unit="byte">5</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>Daltons</unit>
            <description>Elemental mass of channel 1 in Daltons</description>
          </Field_Binary>
          <Field_Binary>
            <name>CHANNEL_1_COUNTS</name>
            <field_number>3</field_number>
            <field_location unit="byte">9</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts per second</unit>
            <description>Number of counts per second at channel 1 mass</description>
          </Field_Binary>
          <Field_Binary>
            <name>CHANNEL_2_MASS</name>
            <field_number>4</field_number>
            <field_location unit="byte">13</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>Daltons</unit>
            <description>Elemental mass of channel 2 in Daltons</description>
          </Field_Binary>
          <Field_Binary>
            <name>CHANNEL_2_COUNTS</name>
            <field_number>5</field_number>
            <field_location unit="byte">17</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts per second</unit>
            <description>Number of counts per second at channel 2 mass</description>
          </Field_Binary>
          <Field_Binary>
            <name>CHANNEL_3_MASS</name>
            <field_number>6</field_number>
            <field_location unit="byte">21</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>Daltons</unit>
            <description>Elemental mass of channel 3 in Daltons</description>
          </Field_Binary>
          <Field_Binary>
            <name>CHANNEL_3_COUNTS</name>
            <field_number>7</field_number>
            <field_location unit="byte">25</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts per second</unit>
            <description>Number of counts per second at channel 3 mass</description>
          </Field_Binary>
          <Field_Binary>
            <name>CHANNEL_4_MASS</name>
            <field_number>8</field_number>
            <field_location unit="byte">29</field_location>
            <data_type>IEEE754MSBSingle</data_type>
            <field_length unit="byte">4</field_length>
            <unit>Daltons</unit>
            <description>Elemental mass of channel 4 in Daltons</description>
          </Field_Binary>
          <Field_Binary>
            <name>CHANNEL_4_COUNTS</name>
            <field_number>9</field_number>
            <field_location unit="byte">33</field_location>
            <data_type>UnsignedMSB4</data_type>
            <field_length unit="byte">4</field_length>
            <unit>counts per second</unit>
            <description>Number of counts per second at channel 4 mass</description>
          </Field_Binary>
        </Group_Field_Binary>
      </Record_Binary>
    </Table_Binary>
  </File_Area_Observational>
</Product_Observational>
