<?xml version="1.0" encoding="UTF-8"?>

<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1E00.sch"
    schematypens="http://purl.oclc.org/dsdl/schematron"?>

<!-- 
    06/15/2020 GEO/EAG Initial version of the LCROSS mission dictionary for PDS3 to PDS4 migration.
        
    11/20/2024 GEO/JGW Minor updates for dictionary release.
    
    1/21/2025 GEO/EAG/JGW Added producer_name. Added Ground_Based_Parameters to support ground-based data sets.
-->

<Ingest_LDD 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_1E00.xsd">
    <name>LCROSS Mission Dictionary</name>
    <ldd_version_id>1.1.0.0</ldd_version_id>
    <dictionary_type>Mission</dictionary_type>
    <full_name>Jennifer Ward</full_name>
    <steward_id>geo</steward_id>
    <namespace_id>lcross</namespace_id>
    <comment>
        The LCROSS mission dictionary contains a class with attributes specific to the 
        LCROSS mission and instruments. This dictionary was created for the migration
        of LCROSS data products from PDS3 to PDS4.        
    </comment>
    <last_modification_date_time>2024-11-20</last_modification_date_time>
    
    <!-- mock-up of classes and attributes
      <lcross:LCROSS_Parameters>
          <lcross:Mission_Parameters>
              <lcross:product_type>Raw Image</lcross:product_type>
              <lcross:producer_name>Marc W. Buie</lcross:producer_name>
              <lcross:producer_institution_name>Ames Research Center</lcross:producer_institution_name>
              <lcross:mission_phase_name>Impact</lcross:mission_phase_name>
              <lcross:spacecraft_clock_start_count>000003460354569</lcross:spacecraft_clock_start_count>
              <lcross:spacecraft_clock_stop_count>000003460354602</lcross:spacecraft_clock_stop_count>
              <lcross:intercept_point_latitude unit="deg">-84.641</lcross:intercept_point_latitude>
              <lcross:intercept_point_longitude unit="deg">311.342</lcross:intercept_point_longitude>
              <lcross:instrument_temperature unit="degC">19.42</lcross:instrument_temperature>
              <lcross:instrument_temperature_count>3111</lcross:instrument_temperature_count>
          </lcross:Mission_Parameters>
          <lcross:MIR_Instrument_State>
              <lcross:lnstrument_gain_state>High</lcross:lnstrument_gain_state>
              <lcross:missing_packet_flag>No</lcross:missing_packet_flag>
              <lcross:calibration_valid>Yes</lcross:calibration_valid>
          </lcross:MIR_Instrument_State>
          <lcross:NIR_Instrument_State>
              <lcross:enhancement_mode>Off</lcross:enhancement_mode>
              <lcross:operating_setting_value>15</lcross:operating_setting_value>
             <lcross:integration_time unit="msec">16240</lcross:integration_time>
             <lcross:gain_value>18</lcross:gain_value>
          </lcross:NIR_Instrument_State>
          <lcross:NSP_Instrument_State>
             <lcross:saturation_flag>No</lcross:saturation_flag>
             <lcross:boresight_to_sun_angle unit="deg">99.213</lcross:boresight_to_sun_angle>
          </lcross:NSP_Instrument_State>
          <lcross:VSP_Instrument_State>
             <lcross:saturation_flag>No</lcross:saturation_flag>
             <lcross:exposure_duration unit="">0.100</lcross:exposure_duration>
             <lcross:tec_setpoint unit="degC">-10.00</lcross:tec_setpoint>
             <lcross:tec_temperature unit="degC">-10.90</lcross:tec_temperature>
             <lcross:packet_timestamp>3460345242</lcross:packet_timestamp>
             <lcross:vsp_bracket_number>2</lcross:vsp_bracket_number>
          </lcross:VSP_Instrument_State>
          <lcross:Ground_Based_Parameters>
             <lcross:right_ascension unit="deg">79.82917</lcross:right_ascension>
             <lcross:declination unit="deg">23.07750</lcross:declination>
             <lcross:exposure_duration unit="sec">0.500000</lcross:exposure_duration>
             <lcross:filter_name>NMSUND2.5+MSSSOV</lcross:filter_name>
             <lcross:center_filter_wavelength unit="micrometer">0.550000</lcross:center_filter_wavelength>
          </lcross:Ground_Based_Parameters>    
      </lcross:LCROSS_Parameters>
    -->
    <!-- Atrributes for the Mission_Parameters Class -->
    
    <DD_Attribute>
        <name>product_type</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.product_type</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>
            The product_type attributes identifies the type or category of a product within a
            data set.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>true</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
            <DD_Permissible_Value>
                <value>Raw Image</value>
                <value_meaning>A raw image product.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Calibrated Image</value>
                <value_meaning>A radiometrically calibrated image product.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Raw Spectrum</value>
                <value_meaning>A raw spectrum product.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Calibrated Spectrum</value>
                <value_meaning>A radiometrically calibrated spectrum product.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Raw Data</value>
                <value_meaning>Raw output from an instrument, usually in DN.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Calibrated Data</value>
                <value_meaning>Calibrated data from an instrument.</value_meaning>
            </DD_Permissible_Value>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>producer_name</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.producer_name</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The name of the person who produced the data product.</definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>producer_institution_name</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.producer_institution_name</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>
            The producer_institution_name element identifies a university, research center, 
            NASA center or other institution associated with the production of a data set. 
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>mission_phase_name</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.mission_phase_name</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>
            The mission_phase_name element provides the commonly-used identifier of a mission phase.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>true</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
            <DD_Permissible_Value>
                <value>Quicklook</value>
                <value_meaning>Quicklook</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Starfield</value>
                <value_meaning>Starfield</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Swingby</value>
                <value_meaning>Swingby</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Earthlook1</value>
                <value_meaning>Earthlook1</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Mirlook</value>
                <value_meaning>Mirlook</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Earthlook2</value>
                <value_meaning>Earthlook2</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Separation</value>
                <value_meaning>Separation</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Preimpact</value>
                <value_meaning>Preimpact</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Impact</value>
                <value_meaning>Impact</value_meaning>
            </DD_Permissible_Value>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>spacecraft_clock_start_count</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.spacecraft_clock_start_count</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>GEO</submitter_name>
        <definition>The spacecraft_clock_start_count attribute provides the value 
            of the spacecraft clock at the beginning of a time period of 
            interest.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
            <minimum_characters>15</minimum_characters>
            <maximum_characters>15</maximum_characters>
        </DD_Value_Domain>
    </DD_Attribute>  
    
    <DD_Attribute>
        <name>spacecraft_clock_stop_count</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.spacecraft_clock_stop_count</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>GEO</submitter_name>
        <definition>The spacecraft_clock_stop_count attribute provides the value of the spacecraft 
            clock at the end of a time period of interest.
        </definition>    
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>intercept_point_latitude</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.intercept_point_latitude</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The intercept_point_latitude attribute is the latitude of a point on the
            surface of a body.</definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <minimum_value>-90.0</minimum_value>
            <maximum_value>90.0</maximum_value>
            <unit_of_measure_type>Units_of_Angle</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>intercept_point_longitude</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.intercept_point_longitude</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The intercept_point_longitude attribute is the longitude of a point on the
            surface of a body.</definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <minimum_value>0.0</minimum_value>
            <maximum_value>360.0</maximum_value>
            <unit_of_measure_type>Units_of_Angle</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>instrument_temperature</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.instrument_temperature</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The instrument_temperature attribute provides the temperature, in degrees Celsius
        of an instrument or some part of an instrument.</definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <unit_of_measure_type>Units_of_Temperature</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>instrument_temperature_count</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.instrument_temperature_count</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The instrument_temperature_count attribute provides the temperature
            of an instrument in raw counts or DN values.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Integer</value_data_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <!-- <lcross:MIR_Instrument_State> Attributes -->
    
    <DD_Attribute>
        <name>instrument_gain_state</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.instrument_gain_state</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The instrument_gain_state specifies the instrument gain state, either High or Low.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>true</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
            <DD_Permissible_Value>
                <value>High</value>
                <value_meaning>High</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Low</value>
                <value_meaning>Low</value_meaning>
            </DD_Permissible_Value>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>missing_packet_flag</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.missing_packet_flag</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The missing_packet_flag indicates whether the image is missing data. A missing
            packet appears as a horizontal bar 8 pixels high of zero data.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>true</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
            <DD_Permissible_Value>
                <value>Yes</value>
                <value_meaning>Packets are missing.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>No</value>
                <value_meaning>No packets were missed.</value_meaning>
            </DD_Permissible_Value>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>calibration_valid</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.calibration_valid</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The response of the mid-IR cameras exhibited a startup transient.
            The calibration is valid only after this transient had settled. This attribute
            indicates whether the image was taken before or after this point. Values are
            Yes or No.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>true</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
            <DD_Permissible_Value>
                <value>Yes</value>
                <value_meaning>Calibration is valid.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>No</value>
                <value_meaning>Calibration is not valid.</value_meaning>
            </DD_Permissible_Value>
        </DD_Value_Domain>
    </DD_Attribute>

    <!-- <lcross:NIR_Instrument_State> Attributes -->
    
    <DD_Attribute>
        <name>enhancement_mode</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.enhancement_mode</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>This attribute indicates whether onboard image stretching was enabled
            or disabled. Values are On or Off.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>true</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
            <DD_Permissible_Value>
                <value>On</value>
                <value_meaning>Onboard image enhancement was enabled.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>Off</value>
                <value_meaning>Onboard image enhancement was disabled.</value_meaning>
            </DD_Permissible_Value>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>operating_setting_value</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.operating_setting_value</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The operating setting value determines the integration time and gain.
            Values range from 0 to 15.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Integer</value_data_type>
            <minimum_value>0</minimum_value>
            <maximum_value>15</maximum_value>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>integration_time</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.integration_time</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The integration time in msec.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Integer</value_data_type>
            <minimum_value>0</minimum_value>
            <unit_of_measure_type>Units_of_Time</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>gain_value</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.gain_value</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The focal plane sensitivity in electrons per count. Value is
            approximate and inferred from the operating setting value and factory
            definitions.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Integer</value_data_type>
            <minimum_value>0</minimum_value>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <!-- <lcross:NIR_Instrument_State> Attributes -->
    
    <DD_Attribute>
        <name>saturation_flag</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.saturation_flag</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Indicates whether a spectra is saturated based on a  mechanical test.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>true</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
            <DD_Permissible_Value>
                <value>Yes</value>
                <value_meaning>Saturation noted.</value_meaning>
            </DD_Permissible_Value>
            <DD_Permissible_Value>
                <value>No</value>
                <value_meaning>No saturation.</value_meaning>
            </DD_Permissible_Value>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>boresight_to_sun_angle</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.boresight_to_sun_angle</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Angle between the instrument boresight vector and the spacecraft to sun vector
            in degrees.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <unit_of_measure_type>Units_of_Angle</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <!-- VSP Instrument attributes -->
    
    <DD_Attribute>
        <name>exposure_duration</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.exposure_duration</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The time interval between the opening and closing of an instrument
            aperture.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>tec_setpoint</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.tec_setpoint</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The setpoint temperature of the VSP thermo-electric cooler.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <unit_of_measure_type>Units_of_Temperature</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>tec_temperature</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.tec_temperature</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The measurement temperature of the VSP thermo-electric cooler.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <unit_of_measure_type>Units_of_Temperature</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>packet_timestamp</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.packet_timestamp</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>A 32-bit unsigned integer representing time from the epoch
            Jan 1, 1980 in milliseconds. This counter resets every approximately 
            50 days.
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Integer</value_data_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>vsp_bracket_number</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.vsp_bracket_number</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>When in bracket mode, the VSP captures three spectra in quick
            succession. The bracket number indicates which of the three spectra are captured..
        </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Integer</value_data_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <!-- Attribute definitions for the ground-based parameter class -->
    
    <DD_Attribute>
        <name>right_ascension_angle</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.right_ascension</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The right_ascension_angle attribute provides the
            value of right ascension (RA) as an angle. Right ascension is
            measured from the vernal equinox or the first point of Aries,
            which is the place on the celestial sphere where the Sun crosses
            the celestial equator from south to north at the March equinox.
            Right ascension is measured continuously in a full circle from
            that equinox towards the east. Right ascension is used in
            conjunction with the declination attribute to specify a point on
            the sky. </definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <unit_of_measure_type>Units_of_Angle</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>declination</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.declination</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The declination_angle (Dec) attribute provides
            the value of an angle on the celestial sphere, measured north
            from the celestial equator to the point in question. (For points
            south of the celestial equator, negative values are used.)
            Declination is used in conjunction with right ascension
            (right_ascension_angle) to specify
            a point on the sky.</definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <unit_of_measure_type>Units_of_Angle</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
   <DD_Attribute>
        <name>exposure_length</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.exposure_length</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Provides the length of time for an exposure.</definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <unit_of_measure_type>Units_of_Time</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>

    
    <DD_Attribute>
        <name>filter_name</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.filter_name</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The commonly used name of a filter the is part of an imaging system.</definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <DD_Attribute>
        <name>center_filter_wavelength</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.center_filter_wavelength</local_identifier>
        <nillable_flag>false</nillable_flag>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>The center wavelength of a filter used in an imaging system.</definition>
        <DD_Value_Domain>
            <enumeration_flag>false</enumeration_flag>
            <value_data_type>ASCII_Real</value_data_type>
            <unit_of_measure_type>Units_of_Length</unit_of_measure_type>
        </DD_Value_Domain>
    </DD_Attribute>
    
    <!-- End of attribute definitions -->

