<?xml version="1.0" encoding="utf-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1700.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/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_1700.xsd">

  <Identification_Area>
    <logical_identifier>urn:nasa:pds:a12side_ccig_raw_arcsav:data:a12_side_1975_l1_arcsav_hk_tab</logical_identifier>
    <version_id>1.0</version_id>
    <title>Apollo 12 SIDE/CCIG Raw Cleaned ASCII Digital Analog Housekeeping Data from 1975-093 to
    1975-182</title>
    <information_model_version>1.7.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time>1975-04-03T00:00:17.362Z</start_date_time>
      <stop_date_time>1975-07-01T23:58:21.781Z</stop_date_time>
    </Time_Coordinates>
    <Investigation_Area>
      <name>Apollo 12</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.apollo_12</lid_reference>
        <reference_type>data_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>Apollo 12 ALSEP</name>
        <type>Spacecraft</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.a12a</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Apollo 12 Suprathermal Ion Detector Experiment</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:side.a12a</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Apollo 12 Cold Cathode Ion Gage Experiment</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:ccig.a12a</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>MOON</name>
      <type>Satellite</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:satellite.earth.moon</lid_reference>
        <reference_type>data_to_target</reference_type>
      </Internal_Reference>
    </Target_Identification>
  </Observation_Area>
  <File_Area_Observational>
    <File>
      <file_name>a12_side_1975_l1_arcsav_hk.tab</file_name>
      <file_size unit="byte">6237484</file_size>
      <records>141761</records>
    </File>
    <Header>
      <name>Header</name>
      <offset unit="byte">0</offset>
      <object_length unit="byte">44</object_length>
      <parsing_standard_id>7-Bit ASCII Text</parsing_standard_id>
    </Header>
    <Table_Character>
      <name>TimeOffsets</name>
      <offset unit="byte">44</offset>
      <records>1</records>
      <description>This table provides derived sampling-rate-adjusted delay time as an offset in
      milliseconds for computing the time for each data measurement in each RawHK Table record. The
      recorded time stamp provided in the first column of each RawHK record is the reference
      earth-received time for the sequence of data measurements within that record. To compute the
      start time for a specific data measurement, add the milliseconds time offset, found in this
      single-record table TimeOffsets for the data measurement column of interest, to the recorded
      time stamp in the first column of the RawHK record containing the data measurement of
      interest.</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <Record_Character>
        <fields>2</fields>
        <groups>0</groups>
        <record_length unit="byte">44</record_length>
        <Field_Character>
          <name>AI-1_TimeOffset</name>
          <field_number>1</field_number>
          <field_location unit="byte">30</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">4</field_length>
          <field_format>%4d</field_format>
          <unit>ms</unit>
          <description>Timing offset for Measurement Number AI-1. Add this value to the time stamp
          in the first column of a RawHK Table record to derive the time for the corresponding 
          AI-1 data value in that record.</description>
        </Field_Character>
        <Field_Character>
          <name>AI-2_TimeOffset</name>
          <field_number>1</field_number>
          <field_location unit="byte">37</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">4</field_length>
          <field_format>%4d</field_format>
          <unit>ms</unit>
          <description>Timing offset for Measurement Number AI-2. Add this value to the time stamp
          in the first column of a RawHK Table record to derive the time for the corresponding 
          AI-2 data value in that record.</description>
        </Field_Character>
      </Record_Character>
    </Table_Character>
    <Table_Character>
      <name>RawHK</name>
      <offset unit="byte">88</offset>
      <records>141759</records> 
      <description>This table contains raw digital analog Housekeeping data specific to SIDE
      operation. Housekeeping is contained in ALSEP Word 33. Each record begins with the reference
      earth-received time for the set of data in that record followed by two raw digital analog
      measurements identified by their SIDE Measurement Number, AI-N: AI-1 contains the low-energy
      detector (Mass Analyzer) count rate and AI-2 contains the high-energy detector (Total Ion
      Detector) count rate. The earth-received time column and each data measurement column are
      followed by a quality flag. Records are ordered by the earth-received time.</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <Record_Character>
        <fields>7</fields>
        <groups>0</groups>
        <record_length unit="byte">44</record_length>
        <Field_Character>
          <name>EarthReceivedTime</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>ASCII_Date_Time_DOY</data_type>
          <field_length unit="byte">21</field_length>
          <field_format>%-21s</field_format>
          <description>Day of year and time (Universal Time, formatted as yyyy-dddThh:mm:ss.sss)
          when the first word of the ALSEP frame containing the sequence of housekeeping
          measurements within this record was received at a ground tracking and receiving station on
          earth. Each housekeeping measurement has time offset (delta t) from this earth-received
          time. These timing offsets are contained in the single-record, TimeOffsets
          Table.</description>
        </Field_Character>
        <Field_Character>
          <name>EarthReceivedTime_Flag</name>
          <field_number>2</field_number>
          <field_location unit="byte">23</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">1</field_length>
          <description>This field is set one of two values: An asterisk (*) indicates this
          EarthReceivedTime value is from ground software clock; has a suspected transmission, data
          synchronization or tape read error in the value; or is clearly outside the expected range
          for this restoration effort. A negative sign (-) indicates this value is the
          earth-received time, and the value does not have a suspected read or transmission error or
          that it is unknown if there was an error.</description>
        </Field_Character>
        <Field_Character>
          <name>stat</name>
          <field_number>3</field_number>
          <field_location unit="byte">25</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">4</field_length>
          <field_format>%4s</field_format> 
          <description>This field contains four 1-byte flags as copied from the ARCSAV tapes. The
          four flags from left to right are: 1) unedited time sync status; 2) unedited data sync
          status; 3) edited time sync status; 4) edited data sync status. Values range from 0 to 7.
          </description>
        </Field_Character>
        <Field_Character>
          <name>AI-1</name>
          <field_number>4</field_number>
          <field_location unit="byte">31</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">3</field_length>
          <field_format>%3d</field_format>
          <unit>DN</unit>
          <description>Measurement Number AI-1. Low-energy  (Mass Analyzer) count rate measurement
          read from ALSEP Word 33 of ALSEP frame number 70.</description>
          <Special_Constants>
            <missing_constant>-9</missing_constant>
          </Special_Constants>
        </Field_Character>
        <Field_Character>
          <name>AI-1_Flag</name>
          <field_number>5</field_number>
          <field_location unit="byte">35</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">1</field_length>
          <field_format>%1s</field_format>
          <description>This field is set one of two values: An asterisk (*) indicates this data
          measurement has a suspected read or transmission error; A negative sign (-) indicates
          this data measurement does not have a suspected read or transmission error or that it
          is unknown if there was an error.</description>
        </Field_Character>
        <Field_Character>
          <name>AI-2</name>
          <field_number>6</field_number>
          <field_location unit="byte">38</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">3</field_length>
          <field_format>%3d</field_format>
          <unit>DN</unit>
          <description>Measurement Number AI-2. High-energy detector (Total Ion Detector) count rate
          measurement read from ALSEP Word 33 of ALSEP frame number 85.</description>
          <Special_Constants>
            <missing_constant>-9</missing_constant>
          </Special_Constants>
        </Field_Character>
        <Field_Character>
          <name>AI-2_Flag</name>
          <field_number>7</field_number>
          <field_location unit="byte">42</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">1</field_length>
          <field_format>%1s</field_format>
          <description>This field is set one of two values: An asterisk (*) indicates this data
          measurement has a suspected read or transmission error; A negative sign (-) indicates
          this data measurement does not have a suspected read or transmission error or that it
          is unknown if there was an error.</description>
        </Field_Character>
      </Record_Character>
    </Table_Character>
  </File_Area_Observational>
</Product_Observational>
