<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1L00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/kplo/v1/PDS4_KPLO_1L00_1000.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/disp/v1/PDS4_DISP_1L00_1510.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/img/v1/PDS4_IMG_1L00_1890.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/geom/v1/PDS4_GEOM_1L00_1970.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Observational
  xmlns="http://pds.nasa.gov/pds4/pds/v1"
  xmlns:pds="http://pds.nasa.gov/pds4/pds/v1"
  xmlns:disp="http://pds.nasa.gov/pds4/disp/v1"
  xmlns:kplo="http://www.kari.re.kr/kpds/mission/kplo/v1"
  xmlns:img="http://pds.nasa.gov/pds4/img/v1"
  xmlns:geom="http://pds.nasa.gov/pds4/geom/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_1L00.xsd
  http://www.kari.re.kr/kpds/mission/kplo/v1 https://pds.nasa.gov/pds4/mission/kplo/v1/PDS4_KPLO_1L00_1000.xsd
  http://pds.nasa.gov/pds4/disp/v1 https://pds.nasa.gov/pds4/disp/v1/PDS4_DISP_1L00_1510.xsd
  http://pds.nasa.gov/pds4/img/v1 https://pds.nasa.gov/pds4/img/v1/PDS4_IMG_1L00_1890.xsd
  http://pds.nasa.gov/pds4/geom/v1 https://pds.nasa.gov/pds4/geom/v1/PDS4_GEOM_1L00_1970.xsd">

  <Identification_Area>
    <logical_identifier>urn:nasa:pds:kplo-shadowcam:data-raw:e007947119se</logical_identifier>
    <version_id>6.0</version_id>
    <title>KPLO ShadowCam Raw Product</title>
    <information_model_version>1.21.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Alias_List>
      <Alias>
        <alternate_id>E007947119SE.cub</alternate_id>
        <comment>ISIS-compatible image file.</comment>
      </Alias>
    </Alias_List>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2026-01-08T15:02:14.764185Z</modification_date>
        <version_id>6.0</version_id>
        <description>
          Small updates to labels including producer for things post-IM transition and target name in EDRs and CDRs for non-Moon to allow skymap to work.
        </description>
      </Modification_Detail>
      <Modification_Detail>
        <modification_date>2024-08-09T14:17:50.683115Z</modification_date>
        <version_id>4.0</version_id>
        <description>
          Correct the units label on distance values.
        </description>
      </Modification_Detail>
      <Modification_Detail>
        <modification_date>2024-03-23T22:07:18.061525Z</modification_date>
        <version_id>3.0</version_id>
        <description>
          Label updates and collection reorganization to resolve PDS review liens.
        </description>
      </Modification_Detail>
      <Modification_Detail>
        <modification_date>2024-02-15T19:08:07.835394Z</modification_date>
        <version_id>1.0</version_id>
        <description>
          Initial Release
        </description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time>2022-11-04T22:39:59.931890Z</start_date_time>
      <stop_date_time>2022-11-04T22:40:13.517502Z</stop_date_time>
    </Time_Coordinates>
    <Primary_Result_Summary>
      <purpose>Science</purpose>
      <processing_level>Raw</processing_level>
      <description>ShadowCam is a Time Delay Integration(TDI) pushbroom imager (1.7 m/pixel) on the Korea Pathfinder Lunar Orbiter (KPLO).
        The primary mission is to map albedo patterns in PSRs and interpret their nature, investigate the origin of anomalous radar
        signatures associated with some polar craters, document and interpret temporal changes of PSR albedo units, and provide hazard and
        trafficability information within PSRs for future landed elements.
      </description>
    </Primary_Result_Summary>
    <Investigation_Area>
      <name>KOREA PATHFINDER LUNAR ORBITER</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:kari:kpds:context:investigation:mission.kplo</lid_reference>
        <reference_type>data_to_investigation</reference_type>
        <comment>This is the PDS4 logical identifier for KPLO</comment>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>Korea Pathfinder Lunar Orbiter (Danuri)</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:kari:kpds:context:instrument_host:spacecraft.kplo</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>SHADOWCAM</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:kari:kpds:context:instrument:kplo.shc</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>Earth</name>
      <type>Planet</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:planet.earth</lid_reference>
        <reference_type>data_to_target</reference_type>
      </Internal_Reference>
    </Target_Identification>
    <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>
    <Mission_Area>
      <kplo:KPLO_Parameters>
        <!-- parameters for all KPLO products -->
        <kplo:product_version_id>v1.1</kplo:product_version_id>
        <kplo:mission_phase_name>cruise</kplo:mission_phase_name>
        <kplo:producer_institution_name>ARIZONA STATE UNIVERSITY</kplo:producer_institution_name>

        <kplo:SHADOWCAM_Parameters>
          <!-- Parameters specific to SHADOWCAM -->
          <kplo:rationale_desc>Experiment: Stray Light Earth Moon Scan, 1.0125 degrees</kplo:rationale_desc>
          <kplo:data_quality_id>0</kplo:data_quality_id>
          <kplo:data_quality_desc>
            The DATA_QUALITY_ID is set to an 8-bit value that encodes the following data quality information
            for the observation. For each bit a value of 0 means FALSE and a value of 1 means TRUE. More
            information about the data quality ID can be found in the SHADOWCAM Archive SIS, section 3.3 'Label
            and Header Descriptions'.
            Bit 1: Temperature of focal plane array is out of bounds.
            Bit 2: Unused
            Bit 3: Threshold for under-saturated pixels is reached.
            Bit 4: Observation is missing telemetry packets.
            Bit 5: SPICE information is bad or missing.
            Bit 6: Observation or housekeeping information is bad or missing.
            Bit 7: Corruption detected.
            Bit 8: Spare.
          </kplo:data_quality_desc>
          <kplo:dqi_corruption_detected>false</kplo:dqi_corruption_detected>
          <kplo:dqi_fpa_out_of_bounds>false</kplo:dqi_fpa_out_of_bounds>
          <kplo:dqi_under_saturated>false</kplo:dqi_under_saturated>
          <kplo:dqi_missing_data>false</kplo:dqi_missing_data>
          <kplo:dqi_missing_spice>false</kplo:dqi_missing_spice>
          <kplo:dqi_uncalibratable>false</kplo:dqi_uncalibratable>

          <!-- SHADOWCAM specific attributes -->
          <kplo:execution_spacecraft_time>1191:4454384</kplo:execution_spacecraft_time>
          <kplo:execution_time>2022-11-04T22:39:58.000000Z</kplo:execution_time>
          <kplo:start_time_offset unit="s">1.93189</kplo:start_time_offset>
          <kplo:preroll_time>2022-11-04T22:39:58.799755Z</kplo:preroll_time>
          <!-- SHADOWCAM environment attributes -->
          <kplo:temperature_fpa_a unit="degC">-7.75</kplo:temperature_fpa_a>
          <kplo:temperature_fpa_b unit="degC">-6.41</kplo:temperature_fpa_b>
          <kplo:temperature_fpga unit="degC">-5.21</kplo:temperature_fpga>
          <kplo:temperature_telescope unit="degC">-17.45</kplo:temperature_telescope>
          <!-- SHADOWCAM imaging attributes -->
          <kplo:line_rate_ms unit="ms">1.1056</kplo:line_rate_ms>
          <kplo:line_rate_code>322</kplo:line_rate_code>
          <kplo:klines>13</kplo:klines>
          <kplo:preroll_lines>1024</kplo:preroll_lines>
          <kplo:bterm1>0</kplo:bterm1>
          <kplo:bterm2>8</kplo:bterm2>
          <kplo:bterm3>25</kplo:bterm3>
          <kplo:bterm4>59</kplo:bterm4>
          <kplo:bterm5>128</kplo:bterm5>
          <kplo:xterm0>0</kplo:xterm0>
          <kplo:xterm1>32</kplo:xterm1>
          <kplo:xterm2>136</kplo:xterm2>
          <kplo:xterm3>544</kplo:xterm3>
          <kplo:xterm4>2208</kplo:xterm4>
          <kplo:mode_test>false</kplo:mode_test>
          <kplo:tdi_direction>A</kplo:tdi_direction>
          <kplo:gain_ch0>48</kplo:gain_ch0>
          <kplo:gain_ch1>48</kplo:gain_ch1>
          <kplo:gain_ch2>48</kplo:gain_ch2>
          <kplo:gain_ch3>38</kplo:gain_ch3>
          <kplo:gain_ch4>38</kplo:gain_ch4>
          <kplo:gain_ch5>38</kplo:gain_ch5>
          <kplo:offset_ch0>5</kplo:offset_ch0>
          <kplo:offset_ch1>0</kplo:offset_ch1>
          <kplo:offset_ch2>1</kplo:offset_ch2>
          <kplo:offset_ch3>8</kplo:offset_ch3>
          <kplo:offset_ch4>4</kplo:offset_ch4>
          <kplo:offset_ch5>1</kplo:offset_ch5>
          <kplo:bias_spread>27</kplo:bias_spread>
          <kplo:bias_spread_ch0>27</kplo:bias_spread_ch0>
          <kplo:bias_spread_ch1>27</kplo:bias_spread_ch1>
          <kplo:bias_spread_ch2>23</kplo:bias_spread_ch2>
          <kplo:bias_spread_ch3>17</kplo:bias_spread_ch3>
          <kplo:bias_spread_ch4>17</kplo:bias_spread_ch4>
          <kplo:bias_spread_ch5>19</kplo:bias_spread_ch5>
        </kplo:SHADOWCAM_Parameters>
      </kplo:KPLO_Parameters>
    </Mission_Area>
    <Discipline_Area>
      <img:Imaging>
        <Local_Internal_Reference>
          <local_identifier_reference>RAW_FILE</local_identifier_reference>
          <local_reference_type>imaging_parameters_to_image_object</local_reference_type>
        </Local_Internal_Reference>
        <img:Optical_Filter>
          <img:bandwidth unit="nm">300</img:bandwidth>
          <img:center_filter_wavelength unit="nm">600</img:center_filter_wavelength>
        </img:Optical_Filter>
      </img:Imaging>
      <disp:Display_Settings>
        <Local_Internal_Reference>
          <local_identifier_reference>Array_2D_Image</local_identifier_reference>
          <local_reference_type>display_settings_to_array</local_reference_type>
        </Local_Internal_Reference>
        <disp:Display_Direction>
          <disp:horizontal_display_axis>Sample</disp:horizontal_display_axis>
          <disp:horizontal_display_direction>Left to Right</disp:horizontal_display_direction>
          <disp:vertical_display_axis>Line</disp:vertical_display_axis>
          <disp:vertical_display_direction>Top to Bottom</disp:vertical_display_direction>
        </disp:Display_Direction>
      </disp:Display_Settings>
    </Discipline_Area>
  </Observation_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:kplo-shadowcam:browse-raw-cog:e007947119se_cog</lid_reference>
      <reference_type>data_to_browse</reference_type>
      <comment>Reference pointer to the raw browse product.</comment>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:kplo-shadowcam:browse-raw:e007947119se_browse</lid_reference>
      <reference_type>data_to_browse</reference_type>
      <comment>Reference pointer to the raw browse product.</comment>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:kplo-shadowcam:browse-raw-histogram:e007947119se_hist</lid_reference>
      <reference_type>data_to_browse</reference_type>
      <comment>Reference pointer to the raw histogram product.</comment>
    </Internal_Reference>
    <External_Reference>
      <doi>10.5140/JASS.2023.40.4.149</doi>
      <reference_text>
        Mark Southwick Robinson, Scott Michael Brylow, Michael Alan Caplinger,
        Lynn Marie Carter, Mattew John Clark, Brett Wilcox Denevi,
        Nicholas Michael Estes, David Carl Humm, Prasun Mahanti,
        Douglas Arden Peckham, Michael Andrew Ravine, Jacob Andrieu Schaffner,
        Emerson Jacob Speyerer, Robert Vernon Wagner
      </reference_text>
      <description>ShadowCam Instrument and Investigation Overview</description>
    </External_Reference>
  </Reference_List>
  <File_Area_Observational>
    <File>
      <file_name>E007947119SE.cub</file_name>
      <local_identifier>RAW_FILE</local_identifier>
      <creation_date_time>2026-01-08T16:13:57.788831Z</creation_date_time>
      <file_size unit="byte">38699008</file_size>
      <md5_checksum>b6abcfc35b9470a531928f4919daeadc</md5_checksum>
      <comment>ShadowCam Raw Product</comment>
    </File>
    <Header>
      <offset unit="byte">0</offset>
      <object_length unit="byte">65536</object_length>
      <parsing_standard_id>ISIS3</parsing_standard_id>
      <description>ISIS attached header</description>
    </Header>
    <Array_2D_Image>
      <local_identifier>Array_2D_Image</local_identifier>
      <offset unit="byte">65536</offset>
      <axes>2</axes>
      <axis_index_order>Last Index Fastest</axis_index_order>
      <Element_Array>
        <data_type>UnsignedByte</data_type>
        <unit>RAW_INSTRUMENT_COUNT</unit>
      </Element_Array>
      <Axis_Array>
        <axis_name>Line</axis_name>
        <elements>12288</elements>
        <sequence_number>1</sequence_number>
      </Axis_Array>
      <Axis_Array>
        <axis_name>Sample</axis_name>
        <elements>3144</elements>
        <sequence_number>2</sequence_number>
      </Axis_Array>
    </Array_2D_Image>
  </File_Area_Observational>
</Product_Observational>
