<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1J00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Collection 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_1J00.xsd">
    
    <Identification_Area>
        <logical_identifier>urn:nasa:pds:nh_lorri:calibration_files</logical_identifier>
        <version_id>1.0</version_id>
        <title>Reference Files Used in Calibrating Data from the New Horizons Long Range Reconnaissance Imager (LORRI)</title>
        <information_model_version>1.19.0.0</information_model_version>
        <product_class>Product_Collection</product_class>
        
        <Citation_Information>
            <editor_list>Hirsch, B.; Enke, B.; Gobat, C.; Crombie, M.K.</editor_list>
            <publication_year>2024</publication_year>
            <doi>10.26007/5kzb-6848</doi>
            <description>
                This collection is a migration from PDS3 of the set of ancillary files (flat fields, bad
                pixel maps, etc.) used in calibrating the data sets delivered by the LORRI instrument over
                the course of the New Horizons primary and extended missions.
            </description>
        </Citation_Information>
        
        <Modification_History>
            <Modification_Detail>
                <modification_date>2025-07-07</modification_date>
                <version_id>1.0</version_id>
                <description>
                    (SBN: T. Barnes) Before archiving, for each product label corrected the context object names 
                    to be character for character match with registered values.
                </description>
            </Modification_Detail>
            <Modification_Detail>
                <modification_date>2024-06</modification_date>
                <version_id>1.0</version_id>
                <description>
                    Creation during PDS4 migration (B. Hirsch).
                </description>
            </Modification_Detail>
        </Modification_History>
    </Identification_Area>
    
    <Context_Area>
        <Primary_Result_Summary>
            <purpose>Calibration</purpose>
            <processing_level>Derived</processing_level>
        </Primary_Result_Summary>

        <Investigation_Area>
            <name>New Horizons</name>
            <type>Mission</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:investigation:mission.new_horizons</lid_reference>
                <reference_type>collection_to_investigation</reference_type>
            </Internal_Reference>
        </Investigation_Area>

        <Investigation_Area>
            <name>New Horizons Kuiper Belt Extended Mission</name>
            <type>Mission</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:investigation:mission.new_horizons_kem1</lid_reference>
                <reference_type>collection_to_investigation</reference_type>
            </Internal_Reference>
        </Investigation_Area>

        <Observing_System>
            <Observing_System_Component>
                <name>New Horizons</name>
                <type>Host</type>
                <Internal_Reference>
                    <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.nh</lid_reference>
                    <reference_type>is_instrument_host</reference_type>
                </Internal_Reference>
            </Observing_System_Component>
            <Observing_System_Component>
                <name>Long Range Reconnaissance Imager</name>
                <type>Instrument</type>
                <Internal_Reference>
                    <lid_reference>urn:nasa:pds:context:instrument:nh.lorri</lid_reference>
                    <reference_type>is_instrument</reference_type>
                </Internal_Reference>
            </Observing_System_Component>
        </Observing_System>
    </Context_Area>

    <Reference_List>
        <Internal_Reference>
            <lid_reference>urn:nasa:pds:context:resource:resource.nh_lorri_colxn_calibration_files_online</lid_reference>
            <reference_type>has_resource</reference_type>
        </Internal_Reference>
        <Internal_Reference>
            <lid_reference>urn:nasa:pds:context:resource:resource.nh_lorri_online</lid_reference>
            <reference_type>has_resource</reference_type>
        </Internal_Reference>
        <Internal_Reference>
            <lidvid_reference>urn:nasa:pds:nh_lorri:calibration_files:overview::1.0</lidvid_reference>
            <reference_type>collection_to_document</reference_type>
            <comment>Collection overview</comment>
        </Internal_Reference> 
    </Reference_List>
    
    <Collection>
        <collection_type>Calibration</collection_type>
        <description>
            This collection contains flat fields, bad pixel maps, and similar ancillary files used in
            calibrating LORRI. Superseded versions of calibration files are retained and labeled as
            separate products.
        </description>
    </Collection>
    
    <File_Area_Inventory>
        <File>
            <file_name>collection_calibration_files.csv</file_name>
        </File>
        <Inventory>
            <offset unit="byte">0</offset>
            <parsing_standard_id>PDS DSV 1</parsing_standard_id>
            <records>20</records>
            <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
            <field_delimiter>Comma</field_delimiter>
            <Record_Delimited>
                <fields>2</fields>
                <groups>0</groups>
                <Field_Delimited>
                    <name>Member Status</name>
                    <field_number>1</field_number>
                    <data_type>ASCII_String</data_type>
                    <maximum_field_length unit="byte">1</maximum_field_length>
                </Field_Delimited>
                <Field_Delimited>
                    <name>LIDVID_LID</name>
                    <field_number>2</field_number>
                    <data_type>ASCII_LIDVID_LID</data_type>
                    <maximum_field_length unit="byte">255</maximum_field_length>
                </Field_Delimited>
            </Record_Delimited>
            <reference_type>inventory_has_member_product</reference_type>
        </Inventory>
    </File_Area_Inventory>
</Product_Collection>