<!-- Classes -->    
    
    <DD_Class>
        <name>MIR_Instrument_State</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.MIR_Instrument_State</local_identifier>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Class with attributes specific to the MIR instrument on LCROSS.</definition>
        <abstract_flag>false</abstract_flag>
        <element_flag>false</element_flag>
        <DD_Association>
            <identifier_reference>lcross.instrument_gain_state</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.missing_packet_flag</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.calibration_valid</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
    </DD_Class>
    
    <DD_Class>
        <name>NIR_Instrument_State</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.NIR_Instrument_State</local_identifier>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Class with attributes specific to the NIR instrument on LCROSS.</definition>
        <abstract_flag>false</abstract_flag>
        <element_flag>false</element_flag>
        <DD_Association>
            <identifier_reference>lcross.enhancement_mode</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.operating_setting_value</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.integration_time</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.gain_value</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
    </DD_Class>

    <DD_Class>
        <name>NSP_Instrument_State</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.NSP_Instrument_State</local_identifier>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Class with attributes specific to the NSP instrument on LCROSS.</definition>
        <abstract_flag>false</abstract_flag>
        <element_flag>false</element_flag>
        <DD_Association>
            <identifier_reference>lcross.saturation_flag</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.boresight_to_sun_angle</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
    </DD_Class>
    
    <DD_Class>
        <name>VSP_Instrument_State</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.VSP_Instrument_State</local_identifier>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Class with attributes specific to the VSP instrument on LCROSS.</definition>
        <abstract_flag>false</abstract_flag>
        <element_flag>false</element_flag>
        <DD_Association>
            <identifier_reference>lcross.saturation_flag</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.exposure_duration</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.tec_setpoint</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.tec_temperature</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.packet_timestamp</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.vsp_bracket_number</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
    </DD_Class>
    
    <DD_Class>
        <name>Ground_Based_Parameters</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.Ground_Based_Parameters</local_identifier>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Container class for ground-based observation parameters.</definition>
        <abstract_flag>false</abstract_flag>
        <element_flag>false</element_flag>
        <DD_Association>
            <identifier_reference>lcross.right_ascension</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.declination</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.exposure_length</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.filter_name</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.center_filter_wavelength</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
    </DD_Class>
    
    <DD_Class>
        <name>Mission_Parameters</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.Mission_Parameters</local_identifier>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Container class for mission level attributes (i.e., common across all or most
            instruments) and instrument specific classes.</definition>
        <abstract_flag>false</abstract_flag>
        <element_flag>false</element_flag>
        <DD_Association>
            <identifier_reference>lcross.product_type</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.producer_name</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.producer_institution_name</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.mission_phase_name</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.spacecraft_clock_start_count</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.spacecraft_clock_stop_count</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.intercept_point_latitude</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.intercept_point_longitude</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.instrument_temperature</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.instrument_temperature_count</identifier_reference>
            <reference_type>attribute_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
    </DD_Class>

    <DD_Class>
        <name>LCROSS_Parameters</name>
        <version_id>1.0</version_id>
        <local_identifier>lcross.LCROSS_Parameters</local_identifier>
        <submitter_name>Susan Slavney</submitter_name>
        <definition>Top level container class.</definition>
        <abstract_flag>false</abstract_flag>
        <element_flag>true</element_flag>
        <DD_Association>
            <identifier_reference>lcross.Mission_Parameters</identifier_reference>
            <reference_type>component_of</reference_type>
            <minimum_occurrences>1</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.MIR_Instrument_State</identifier_reference>
            <reference_type>component_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.NIR_Instrument_State</identifier_reference>
            <reference_type>component_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.NSP_Instrument_State</identifier_reference>
            <reference_type>component_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.VSP_Instrument_State</identifier_reference>
            <reference_type>component_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
        <DD_Association>
            <identifier_reference>lcross.Ground_Based_Parameters</identifier_reference>
            <reference_type>component_of</reference_type>
            <minimum_occurrences>0</minimum_occurrences>
            <maximum_occurrences>1</maximum_occurrences>
        </DD_Association>
    </DD_Class>  

</Ingest_LDD>    
        