<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1D00.sch"
   schematypens="http://purl.oclc.org/dsdl/schematron"?>
<Product_Observational
   xmlns="http://pds.nasa.gov/pds4/pds/v1"
   xmlns:pds="http://pds.nasa.gov/pds4/pds/v1"
   xmlns: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_1D00.xsd">
       <Identification_Area>
             <logical_identifier>urn:nasa:pds:mess-rs-raw:calib:mess_rs_ant</logical_identifier>
             <version_id>1.0</version_id>
             <title>MESSENGER Telecommunications Antenna Configuration File</title>
             <information_model_version>1.13.0.0</information_model_version>
             <product_class>Product_Observational</product_class>
             <Citation_Information>
                   <author_list>Reid, M.</author_list>
                   <publication_year>2015</publication_year>
                   <description>
                         Table listing MESSENGER telecommunication antenna configurations 2008-2015
                   </description>
             </Citation_Information>
             <Modification_History>
                   <Modification_Detail>
                         <modification_date>2020-10-16</modification_date>
                         <version_id>1.0</version_id>
                         <description>
                           These data have been migrated from PDS3 PRODUCT_ID  MESS_RS_ANT
                           in data set  MESS-V/H-RSS-1-EDR-RAWDATA-V1.0  to PDS4.  The data file
                           been been reformatted to align fields for PDS4 Table_Character.
                           A new PDS4 label has been created.
                         </description>
                  </Modification_Detail>
            </Modification_History>
       </Identification_Area>
       <Observation_Area>
             <Time_Coordinates>
                   <start_date_time>2008-01-01T00:00:00.000Z</start_date_time>
                   <stop_date_time>2015-04-20T23:24:59.000Z</stop_date_time>
             </Time_Coordinates>
             <Primary_Result_Summary>
                   <purpose>Calibration</purpose>
                   <processing_level>Calibrated</processing_level>
                   <description>
                         Telecomm antenna configurations from downlink telemetry, with edits
                   </description>
             </Primary_Result_Summary>
             <Investigation_Area>
                   <name>MErcury Surface, Space ENvironment, GEochemistry, and Ranging Mission</name>
                   <type>Mission</type>
                   <Internal_Reference>
                         <lid_reference>urn:nasa:pds:context:investigation:mission.messenger</lid_reference>
                         <reference_type>data_to_investigation</reference_type>
                  </Internal_Reference>
             </Investigation_Area>
             <Observing_System>
                   <Observing_System_Component>
                         <name>MESSENGER</name>
                         <type>Spacecraft</type>
                         <Internal_Reference>
                               <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.mess</lid_reference>
                               <reference_type>is_instrument_host</reference_type>
                        </Internal_Reference>
                   </Observing_System_Component>
                   <Observing_System_Component>
                         <name>RSS</name>
                         <type>Instrument</type>
                         <Internal_Reference>
                               <lid_reference>urn:nasa:pds:context:instrument:rss.mess</lid_reference>
                               <reference_type>is_instrument</reference_type>
                         </Internal_Reference>
                   </Observing_System_Component>
             </Observing_System>
             <Target_Identification>
                   <name>MESSENGER</name>
                   <type>Equipment</type>
                   <description>
                         The file contains configuration information for the MESSENGER telecommunications
                         antennas which were used in radio science measurements during 2008-2015.
                   </description>
             </Target_Identification>
       </Observation_Area>
       <Reference_List>
             <Internal_Reference>
                   <lid_reference>urn:nasa:pds:messenger:document-rs:sis-ant</lid_reference>
                   <reference_type>data_to_document</reference_type>
             </Internal_Reference>
            <Source_Product_External>
                  <external_source_product_identifier>MESS-V/H-RSS-1-EDR-RAWDATA-V1.0:MESS_RS_ANT</external_source_product_identifier>
                  <reference_type>data_to_derived_source_product</reference_type>
                  <curating_facility>PDS Geosciences Node</curating_facility>
                  <description>
                        The value of external_source_product_identifier is constructed from the PDS3 DATA_SET_ID,
                        an ASCII colon character, and the PDS3 PRODUCT_ID.
                  </description>
            </Source_Product_External>
       </Reference_List>
       <File_Area_Observational>
             <File>
                   <file_name>mess_rs_ant.tab</file_name>
                   <creation_date_time>2018-09-09T01:16:00</creation_date_time>
                   <file_size unit="byte">195040</file_size>
                   <md5_checksum>18a1a3ea24ea37bd75e7b71dffbb0169</md5_checksum>
             </File>
             <Header>
                   <name>Column Headers</name>
                   <offset unit="byte">0</offset>
                   <object_length unit="byte">40</object_length>
                   <parsing_standard_id>7-Bit ASCII Text</parsing_standard_id>
                   <description>
                         Column headers for data fields in associated table if displayed in fixed-width font.
                   </description>
             </Header>
             <Table_Character>
                   <name>MESSENGER Telecom Antenna Configuration File</name>
                   <offset unit="byte">40</offset>
                   <records>4875</records>
                   <description>
                         Table of downlink and uplink antenna selections on the MESSENGER spacecraft
                   </description>
                   <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
                   <Record_Character>
                         <fields>8</fields>
                         <groups>0</groups>
                         <record_length unit="byte">40</record_length>
                         <Field_Character>
                               <name>YEAR</name>
                               <field_number>1</field_number>
                               <field_location unit="byte">1</field_location>
                               <data_type>ASCII_Integer</data_type>
                               <field_length unit="byte">4</field_length>
                               <field_format>%4d</field_format>
                               <description>
                                     Year in which a new antenna configuration was selected.
                               </description>
                         </Field_Character>
                         <Field_Character>
                               <name>DOY</name>
                               <field_number>2</field_number>
                               <field_location unit="byte">7</field_location>
                               <data_type>ASCII_Integer</data_type>
                               <field_length unit="byte">3</field_length>
                               <field_format>%3d</field_format>
                               <description>
                                     ERT/UTC day of year on which a new antenna configuration was selected.
                               </description>
                         </Field_Character>
                         <Field_Character>
                               <name>Hour</name>
                               <field_number>3</field_number>
                               <field_location unit="byte">11</field_location>
                               <data_type>ASCII_Integer</data_type>
                               <field_length unit="byte">2</field_length>
                               <field_format>%2d</field_format>
                               <description>
                                     ERT/UTC hour at which a new antenna configuration was selected.
                               </description>
                         </Field_Character>
                         <Field_Character>
                               <name>Minute</name>
                               <field_number>4</field_number>
                               <field_location unit="byte">14</field_location>
                               <data_type>ASCII_Integer</data_type>
                               <field_length unit="byte">2</field_length>
                               <field_format>%2d</field_format>
                               <description>
                                     ERT/UTC minute at which a new antenna configuration was selected.
                               </description>
                         </Field_Character>
                         <Field_Character>
                               <name>Second</name>
                               <field_number>5</field_number>
                               <field_location unit="byte">17</field_location>
                               <data_type>ASCII_Real</data_type>
                               <field_length unit="byte">6</field_length>
                               <field_format>%6.3f</field_format>
                               <description>
                                     ERT/UTC second at which a new antenna configuration was selected.
                               </description>
                         </Field_Character>
                         <Field_Character>
                               <name>MET</name>
                               <field_number>6</field_number>
                               <field_location unit="byte">24</field_location>
                               <data_type>ASCII_String</data_type>
                               <field_length unit="byte">11</field_length>
                               <field_format>%11s</field_format>
                               <description>
                                     Mission elapsed time (MET) on the spacecraft clock
                                     when the new antenna configuration was selected.
                               </description>
                         </Field_Character>
                         <Field_Character>
                               <name>Downlink Antenna</name>
                               <field_number>7</field_number>
                               <field_location unit="byte">36</field_location>
                               <data_type>ASCII_Integer</data_type>
                               <field_length unit="byte">1</field_length>
                               <field_format>%1d</field_format>
                               <description>
                                     Code for downlink antenna selected.  Possible values are:
                                          0: Front Fan beam
                                          1: AFT LGA
                                          2: Front LGA
                                          3: Back Fan beam
                                          4: FWD LGA5: Back LGA
                                          6: Front Phased Array
                                          7: Back Phased Array
                                          8: Hardware Error
                               </description> 
                         </Field_Character>
                         <Field_Character>
                               <name>Uplink Antenna</name>
                               <field_number>8</field_number>
                               <field_location unit="byte">38</field_location>
                               <data_type>ASCII_Integer</data_type>
                               <field_length unit="byte">1</field_length>
                               <field_format>%1d</field_format>
                               <description>
                                     Code for uplink antenna selected.  Possible values are:
                                          0: Front Fan beam
                                          1: AFT LGA
                                          2: Front LGA
                                          3: Back Fan beam
                                          4: FWD LGA
                                          5: Back LGA
                                          6: N/A
                                          7: N/A
                                          8: Hardware Error
                               </description> 
                         </Field_Character>
                   </Record_Character>
             </Table_Character>
      </File_Area_Observational>
</Product_Observational>
