<?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"?>
<?xml-model href="https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1L00_1300.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:proc="http://pds.nasa.gov/pds4/proc/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
  http://pds.nasa.gov/pds4/proc/v1 https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1L00_1300.xsd">

  <Identification_Area>
    <logical_identifier>urn:nasa:pds:kplo-shadowcam:data-calibrated:s009662545sc</logical_identifier>
    <version_id>6.0</version_id>
    <title>KPLO ShadowCam Calibrated Product</title>
    <information_model_version>1.21.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Alias_List>
      <Alias>
        <alternate_id>S009662545SC.cub</alternate_id>
        <comment>ISIS-compatible image file.</comment>
      </Alias>
    </Alias_List>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2026-01-08T15:02:33.624671Z</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>2025-08-24T17:00:50.144149Z</modification_date>
        <version_id>5.0</version_id>
        <description>
          Correct a typo in the labels.
        </description>
      </Modification_Detail>
      <Modification_Detail>
        <modification_date>2024-08-09T14:17:59.150236Z</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:24.039860Z</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:09.044926Z</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-24T19:10:25.567998Z</start_date_time>
      <stop_date_time>2022-11-24T19:10:30.872728Z</stop_date_time>
    </Time_Coordinates>
    <Primary_Result_Summary>
      <purpose>Science</purpose>
      <processing_level>Calibrated</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>Pleiades</name>
      <type>Star Cluster</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:star_cluster.cl_melotte_22</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.0</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>LUTI B Pleiades Scan, slice 4</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>1194:3662584</kplo:execution_spacecraft_time>
          <kplo:execution_time>2022-11-24T19:10:23.000000Z</kplo:execution_time>
          <kplo:start_time_offset unit="s">2.5679988</kplo:start_time_offset>
          <kplo:preroll_time>2022-11-24T19:10:23.799755Z</kplo:preroll_time>
          <!-- SHADOWCAM environment attributes -->
          <kplo:temperature_fpa_a unit="degC">-6.34</kplo:temperature_fpa_a>
          <kplo:temperature_fpa_b unit="degC">-5.19</kplo:temperature_fpa_b>
          <kplo:temperature_fpga unit="degC">-4.14</kplo:temperature_fpga>
          <kplo:temperature_telescope unit="degC">-19.6</kplo:temperature_telescope>
          <!-- SHADOWCAM imaging attributes -->
          <kplo:line_rate_ms unit="ms">6.9072</kplo:line_rate_ms>
          <kplo:line_rate_code>2690</kplo:line_rate_code>
          <kplo:klines>1</kplo:klines>
          <kplo:preroll_lines>256</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>B</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>0</kplo:offset_ch0>
          <kplo:offset_ch1>-6</kplo:offset_ch1>
          <kplo:offset_ch2>-5</kplo:offset_ch2>
          <kplo:offset_ch3>1</kplo:offset_ch3>
          <kplo:offset_ch4>-3</kplo:offset_ch4>
          <kplo:offset_ch5>-6</kplo:offset_ch5>
          <kplo:bias_spread>27</kplo:bias_spread>
          <kplo:bias_spread_ch0>19</kplo:bias_spread_ch0>
          <kplo:bias_spread_ch1>15</kplo:bias_spread_ch1>
          <kplo:bias_spread_ch2>17</kplo:bias_spread_ch2>
          <kplo:bias_spread_ch3>12</kplo:bias_spread_ch3>
          <kplo:bias_spread_ch4>14</kplo:bias_spread_ch4>
          <kplo:bias_spread_ch5>13</kplo:bias_spread_ch5>
        </kplo:SHADOWCAM_Parameters>
      </kplo:KPLO_Parameters>
    </Mission_Area>
    <Discipline_Area>
      <img:Imaging>
        <Local_Internal_Reference>
          <local_identifier_reference>CALIBRATED_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>
      <proc:Processing_Information>
        <Local_Internal_Reference>
          <comment>ShadowCam Calibrated Product</comment>
          <local_identifier_reference>CALIBRATED_FILE</local_identifier_reference>
          <local_reference_type>processing_information_to_data_object</local_reference_type>
        </Local_Internal_Reference>
        <proc:Input_Product_List>
          <proc:Input_Product>
            <Internal_Reference>
              <lid_reference>urn:nasa:pds:kplo-shadowcam:data-raw:s009662545se</lid_reference>
              <reference_type>data_to_input_product</reference_type>
              <comment>Reference pointer to the raw source product.</comment>
            </Internal_Reference>
          </proc:Input_Product>
        </proc:Input_Product_List>
        <proc:Process>
          <proc:name>shadowcam_cdr_p10</proc:name>
          <proc:description>
            Pipeline process to calibrate a raw ShadowCam image
          </proc:description>
          <proc:Software>
            <proc:name>ShadowCam Calibration</proc:name>
            <proc:software_version_id>Id: tags/release_20240215</proc:software_version_id>
            <proc:software_availability>Released</proc:software_availability>
            <proc:description>
              Utility to calibrate a raw ShadowCam image
              https://shadowcam.im-ldi.com/archive
            </proc:description>
            <proc:Software_Program>
              <proc:name>shadowcam_edr_cal</proc:name>
              <proc:program_start_date_time>2026-01-08T16:25:04.277495Z</proc:program_start_date_time>
              <proc:program_stop_date_time>2026-01-08T16:25:10.847755Z</proc:program_stop_date_time>
              <proc:Software_Program_Parameters>
                <proc:Parameter>
                  <proc:name>input file flag</proc:name>
                  <proc:value>-i</proc:value>
                </proc:Parameter>
                <proc:Parameter>
                  <proc:name>input ShadowCam raw file</proc:name>
                  <proc:parameter_type>Input</proc:parameter_type>
                  <proc:value>S009662545SE.cub</proc:value>
                  <Internal_Reference>
                    <lid_reference>urn:nasa:pds:kplo-shadowcam:data-raw:s009662545se</lid_reference>
                    <reference_type>parameter_to_data_object</reference_type>
                    <comment>Reference pointer to the raw source product.</comment>
                  </Internal_Reference>
                </proc:Parameter>
                <proc:Parameter>
                  <proc:name>output file flag</proc:name>
                  <proc:value>-o</proc:value>
                </proc:Parameter>
                <proc:Parameter>
                  <proc:name>output ShadowCam calibrated filename</proc:name>
                  <proc:parameter_type>Output</proc:parameter_type>
                  <proc:value>S009662545SC.cub</proc:value>
                  <Local_Internal_Reference>
                    <comment>ShadowCam Calibrated Product</comment>
                    <local_identifier_reference>CALIBRATED_FILE</local_identifier_reference>
                    <local_reference_type>parameter_to_data_object</local_reference_type>
                  </Local_Internal_Reference>
                </proc:Parameter>
              </proc:Software_Program_Parameters>
            </proc:Software_Program>
          </proc:Software>
        </proc:Process>
      </proc:Processing_Information>
    </Discipline_Area>
  </Observation_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:kplo-shadowcam:data-raw:s009662545se</lid_reference>
      <reference_type>data_to_raw_product</reference_type>
      <comment>Reference pointer to the raw source product.</comment>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:kplo-shadowcam:browse-calibrated-cog:s009662545sc_stretched_cog</lid_reference>
      <reference_type>data_to_browse</reference_type>
      <comment>Reference pointer to the calibrated browse product.</comment>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:kplo-shadowcam:browse-calibrated:s009662545sc_browse</lid_reference>
      <reference_type>data_to_browse</reference_type>
      <comment>Reference pointer to the calibrated browse product.</comment>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:kplo-shadowcam:browse-calibrated-histogram:s009662545sc_hist</lid_reference>
      <reference_type>data_to_browse</reference_type>
      <comment>Reference pointer to the calibrated 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>
    <External_Reference>
      <doi>10.5140/JASS.2023.40.4.173</doi>
      <reference_text>
        David Carl Humm, Mallory Janet Kinczyk, Scott Michael Brylow,
        Robert Vernon Wagner, Emerson Jacob Speyerer, Nicholas Michael Estes,
        Prasun Mahanti, Aaron Kyle Boyd, Mark Southwick Robinson
      </reference_text>
      <description>Calibration of ShadowCam</description>
    </External_Reference>
  </Reference_List>
  <File_Area_Observational>
    <File>
      <file_name>S009662545SC.cub</file_name>
      <local_identifier>CALIBRATED_FILE</local_identifier>
      <creation_date_time>2026-01-08T16:25:07.000000Z</creation_date_time>
      <file_size unit="byte">9502720</file_size>
      <md5_checksum>5a5f025b732dcdd5252083d27983b696</md5_checksum>
      <comment>ShadowCam Calibrated 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>IEEE754LSBSingle</data_type>
        <unit>Radiance</unit>
      </Element_Array>
      <Axis_Array>
        <axis_name>Line</axis_name>
        <elements>768</elements>
        <sequence_number>1</sequence_number>
      </Axis_Array>
      <Axis_Array>
        <axis_name>Sample</axis_name>
        <elements>3072</elements>
        <sequence_number>2</sequence_number>
      </Axis_Array>
      <Special_Constants>
        <missing_constant>0xFF7FFFFB</missing_constant>
        <high_instrument_saturation>0xFF7FFFFE</high_instrument_saturation>
        <high_representation_saturation>0xFF7FFFFF</high_representation_saturation>
        <valid_minimum>0xFF7FFFFA</valid_minimum>
        <low_instrument_saturation>0xFF7FFFFD</low_instrument_saturation>
        <low_representation_saturation>0xFF7FFFFC</low_representation_saturation>
      </Special_Constants>
    </Array_2D_Image>
  </File_Area_Observational>
</Product_Observational>
