<?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_meca:data_afm:fs088sdr_002_5a011a550000a0</logical_identifier>
    <version_id>1.0</version_id>
    <title>Phoenix MECA AFM Data: fs088sdr_002_5a011a550000a0</title>
    <information_model_version>1.24.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2025-11-25</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-24T05:38:40.880Z</start_date_time>
      <stop_date_time>2008-08-24T07:57:58.863Z</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 MECA AFM</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 Microscopy, Electrochemistry, and Conductivity Analyzer Atomic Force Microscope</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:meca_afm.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>PRIMARY MISSION</phoenix:mission_phase_name>
          <phoenix:product_type>MECA_AFM_SDR</phoenix:product_type>
          <phoenix:product_version_id>V1.0</phoenix:product_version_id>
          <phoenix:spacecraft_clock_start>904023603.000</phoenix:spacecraft_clock_start>
          <phoenix:spacecraft_clock_stop>904031961.000</phoenix:spacecraft_clock_stop>
          <phoenix:local_true_solar_time>12:49:37</phoenix:local_true_solar_time>
          <phoenix:sol_number>88</phoenix:sol_number>
          <phoenix:ops_token>16#1A550000#</phoenix:ops_token>
          <phoenix:ops_token_activity>16#00001A55#</phoenix:ops_token_activity>
          <phoenix:ops_token_payload>16#00000000#</phoenix:ops_token_payload>
          <phoenix:ops_token_command>16#00000000#</phoenix:ops_token_command>
          <phoenix:instument_mode_id>SCAN</phoenix:instument_mode_id>
        </phoenix:Observation_Information>
      </phoenix:Phoenix_Parameters>
    </Mission_Area>
  </Observation_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:phx_meca:document:meca_rdr_sis</lid_reference>
      <reference_type>data_to_document</reference_type>
    </Internal_Reference>
  </Reference_List>
  <File_Area_Observational>
    <File>
      <file_name>fs088sdr_002_5a011a550000a0.tab</file_name>
      <creation_date_time>2009-07-28T16:07:18.102</creation_date_time>
    </File>
    <Table_Character>
      <name>AFM_HEADER_TABLE</name>
      <offset unit="byte">0</offset>
      <records>4</records>
      <description>his table contains the AFM scan 
                parameter information. The table contains
                197 bytes of table data followed by 22844
                bytes of spare data, of which the last 2
                bytes contain the CR/LF pair.</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <Record_Character>
        <fields>22</fields>
        <groups>0</groups>
        <record_length unit="byte">23041</record_length>
        <Field_Character>
          <name>cmdTimewhole</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">9</field_length>
          <unit>seconds</unit>
          <description>This is the time that the command was issued from
                        the spacecraft computer to the MECA subsystem across the serial 
                        interface. Units are seconds of Spacecraft Clock (SCLK).</description>
        </Field_Character>
        <Field_Character>
          <name>cmdTimeremainder</name>
          <field_number>2</field_number>
          <field_location unit="byte">11</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">10</field_length>
          <unit>seconds/2**32</unit>
          <description>The remainder, where 2^32 is a full second.</description>
        </Field_Character>
        <Field_Character>
          <name>readTimewhole</name>
          <field_number>3</field_number>
          <field_location unit="byte">22</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">9</field_length>
          <unit>seconds</unit>
          <description>This is the time that the data was returned to the
                        spacecraft computer across the serial interface from the MECA 
                        subsystem (not used for some telemetry types). Units are seconds
                        of Spacecraft Clock (SCLK).</description>
        </Field_Character>
        <Field_Character>
          <name>readTimeremainder</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>
          <unit>seconds/2**32</unit>
          <description>The remainder, where 2^32 is a full second.</description>
        </Field_Character>
        <Field_Character>
          <name>dataLength</name>
          <field_number>5</field_number>
          <field_location unit="byte">43</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">6</field_length>
          <unit>bytes</unit>
          <description>The length of the following record (and all records in 
                        this product), not including this header.</description>
        </Field_Character>
        <Field_Character>
          <name>cols</name>
          <field_number>6</field_number>
          <field_location unit="byte">50</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">3</field_length>
          <unit>points</unit>
          <description>The width (number of points per line) of the AFM image.</description>
        </Field_Character>
        <Field_Character>
          <name>lines</name>
          <field_number>7</field_number>
          <field_location unit="byte">54</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">3</field_length>
          <unit>lines</unit>
          <description>The height (number of lines) of the AFM image.</description>
        </Field_Character>
        <Field_Character>
          <name>direction</name>
          <field_number>8</field_number>
          <field_location unit="byte">58</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">1</field_length>
          <unit>seconds</unit>
          <description>The scan direction, 1 = forward, 2 = backward.</description>
        </Field_Character>
        <Field_Character>
          <name>channel</name>
          <field_number>9</field_number>
          <field_location unit="byte">60</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">1</field_length>
          <description>The RDR data channel, 1= error, 2= z-height.</description>
        </Field_Character>
        <Field_Character>
          <name>channelGain</name>
          <field_number>10</field_number>
          <field_location unit="byte">62</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">1</field_length>
          <description>Ranges from 0 to 8, with 0=full (13.8 microns for
                        height data and 20 Volts for error data), and reducing by factors
                        of 2 each time, e.g. gain of 2 = 3.45 microns (height) or 5 Volts
                        (error).</description>
        </Field_Character>
        <Field_Character>
          <name>refOMimage</name>
          <field_number>11</field_number>
          <field_location unit="byte">64</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">33</field_length>
          <description>File name of the Optical Microscope image taken
                        before the scan for sample context."</description>
        </Field_Character>
        <Field_Character>
          <name>refOMimage2</name>
          <field_number>12</field_number>
          <field_location unit="byte">98</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">33</field_length>
          <description>Filename of the OM image taken after the scan.</description>
        </Field_Character>
        <Field_Character>
          <name>opsToken</name>
          <field_number>13</field_number>
          <field_location unit="byte">132</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">8</field_length>
          <description>Ops Token for this scan.</description>
        </Field_Character>
        <Field_Character>
          <name>SwtsTemperature</name>
          <field_number>14</field_number>
          <field_location unit="byte">141</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">5</field_length>
          <unit>K</unit>
          <description>Temperature of the SWTS just prior to the scan.</description>
        </Field_Character>
        <Field_Character>
          <name>x_scanrange</name>
          <field_number>15</field_number>
          <field_location unit="byte">147</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">6</field_length>
          <description>Scan range in the X-direction of the AFM scan plane.</description>
        </Field_Character>
        <Field_Character>
          <name>y_scanrange</name>
          <field_number>16</field_number>
          <field_location unit="byte">154</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">6</field_length>
          <description>Scan range in the Y-direction of the AFM scan plane.</description>
        </Field_Character>
        <Field_Character>
          <name>scaling_factor</name>
          <field_number>17</field_number>
          <field_location unit="byte">161</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">10</field_length>
          <description>The scaling factor used to calibrate the data 
                        (converts DNs to micrometers for height data and volts for error
                        data).</description>
        </Field_Character>
        <Field_Character>
          <name>AFM_OM_ref_X</name>
          <field_number>18</field_number>
          <field_location unit="byte">172</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">3</field_length>
          <description>The approximate location of the center of the AFM 
                        scan field relative to the OM image. X-coordinate in pixels.</description>
        </Field_Character>
        <Field_Character>
          <name>AFM_OM_ref_Y</name>
          <field_number>19</field_number>
          <field_location unit="byte">176</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">3</field_length>
          <description>The approximate location of the center of the AFM
                        scan field relative to the OM image. Y-coordinate in pixels.</description>
        </Field_Character>
        <Field_Character>
          <name>X_slope</name>
          <field_number>20</field_number>
          <field_location unit="byte">180</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">6</field_length>
          <description>Slope correction in the x-direction of the AFM 
                        scan plane.</description>
        </Field_Character>
        <Field_Character>
          <name>Y_slope</name>
          <field_number>21</field_number>
          <field_location unit="byte">187</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">6</field_length>
          <description>Slope correction in the y-direction of the AFM 
                        scan plane.</description>
        </Field_Character>
        <Field_Character>
          <name>ScanSpeed</name>
          <field_number>22</field_number>
          <field_location unit="byte">194</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">4</field_length>
          <unit>micrometers/second</unit>
          <description>Scan speed of the AFM in micrometers/second.</description>
        </Field_Character>
      </Record_Character>
    </Table_Character>
    <Table_Delimited>
      <name>AFM_F_ERROR_TABLE</name>
      <offset unit="byte">92164</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <description>This table contains the AFM scan 
                forward error information in Volts.</description>
      <records>512</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>0</fields>
        <groups>1</groups>
        <Group_Field_Delimited>
          <name>FORWARD ERROR</name>
          <repetitions>512</repetitions>
          <fields>3</fields>
          <groups>0</groups>
          <description>This table contains the AFM scan
                        forward error information in Volts.
                        Each row represents a scan line along
                        the fast scan axis.</description>
          <Field_Delimited>
            <name>FORWARD ERROR X COORDINATE</name>
            <field_number>1</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
          <Field_Delimited>
            <name>FORWARD ERROR Y COORDINATE</name>
            <field_number>2</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
          <Field_Delimited>
            <name>FORWARD ERROR VALUE</name>
            <field_number>3</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
        </Group_Field_Delimited>
      </Record_Delimited>
    </Table_Delimited>
    <Table_Delimited>
      <name>AFM_F_HEIGHT_TABLE</name>
      <offset unit="byte">11889156</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <description>This table contains the AFM scan 
                forward Z-height information in microns
                Each row represents a scan line along
                the fast scan axis.
                The table contains 23041 bytes of table
                data of which the last 2 bytes contain
                the CR/LF pair.</description>
      <records>512</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>0</fields>
        <groups>1</groups>
        <Group_Field_Delimited>
          <name>FORWARD HEIGHT</name>
          <repetitions>512</repetitions>
          <fields>3</fields>
          <groups>0</groups>
          <description>The container holds the X-Y-Z 
                        information for each AFM forward
                        scan data point.</description>
          <Field_Delimited>
            <name>FORWARD HEIGHT X COORDINATE</name>
            <field_number>1</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
          <Field_Delimited>
            <name>FORWARD HEIGHT Y COORDINATE</name>
            <field_number>2</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
          <Field_Delimited>
            <name>FORWARD HEIGHT VALUE</name>
            <field_number>3</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
        </Group_Field_Delimited>
      </Record_Delimited>
    </Table_Delimited>
    <Table_Delimited>
      <name>AFM_B_ERROR_TABLE</name>
      <offset unit="byte">23686148</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <description>This table contains the AFM scan
                backward error information in Volts.
                Each row represents a scan line along
                the fast scan axis.</description>
      <records>512</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>0</fields>
        <groups>1</groups>
        <Group_Field_Delimited>
          <name>BACKWARD ERROR DERIVATIVE</name>
          <repetitions>512</repetitions>
          <fields>3</fields>
          <groups>0</groups>
          <description>The container holds the X-Y-Z 
                        information for each AFM scan
                        error data point.</description>
          <Field_Delimited>
            <name>BACKWARD ERROR X COORDINATE</name>
            <field_number>1</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
          <Field_Delimited>
            <name>BACKWARD ERROR Y COORDINATE</name>
            <field_number>2</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
          <Field_Delimited>
            <name>BACKWARD ERROR VALUE</name>
            <field_number>3</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
        </Group_Field_Delimited>
      </Record_Delimited>
    </Table_Delimited>
    <Table_Delimited>
      <name>AFM_B_HEIGHT_TABLE</name>
      <offset unit="byte">35483140</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <description>This table contains the AFM scan
                backward Z-height information in 
                microns. Each row represents a scan
                line along the fast scan axis. The 
                table contains 23041 bytes of table 
                data of which the last 2 bytes contain
                the CR/LF pair.</description>
      <records>512</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>0</fields>
        <groups>1</groups>
        <Group_Field_Delimited>
          <name>BACKWARD HEIGHT</name>
          <repetitions>512</repetitions>
          <fields>3</fields>
          <groups>0</groups>
          <description>The container holds the X-Y-Z 
                        information for each AFM backward
                        scan data point.</description>
          <Field_Delimited>
            <name>BACKWARD HEIGHT X COORDINATE</name>
            <field_number>1</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
          <Field_Delimited>
            <name>BACKWARD HEIGHT Y COORDINATE</name>
            <field_number>2</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
          <Field_Delimited>
            <name>BACKWARD HEIGHT VALUE</name>
            <field_number>3</field_number>
            <data_type>ASCII_Real</data_type>
            <Special_Constants>
              <missing_constant>0.00</missing_constant>
            </Special_Constants>
          </Field_Delimited>
        </Group_Field_Delimited>
      </Record_Delimited>
    </Table_Delimited>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>fs088sdr_002_5a011a550000a0.lbl</file_name>
    </File>
    <Stream_Text>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS3</parsing_standard_id>
      <description>PDS3 label</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
    </Stream_Text>
  </File_Area_Observational_Supplemental>
</Product_Observational>
