<?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_swap:calibration_files</logical_identifier>
        <version_id>1.0</version_id>
        <title>Reference Files Used in Calibrating Data from the New Horizons (NH) Solar Wind Around Pluto (SWAP) Electrostatic Instrument</title>
        <information_model_version>1.19.0.0</information_model_version>
        <product_class>Product_Collection</product_class>
        
        <Citation_Information>
            <editor_list>Lawton, P.J.; Redfern, J.; Gicquel, A.; Barnes, T.F.</editor_list>
            <publication_year>2024</publication_year>
            <doi>10.26007/1fxm-cr40</doi>
            <description>
                This collection is a migration from PDS3 of the cumulative set of ancillary files 
                (background, response functions, field of view mask, energy bins) used in calibrating 
                the data sets delivered by the Solar Wind Around Pluto (SWAP) instrument over the 
                course of the New Horizons (NH) primary and extended missions. 
            </description>
        </Citation_Information>
        
        <Modification_History>
            <Modification_Detail>
                <modification_date>2024-08-15</modification_date>
                <version_id>1.0</version_id>
                <description>Created during PDS4 migration by PDS-SBN (P. Lawton).</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>
        
        <Observing_System>
            <Observing_System_Component>
                <name>Solar Wind Around Pluto</name>
                <type>Instrument</type>
                <Internal_Reference>
                    <lid_reference>urn:nasa:pds:context:instrument:nh.swap</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_swap_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_swap_online</lid_reference>
            <reference_type>has_resource</reference_type>
        </Internal_Reference>
        <Internal_Reference>
            <lidvid_reference>urn:nasa:pds:nh_swap:calibration_files:overview::1.0</lidvid_reference>
            <reference_type>collection_to_document</reference_type>
            <comment>New Horizons Solar Wind Around Pluto Calibration Files - Overview</comment>
	    </Internal_Reference> 
        <Internal_Reference>
            <lid_reference>urn:nasa:pds:nh_documents:mission:soc_inst_icd</lid_reference>
            <reference_type>collection_to_document</reference_type>
	        <comment>New Horizon SOC to Instrument Pipeline ICD Document</comment>
        </Internal_Reference>
    </Reference_List>
    
    <Collection>
        <collection_type>Calibration</collection_type>
    </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>12</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>
