<?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"?>

<Ingest_LDD xmlns="http://pds.nasa.gov/pds4/pds/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:pds="http://pds.nasa.gov/pds4/pds/v1"
  xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1J00.xsd">
  
  <name>ODY</name>
  <ldd_version_id>1.0.2.0</ldd_version_id>
  <dictionary_type>Mission</dictionary_type>
  <full_name>Politte, Daniel</full_name>
  <steward_id>geo</steward_id>
  <namespace_id>ody</namespace_id>
  <comment>
    The ODY dictionary contains classes that describe aspects of the 
    Mars Odyssey mission and related instruments.
    
    2024-06-26 DVP. Initial version: classes and attributes for GRS.
    
    2024-07-12 DVP. Merged in THEMIS-related changes from a branch. The description of the original:
      "2024-05-21 PG (pgeissler@usgs.gov) added THEMIS parameters, initial version"
    
    2024-07-26 DVP. Added descriptions to attributes and renamed a GRS-specific class.
    
    2024-07-29 TMH. Add in a missed update from PG (IMG) and a few definition fixes.
    
    2025-08-19 DVP. Adds additional GRS product type values and center_latitude attribute.
  </comment>
  <last_modification_date_time>2024-07-29T08:00:00Z</last_modification_date_time>

  <!--Hierarchy of classes and attributes (all optional):
    ody:ODY_Parameters
        ody.product_type
        ody.orbit_number
        ody.THEMIS_Observation_Context
            [Defined below]
        ody.THEMIS_Instrument_Attributes
            [Defined below]
        ody.THEMIS_Image_Properties
            [Defined below]
        ody.GRS_Observation_Information
  -->               
  <!-- Begin definitions of ODY Mission Dictionary attributes -->
    
  <!-- Begin definition of shared attributes -->
  
  <DD_Attribute> <name>product_type</name>
    <version_id>2.0</version_id>
    <local_identifier>ody.product_type</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>GEO</submitter_name>
    <definition>
      The product_type attribute identifies the type of data product.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>true</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <DD_Permissible_Value>
        <value>EDR</value>
        <value_meaning>Experiment Data Record</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>RDR</value>
        <value_meaning>Reduced Data Record</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>CDR</value>
        <value_meaning>Calibrated Data Record</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>DDR</value>
        <value_meaning>Derived Data Record</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>AVERAGED_HEND_DATA</value>
        <value_meaning>Averaged HEND Data products are composed of averaged normalized counting rates, orbital neutron fluxes and the associated timing, spatial and engineering information.</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>AVERAGED_NEUTRON_DATA</value>
        <value_meaning>The AND product contains average fluxes for epithermal, thermal, and fast neutrons.</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>CHAN_DATA</value>
        <value_meaning>GRS Chan Data</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>COMMAND_LIST</value>
        <value_meaning>GRS Command List</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>CORRECTED_GAMMA_SPECTRA</value>
        <value_meaning>Corrected gamma ray spectra with associated data.</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>DERIVED_HEND_DATA</value>
        <value_meaning>Derived HEND data are composed of raw counts, a background component, background subtracted counts and the associated timing and spatial information.</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>DERIVED_NEUTRON_DATA</value>
        <value_meaning>The DND product contains normalized neutron counting rates for all four of the Neutron Spectrometer prisms, from which thermal and epithermal neutron count rates are determined.</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>ENG_DATA</value>
        <value_meaning>GRS Engineering Data</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>E_KERNEL</value>
        <value_meaning>GRS E Kernel Data</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>GAMMA_SPECTRA</value>
        <value_meaning>This the raw uncalibrated gamma ray spectra and associated data.</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>HEND_SPECTRA</value>
        <value_meaning>The raw uncalibrated hend spectra and associated data</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>MESSAGE_LOG</value>
        <value_meaning>GRS Message Log</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>NEUTRON_SPECTRA</value>
        <value_meaning>The raw uncalibrated neutron detector counts and associated data</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>PROFILE_DATA</value>
        <value_meaning>Profile spectra and associated data.</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>PULSER_SPECTRA</value>
        <value_meaning>Pulser spectrum and associated data.</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>SUMMED_GAMMA_SPECTRA</value>
        <value_meaning>Sums of corrected gamma spectra with ancillary data.</value_meaning>
      </DD_Permissible_Value>
    </DD_Value_Domain>
  </DD_Attribute>
  
  <!-- End definition of shared attributes -->

  <!-- Begin definitions of attributes in the GRS-specific classes -->
  <DD_Attribute><name>center_latitude</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.center_latitude</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>GEO</submitter_name>
    <definition>
      Center latitude of the 5 degree latitude band of the summed gamma spectra dataset
    </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>
      <specified_unit_id>deg</specified_unit_id>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute> <name>mission_phase_name</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.mission_phase_name</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>GEO</submitter_name>
    <definition>
      The mission_phase_name attribute provides the mission-defined name of 
      a time period within the mission.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>true</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <DD_Permissible_Value>
        <value>CRUISE</value>
        <value_meaning>ODY Cruise mission phase: 2001-04-07 thru 2001-10-22</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>ORBIT INSERTION</value>
        <value_meaning>ODY Orbit Insertion mission phase: 2001-10-23 thru 2001-10-27</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>AEROBRAKING</value>
        <value_meaning>ODY Aerobraking mission phase: 2001-10-28 thru 2002-02-17</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>MAPPING</value>
        <value_meaning>ODY Mapping mission phase: 2002-02-18 thru 2004-09-30</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>EXTENDED MISSION</value>
        <value_meaning>ODY Extended Mission phases: 2004-10-01 to present</value_meaning>
      </DD_Permissible_Value>
    </DD_Value_Domain>
  </DD_Attribute>   
  
  <DD_Attribute> <name>product_version_id</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.product_version_id</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>GEO</submitter_name>
    <definition>
      The product_version_id element identifies the version of an individual 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>release_number</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.release_number</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>GEO</submitter_name>
    <definition>release_number is the identifier of a scheduled release of ODY data from PDS. The
      first ODY data release has release_number "0001". The release_number for a given product is always the
      first release in which it appears, and does not change if the product is revised
      later.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <minimum_characters>1</minimum_characters>
    </DD_Value_Domain>
  </DD_Attribute>    
  
  <DD_Attribute> <name>spacecraft_clock_start</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.spacecraft_clock_start</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>
      <pattern>[0-9]{12}</pattern>
    </DD_Value_Domain>
  </DD_Attribute>
  
  <DD_Attribute> <name>spacecraft_clock_stop</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.spacecraft_clock_stop</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>
      <pattern>[0-9]{12}</pattern>
    </DD_Value_Domain>
  </DD_Attribute>
  
  <DD_Attribute><name>start_solar_longitude</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.start_solar_longitude</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>GEO</submitter_name>
    <definition>
      Solar longitude (Ls) at the beginning of the observation period
    </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>
      <specified_unit_id>deg</specified_unit_id>
    </DD_Value_Domain>
  </DD_Attribute>
  
  <DD_Attribute><name>stop_solar_longitude</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.stop_solar_longitude</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>GEO</submitter_name>
    <definition>
      Solar longitude (Ls) at the end of the observation period
    </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>
      <specified_unit_id>deg</specified_unit_id>
    </DD_Value_Domain>
  </DD_Attribute>
  <!-- End definitions of attributes in the GRS-specific classes -->
    

  <!-- Begin definitions of attributes in the THEMIS-specific classes -->
  <DD_Attribute>
    <name>command_sequence_number</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.command_sequence_number</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Numeric identifier for the sequence of commands
      sent to the Odyssey spacecraft which include this THEMIS
      observation.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <!-- ('IR', 'VIS') -->
  <DD_Attribute>
    <name>detector_id</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.detector_id</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Abbreviated name of THEMIS camera used to
      collect this observation.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>true</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <DD_Permissible_Value>
        <value>IR</value>
        <value_meaning>Thermal Emission Imaging System Infrared instrument</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>VIS</value>
        <value_meaning>Thermal Emission Imaging System Visible instrument</value_meaning>
      </DD_Permissible_Value>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>exposure_duration</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.exposure_duration</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The length of time the THEMIS VIS detector array is 
      exposed per frame in an image.
    </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>flight_software_version_id</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.flight_software_version_id</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The version of THEMIS instrument flight software
      used to acquire the observation.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>focal_plane_temperature</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.focal_plane_temperature</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Temperature of the THEMIS VIS camera focal plane
      array at the time of the observation.
    </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>gain_number</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.gain_number</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The gain value of the THEMIS IR camera; a
      multiplicative factor used in the analog to digital
      conversion.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>image_description</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.image_description</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Description of the observation written by the
      THEMIS Mission Planner.
    </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>image_duration</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.image_duration</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The length of time required to collect all
      frames of all bands in the downlinked image.
    </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>image_id</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.image_id</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Numeric identifier for this observation within
      the onboard command sequence.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>inst_compression_name</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.inst_compression_name</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The type of compression applied to the THEMIS
      VIS data onboard the spacecraft and removed before storage in
      the raw data file.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>inst_compression_ratio</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.inst_compression_ratio</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The ratio of the size of the uncompressed data
      file to the compressed data file.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Real</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>interframe_delay</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.interframe_delay</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The time between successive frames of a THEMIS
      VIS observation.
    </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>maximum_brightness_temperature</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.maximum_brightness_temperature</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Maximum brightness temperature value measured
      within the image.
    </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>minimum_brightness_temperature</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.minimum_brightness_temperature</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Minimum brightness temperature value measured
      within the image.
    </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>missing_scan_lines</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.missing_scan_lines</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The total number of scan lines missing from a
      THEMIS IR image when it was received at Earth.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>offset_number</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.offset_number</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The offset value of the THEMIS IR camera; the
      offset value multiplied by a constant voltage is added to the
      measured voltage in the analog to digital conversion.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>orbit_number</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.orbit_number</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The orbit_number attribute identifies the orbit
      number when the observation was taken.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_NonNegative_Integer</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>partial_scan_lines</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.partial_scan_lines</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The number of lines in a summed THEMIS IR image
      which were produced by averaging less than N lines of the
      original non-summed image, where N is the value of the
      spatial_summing keyword. Value of N/A used for
      spatial_summing=1.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>rice_flag</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.rice_flag</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Status of onboard lossless compression algorithm
      applied before downlinking the THEMIS IR observation and removed
      before storage in the raw data file.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>true</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <DD_Permissible_Value>
        <value>Disabled</value>
        <value_meaning>onboard lossless compression was disabled</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>Enabled</value>
        <value_meaning>onboard lossless compression was enabled</value_meaning>
      </DD_Permissible_Value>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>spacecraft_orientation_pitch</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.spacecraft_orientation_pitch</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Odyssey spacecraft pitch orientation during this observation.
    </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>spacecraft_orientation_roll</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.spacecraft_orientation_roll</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Odyssey spacecraft roll orientation during this observation.
    </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>spacecraft_orientation_yaw</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.spacecraft_orientation_yaw</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Odyssey spacecraft yaw orientation during this observation.
    </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>spacecraft_pointing_mode</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.spacecraft_pointing_mode</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Description of the Odyssey spacecraft pointing
      mode during this observation; see ODY_ORIENT_POINTING.txt for
      definitions of valid modes.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>spatial_summing</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.spatial_summing</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Onboard spatial average of NxN set of pixels,
      where N is the value of the keyword. A SPATIAL_SUMMING value
      equal to 1 indicates that no spatial averaging has been applied
      to the observation.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>time_delay_integration_flag</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.time_delay_integration_flag</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>Status of onboard algorithm which applies a
      temporal average of successive lines in an IR image. When
      enabled, THEMIS TDI averages 16 detector rows to equal one line
      in an IR image.
    </definition>
    <DD_Value_Domain>
      <enumeration_flag>true</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <DD_Permissible_Value>
        <value>Disabled</value>
        <value_meaning>temporal average of successive lines was disabled</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>Enabled</value>
        <value_meaning>temporal average of successive lines was enabled</value_meaning>
      </DD_Permissible_Value>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>uncorrected_sclk_start_count</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.uncorrected_sclk_start_count</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>IMG</submitter_name>
    <definition>The spacecraft clock value when the THEMIS
      instrument was commanded to acquire an observation. This can
      differ from the SPACECRAFT_CLOCK_START_COUNT (or the other
      START_TIME keywords) by as much as 4 seconds, depending on which
      bands are acquired in the observation.
    </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>
  <!-- End definitions of attributes in the THEMIS-specific classes -->
 
