<?xml version="1.0" encoding="utf-8" standalone="no"?>
<?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/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/proc/v1/PDS4_PROC_1L00_1300.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/clps/v1/PDS4_CLPS_1L00_1100.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:img="http://pds.nasa.gov/pds4/img/v1"
                       xmlns:proc="http://pds.nasa.gov/pds4/proc/v1"
                       xmlns:clps="http://pds.nasa.gov/pds4/mission/clps/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://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/proc/v1
                                           https://pds.nasa.gov/pds4/proc/v1/PDS4_PROC_1L00_1300.xsd
                                           http://pds.nasa.gov/pds4/mission/clps/v1
                                           https://pds.nasa.gov/pds4/mission/clps/v1/PDS4_CLPS_1L00_1100.xsd">

  <Identification_Area>
    <logical_identifier>urn:nasa:pds:clps_to_2ab_nirvss_aim:data:20240112-190801-aim-s3loffw-pp</logical_identifier>
    <version_id>1.0</version_id>
    <title>CLPS_TO_2AB NIRVSS AIM Observational Product - 20240112-190801-aim-s3loffw-pp</title>
    <information_model_version>1.21.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2024-07-19</modification_date>
        <version_id>1.0</version_id>
        <description>This date reflects the initial release of the collection to the PDS.</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time>2024-01-12T19:08:01.153Z</start_date_time>
      <stop_date_time>2024-01-12T19:08:07.153Z</stop_date_time>
      <solar_longitude unit="deg">111.6924</solar_longitude>
    </Time_Coordinates>
      <Primary_Result_Summary>
        <purpose>Checkout</purpose>
        <processing_level>Raw</processing_level>
        <Science_Facets>
          <wavelength_range>Visible</wavelength_range>
          <wavelength_range>Infrared</wavelength_range>
          <domain>Surface</domain>
          <discipline_name>Geosciences</discipline_name>
        </Science_Facets>
      </Primary_Result_Summary>
    <Investigation_Area>
      <name>CLPS Task Order 2AB</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.clps_to_2ab</lid_reference>
        <reference_type>data_to_investigation</reference_type>
        <comment>This is the PDS4 logical identifier for the CLPS_TO_2AB Mission.</comment>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>CLPS Task Order 2AB Peregrine Lunar Lander</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.clps_to_2ab_pll</lid_reference>
          <reference_type>is_instrument_host</reference_type>
          <comment>This is the PDS4 logical identifier for the CLPS_TO_2AB spacecraft.</comment>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>CLPS Task Order 2AB Near InfraRed Volatiles Spectrometer System (NIRVSS)</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:clps_to_2ab_pll.nirvss</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>
        <comment>This is the PDS4 logical identifier for the body - Moon.</comment>
      </Internal_Reference>
    </Target_Identification>
    <Mission_Area>
      <clps:CLPS_Parameters>
        <clps:CLPS_Delivery_Information>
          <clps:nasa_delivery_name>TO_2AB</clps:nasa_delivery_name>
          <clps:vendor>Astrobotic</clps:vendor>
          <clps:vendor_mission_name>Peregrine Mission 1</clps:vendor_mission_name>
          <clps:lunar_lander_name>Peregrine Lunar Lander</clps:lunar_lander_name>
          <clps:project_scientist>Paul Niles</clps:project_scientist>
        </clps:CLPS_Delivery_Information>
        <clps:CLPS_Observation_Information>
          <clps:release_number>0001</clps:release_number>
          <clps:mission_phase_name>CRUISE AND APPROACH</clps:mission_phase_name>
          <clps:producer_institution_name>NASA Ames Research Center</clps:producer_institution_name>
        </clps:CLPS_Observation_Information>
        <clps:NIRVSS_Parameters>
          <clps:nirvss_aim_xscale>3</clps:nirvss_aim_xscale>
          <clps:nirvss_aim_yscale>3</clps:nirvss_aim_yscale>
          <clps:nirvss_aim_xstart>0</clps:nirvss_aim_xstart>
          <clps:nirvss_aim_xend>183</clps:nirvss_aim_xend>
          <clps:nirvss_aim_ystart>912</clps:nirvss_aim_ystart>
          <clps:nirvss_aim_yend>1103</clps:nirvss_aim_yend>
          <clps:nirvss_led_illumination_duration unit="ms">6000</clps:nirvss_led_illumination_duration>
        </clps:NIRVSS_Parameters>
      </clps:CLPS_Parameters>
    </Mission_Area>
    <Discipline_Area>
      <disp:Display_Settings>
        <Local_Internal_Reference>
          <local_identifier_reference>data_partially_processed</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>
      <img:Imaging>
        <Local_Internal_Reference>
          <local_identifier_reference>data_partially_processed</local_identifier_reference>
          <local_reference_type>imaging_parameters_to_image_object</local_reference_type>
        </Local_Internal_Reference>
        <img:Dark_Current_Correction>
          <img:active_flag>0</img:active_flag>
        </img:Dark_Current_Correction>
        <img:Detector>
          <img:gain_mode_id>1</img:gain_mode_id>
        </img:Detector>
        <img:Exposure>
          <img:exposure_count>0</img:exposure_count>
          <img:exposure_duration unit="ms">6000</img:exposure_duration>
        </img:Exposure>
        <img:Flat_Field_Correction>
          <img:active_flag>1</img:active_flag>
          <img:Flat_Field_File>
            <Internal_Reference>
              <lid_reference>urn:nasa:pds:clps_to_2ab_nirvss_aim:calib:clps_ab_flatfield_scale0_normalized</lid_reference>
              <reference_type>data_to_data_correction_file</reference_type>
            </Internal_Reference>
          </img:Flat_Field_File>
        </img:Flat_Field_Correction>
        <img:Illumination>
          <img:LED_Illumination_Source>
            <img:illumination_state>Off</img:illumination_state>
            <img:illumination_wavelength unit="nm">-999</img:illumination_wavelength>
          </img:LED_Illumination_Source>
        </img:Illumination>
        <img:Onboard_Compression>
          <img:onboard_compression_type>LOCO</img:onboard_compression_type>
        </img:Onboard_Compression>
        <img:Sampling>
          <img:sample_bits>32</img:sample_bits>
        </img:Sampling>
        <img:Subframe>
          <img:first_line>1</img:first_line>
          <img:first_sample>1</img:first_sample>
          <img:lines>24</img:lines>
          <img:samples>23</img:samples>
          <img:line_fov unit="deg">2.38031</img:line_fov>
          <img:sample_fov unit="deg">2.28113</img:sample_fov>
        </img:Subframe>
      </img:Imaging>
      <proc:Processing_Information>
        <Local_Internal_Reference>
          <local_identifier_reference>data_partially_processed</local_identifier_reference>
          <local_reference_type>processing_information_to_data_object</local_reference_type>
        </Local_Internal_Reference>
        <proc:Process>
          <proc:Software>
            <proc:name>CLPS_TO_2AB NIRVSS Pipeline</proc:name>
            <proc:software_version_id>Version 1.0</proc:software_version_id>
          </proc:Software>
        </proc:Process>
      </proc:Processing_Information>
     </Discipline_Area>
  </Observation_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:clps_to_2ab_nirvss_aim:document:nirvss_users_guide</lid_reference>
      <reference_type>data_to_document</reference_type>
    </Internal_Reference>
    <Source_Product_Internal>
      <lidvid_reference>urn:nasa:pds:clps_to_2ab_nirvss_aim:20240112-190801-aim-s3l-999w-raw::1.0</lidvid_reference>
      <reference_type>data_to_raw_source_product</reference_type>
    </Source_Product_Internal>
  </Reference_List>
  <File_Area_Observational>
    <File>
      <file_name>20240112-190801-aim-s3loffw-pp.tif</file_name>
      <comment>This partially processed file was generated vy dividing the raw file by the flat field.</comment>
    </File>
    <Header>
      <offset unit="byte">0</offset>
      <object_length unit="byte">8</object_length>
      <parsing_standard_id>TIFF 6.0</parsing_standard_id>
      <description>TIFF header</description>
    </Header>
    <Array_2D_Image>
      <name>AIM DATA PARTIALLY PROCESSED</name>
      <local_identifier>data_partially_processed</local_identifier>
      <offset unit="byte">8</offset>
      <axes>2</axes>
      <axis_index_order>Last Index Fastest</axis_index_order>
      <Element_Array>
        <data_type>IEEE754LSBSingle</data_type>
      </Element_Array>
      <Axis_Array>
        <axis_name>Line</axis_name>
        <elements>24</elements>
        <sequence_number>1</sequence_number>
      </Axis_Array>
      <Axis_Array>
        <axis_name>Sample</axis_name>
        <elements>23</elements>
        <sequence_number>2</sequence_number>
      </Axis_Array>
    </Array_2D_Image>
  </File_Area_Observational>
</Product_Observational>