<!-- END OF ATTRIBUTE DEFINITIONS -->

<!-- BEGINNING OF CLASS DEFINITIONS -->
<!-- Class definitions are in order from innermost to outermost -->

  <!-- Beginning of THEMIS-specific Classes -->
  <DD_Class>
    <name>THEMIS_Image_Properties</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.THEMIS_Image_Properties</local_identifier>
    <submitter_name>IMG</submitter_name>
    <definition>The THEMIS_Image_Properties class contains
      attributes specific to THEMIS images.</definition>
    <abstract_flag>false</abstract_flag>
    <element_flag>false</element_flag>
    <DD_Association>
      <identifier_reference>ody.image_id</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.image_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>ody.inst_compression_ratio</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.focal_plane_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>ody.missing_scan_lines</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.partial_scan_lines</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.uncorrected_sclk_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>ody.image_description</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.maximum_brightness_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>ody.minimum_brightness_temperature</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>THEMIS_Instrument_Attributes</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.THEMIS_Instrument_Attributes</local_identifier>
    <submitter_name>IMG</submitter_name>
    <definition>The THEMIS_Instrument_Attributes class contains
      attributes specific to the THEMIS instrument.
    </definition>
    <abstract_flag>false</abstract_flag>
    <element_flag>false</element_flag>
    <DD_Association>
      <identifier_reference>ody.detector_id</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.flight_software_version_id</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.command_sequence_number</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.spatial_summing</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.interframe_delay</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.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>ody.inst_compression_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>ody.gain_number</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.offset_number</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.rice_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>ody.time_delay_integration_flag</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>THEMIS_Observation_Context</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.THEMIS_Observation_Context</local_identifier>
    <submitter_name>IMG</submitter_name>
    <definition>The THEMIS_Observation_Context class contains
      attributes specific to THEMIS observations.
    </definition>
    <abstract_flag>false</abstract_flag>
    <element_flag>false</element_flag>
    <DD_Association>
      <identifier_reference>ody.spacecraft_orientation_pitch</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.spacecraft_orientation_roll</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.spacecraft_orientation_yaw</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.spacecraft_pointing_mode</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
  </DD_Class>
  <!-- End of THEMIS-specific Classes -->
  
  <!-- Beginning of GRS-suite-specific GRS_Observation_Information Class -->
  <DD_Class> <name>GRS_Observation_Information</name>
    <version_id>1.0</version_id>
    <local_identifier>ody.GRS_Observation_Information</local_identifier>
    <submitter_name>GEO</submitter_name>
    <definition>The GRS_Observation_Information class is the container for GRS-related metadata elements.</definition>
    <abstract_flag>false</abstract_flag>
    <element_flag>false</element_flag>
    <DD_Association>
      <identifier_reference>ody.release_number</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.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>ody.product_version_id</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.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>ody.center_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>ody.start_solar_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>ody.stop_solar_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>ody.spacecraft_clock_start</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.spacecraft_clock_stop</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
  </DD_Class>

  <!-- End of GRS_Observation_Information Class -->
  
  <!-- Beginning of ODY_Parameters Class definition with attributes in the order as they appear in the label -->
  <DD_Class>
    <name>ODY_Parameters</name>
    <version_id>2.0</version_id>
    <local_identifier>ody.ODY_Parameters</local_identifier>
    <submitter_name>IMG</submitter_name>
    <definition>The ODY_Parameters class is the container for
      mission-specific metadata elements.</definition>
    <abstract_flag>false</abstract_flag>
    <element_flag>true</element_flag>
    <DD_Association>
      <identifier_reference>ody.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>ody.orbit_number</identifier_reference>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.THEMIS_Observation_Context</identifier_reference>
      <reference_type>component_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.THEMIS_Instrument_Attributes</identifier_reference>
      <reference_type>component_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.THEMIS_Image_Properties</identifier_reference>
      <reference_type>component_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <identifier_reference>ody.GRS_Observation_Information</identifier_reference>
      <reference_type>component_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
  </DD_Class>

  <!-- End of ODY_Parameters Class definition --> 
</Ingest_LDD>
