<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1N00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/mgn/v1/PDS4_MGN_1N00_1100.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/cart/v1/PDS4_CART_1N00_1970.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
 
<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1"
  xmlns:mgn="http://pds.nasa.gov/pds4/mission/mgn/v1"
  xmlns:cart="http://pds.nasa.gov/pds4/cart/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_1N00.xsd
     http://pds.nasa.gov/pds4/mission/mgn/v1 https://pds.nasa.gov/pds4/mission/mgn/v1/PDS4_MGN_1N00_1100.xsd
     http://pds.nasa.gov/pds4/cart/v1 https://pds.nasa.gov/pds4/cart/v1/PDS4_CART_1N00_1970.xsd">
 
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:magellan_gvdr:data_gvdr:gvxif_sinu</logical_identifier>
    <version_id>1.0</version_id>
    <title>Magellan GVDR Sinusoidal Image Data Table: GVXIF</title>
    <information_model_version>1.23.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
       <start_date_time xsi:nil="true" nilReason="unknown"></start_date_time>
       <stop_date_time xsi:nil="true" nilReason="unknown"></stop_date_time>
    </Time_Coordinates>
    <Investigation_Area>
       <name>Magellan</name>
       <type>Mission</type>
       <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:investigation:mission.magellan</lid_reference>
          <reference_type>data_to_investigation</reference_type>
       </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>The Magellan Spacecraft</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.mgn</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Magellan Spacecraft Radar System</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:mgn.rdrs</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>Venus</name>
      <type>Planet</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:planet.venus</lid_reference>
        <reference_type>data_to_target</reference_type>
      </Internal_Reference>
    </Target_Identification>
  
    <Mission_Area>
      <mgn:Magellan_Parameters>
        <mgn:product_type>GVDR</mgn:product_type>       
        <mgn:start_orbit_number>376</mgn:start_orbit_number>
        <mgn:stop_orbit_number>2599</mgn:stop_orbit_number>
        <mgn:producer_institution_name>Stanford Center for Radar Astronomy</mgn:producer_institution_name>
        <mgn:original_pds_volume_id>gvdr_0001</mgn:original_pds_volume_id>
      </mgn:Magellan_Parameters>
    </Mission_Area>
  
    <Discipline_Area>
      <cart:Cartography>
        <Local_Internal_Reference>
          <local_identifier_reference>Table</local_identifier_reference>
          <local_reference_type>cartography_parameters_to_image_object</local_reference_type>
        </Local_Internal_Reference>
        <cart:Spatial_Domain>
          <cart:Bounding_Coordinates>
            <cart:west_bounding_coordinate unit="deg">0.00</cart:west_bounding_coordinate>
            <cart:east_bounding_coordinate unit="deg">360.00</cart:east_bounding_coordinate>
            <cart:north_bounding_coordinate unit="deg">90.00</cart:north_bounding_coordinate>
            <cart:south_bounding_coordinate unit="deg">-90.00</cart:south_bounding_coordinate>
          </cart:Bounding_Coordinates>
        </cart:Spatial_Domain>
        <cart:Spatial_Reference_Information>
          <cart:Horizontal_Coordinate_System_Definition>
            <cart:Planar>
              <cart:Map_Projection>
                <cart:map_projection_name>Sinusoidal</cart:map_projection_name>
                <cart:Sinusoidal>
                  <cart:longitude_of_central_meridian unit="deg">0</cart:longitude_of_central_meridian>
                </cart:Sinusoidal>
              </cart:Map_Projection>
              <cart:Planar_Coordinate_Information>
                <cart:planar_coordinate_encoding_method>Coordinate Pair</cart:planar_coordinate_encoding_method>
                <cart:Coordinate_Representation>
                  <cart:pixel_resolution_x unit="km/pixel">18.225</cart:pixel_resolution_x>
                  <cart:pixel_resolution_y unit="km/pixel">18.225</cart:pixel_resolution_y>
                  <cart:pixel_scale_x unit="pixel/deg">5.79478</cart:pixel_scale_x>
                  <cart:pixel_scale_y unit="pixel/deg">5.79478</cart:pixel_scale_y>
                </cart:Coordinate_Representation>
              </cart:Planar_Coordinate_Information>
              <cart:Geo_Transformation>
                <cart:upperleft_corner_x unit="km">-9.1125</cart:upperleft_corner_x>
                <cart:upperleft_corner_y unit="km">9504.3375</cart:upperleft_corner_y>
              </cart:Geo_Transformation>
            </cart:Planar>
            <cart:Geodetic_Model>
              <cart:latitude_type>Planetocentric</cart:latitude_type>
              <cart:a_axis_radius unit="km">6051.0</cart:a_axis_radius>
              <cart:b_axis_radius unit="km">6051.0</cart:b_axis_radius>
              <cart:c_axis_radius unit="km">6051.0</cart:c_axis_radius>
              <cart:longitude_direction>Positive East</cart:longitude_direction>
            </cart:Geodetic_Model>
          </cart:Horizontal_Coordinate_System_Definition>
        </cart:Spatial_Reference_Information>
      </cart:Cartography>
    </Discipline_Area>
  </Observation_Area>
  
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:magellan_gvdr:document:gvdrsis</lid_reference>
      <reference_type>data_to_document</reference_type>
    </Internal_Reference>
    <Source_Product_External>
      <external_source_product_identifier>MGN-V-RDRS-5-SCVDR-V1.0</external_source_product_identifier>
      <reference_type>data_to_derived_source_product</reference_type>
      <doi>10.17189/1522514</doi>
      <curating_facility>GEO</curating_facility>
    </Source_Product_External>
  </Reference_List>
  
  <File_Area_Observational>
    <File>
      <file_name>gvxif.tab</file_name>
      <creation_date_time>1994-05-10T23:12:04.000</creation_date_time>
    </File>
    <Table_Binary>
      <local_identifier>Table</local_identifier>
      <offset unit="byte">0</offset>
      <records>1399990</records>
      <description>
        The GVXIF file contains statistical measures of the surface's scattering properties derived from the            
        side-looking synthetic aperture radar images. (The XIF acronym is a combination of 'Sinusoidal Image File', or 
        SIF, and 'Oblique sinusoidal Image File', or OIF, two of the data files in the SCVDR data product.)                                                                   
        
        This file is a table; each row in the table summarizes XIF results in a particular SAR viewing geometry. The 
        location and number of rows associated with each pixel are given by the corresponding values of 'XIF Start' and 
        'XIF Samples' in GVPIDX.TAB.                                    
        
        See the descriptions in the GVTIDX.XML and GVPIDX.XML files for the overall organization of the GVDR. These 
        files describe the division of the planet into pixels and organization of pixels into rectangular tiles.
      </description>
      <Record_Binary>
        <fields>11</fields>
        <groups>0</groups>
        <record_length unit="byte">14</record_length>
        <Field_Binary>
          <name>Sample Count</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <description>
            The total number of image framelets used to compute the estimates of radar scattering properties given in          
            this row of the table. The quantities given in later columns pertain only to these framelets. Any framelet 
            that is partially or completely contained inside this pixel is included. Each framelet is a slice of image 
            data from the F-BIDR or C-BIDR files and is approximately 2 km in size along the image track. The framelets          
            used in this row share a common observational geometry, given explicitly by the columns 'Azimuth Angle', 
            'Incidence Angle', and 'Polarization Angle', and implicitly by the pixel address. This pixel may have 
            entries in other rows, and if so at least one of the three angles will be different from this row.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Azimuth Angle</name>
          <field_number>2</field_number>
          <field_location unit="byte">3</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <unit>degree</unit>
          <scaling_factor>0.00549367</scaling_factor>
          <description>
            The average azimuthal angle of the incident radiation of all image framelets used in this row. (An image             
            framelet is a single SAR observation.) The azimuthal angle is defined in two ways, depending on the image 
            map projection in use.        
            
            For the Sinusoidal and Mercator map projections, it is defined as the local azimuth direction toward the 
            spacecraft when viewed by an observer at the boresight intercept point on the planet surface, in degrees 
            clockwise from North. For example, if the spacecraft appears to be due east of the observer, the azimuth 
            angle is 90 degrees. Since this definition becomes useless near the poles, this field is set to zero 
            above 85 degrees of latitude for the Sinusoidal projection. The Mercator projection does not extend to 
            such high latitudes.                                                                
            
            For the Polar Stereographic map projection, the azimuth angle is expressed in the cartesian map coordinates 
            rather than in geographic coordinates. This makes the azimuth angle more useful for interpretation because 
            its meaning no longer varies with position. First, the azimuth direction is computed as above. Then, this            
            direction is transformed to a direction in map coordinates; the transformed vector is parallel to the 
            vector originating at the framelet and pointing in the azimuth direction. This vector is expressed in 
            degrees clockwise from the +Y (up) direction on the map. For example, if the north polar projection has 
            0 degrees of longitude at the bottom, then a framelet at 90 degrees of longitude with a true azimuth of 
            90 degrees (spacecraft to the east) has a transformed azimuth of 0 degrees. The vector from the framelet to        
            the spacecraft appears to point in the +Y direction on the map.           
            
            The relationship between true azimuth and transformed azimuth is simple. For the north polar projection 
            with 0 degrees longitude at the bottom,                                                               
            CARTESIAN_AZIMUTH = GEOGRAPHIC_AZIMUTH - LONGITUDE                
            and for the south polar projection with 0 degrees longitude at the top,                                                                      
            CARTESIAN_AZIMUTH = GEOGRAPHIC_AZIMUTH + LONGITUDE                
            
            As discussed in the GVHDR.XML file, the group of SAR observations used in this row forms a 'cohort'.  
            Within a cohort, the azimuth angle of each observation falls within a single interval of size 360/N, where 
            N is the value of 'XIF Cohort Azimuth Count' from the GVHDR file. We can reconstruct that interval by noting 
            that the average azimuth angle of all the observations (given in this column) falls within the same interval.       
            Specifically, we find a value of I that satisfies                         
            
            I * 360.0 / N less than or = AZIMUTH_ANGLE less than (I+1) * 360.0 / N            
            where                                                                     
            N = 'XIF Cohort Azimuth Count'                                  
            I = integer between 0 and N-1 inclusive                       
            
            The azimuth angles of all observations in the cohort lie in the interval [I*360 , (I+1)*360], and their 
            average value is given in this column.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Incidence Angle</name>
          <field_number>3</field_number>
          <field_location unit="byte">5</field_location>
          <data_type>UnsignedMSB2</data_type>
          <field_length unit="byte">2</field_length>
          <unit>degree</unit>
          <scaling_factor>0.00137342</scaling_factor>
          <description>
            The average incidence angle of the incident radiation of all image framelets used in this row. (An image             
            framelet is a single SAR observation.) The incidence angle is the angle between the local mean surface 
            normal (based on a pre-Magellan topography model and provided with the BIDR data) and the direction of the 
            incoming radiation (based on geometric factors and a pre-Magellan atmospheric model of refraction, also 
            provided with the BIDR data). Normal incidence is thus 0 degrees, and grazing incidence is 90 degrees.                                                  
            
            As discussed in the GVHDR.XML file, the group of SAR observations used in this row forms a 'cohort'.  
            Within a cohort, the incidence angle of each observation falls within a single interval of size 90/N, 
            where N is the value of 'XIF Cohort Incidence Count' from the GVHDR file. We can reconstruct that interval 
            by noting that the average incidence angle of all the observations (given in this column) falls within the 
            same interval. Specifically, we find a value of I that satisfies                         
            
            I * 90.0 / N less than or = INCIDENCE_ANGLE less than (I+1) * 90.0 / N            
            where                                                                     
            N = 'XIF Cohort Incidence Count'                                
            I = integer between 0 and N-1 inclusive                       
            
            The incidence angles of all observations in the cohort lie in the interval [I*90 , (I+1)*90], and their 
            average value is given in this column.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Polarization Angle</name>
          <field_number>4</field_number>
          <field_location unit="byte">7</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <unit>degree</unit>
          <scaling_factor>0.72</scaling_factor>
          <value_offset>-90</value_offset>
          <description>
            The average polarization angle of the incident radiation of all image framelets used in this row. The 
            polarization angle is defined to be +/- 90 degrees for H-H polarization (+90 is nominal for mission cycle 1) 
            and 0 degrees for V-V polarization. Nearly all orbits maintained an almost constant H-H or V-V polarization 
            angle; the values of 90 or 0 reported for these orbits are only nominal and are not based on actual geometric
            calculations. Only values that differ from 90 or 0 have been actually computed.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Histogram Lower Knee</name>
          <field_number>5</field_number>
          <field_location unit="byte">8</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            The average DN (still to do: we should change this to absolute dB, free of Muhleman normalization) of the 
            lower knee of the histogram of all image framelets used in this row. For each framelet, the histogram of 
            image pixel values was computed, and the abscissa to the right of 15.87% of the pixel values was recorded.
            For a normal distribution, this percentile is one standard deviation below the mean; note that the pixel 
            distribution is rarely normal and is expressed on a logarithmic abscissa. The values found for each 
            histogram were finally averaged to form the value here.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Histogram Median</name>
          <field_number>6</field_number>
          <field_location unit="byte">9</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            The average DN (we should change this to absolute dB, free of Muhleman normalization) of the median of the         
            histogram of all image framelets used in this row. For each framelet, the histogram of image pixel values 
            was computed, and the abscissa to the right of 50% of the pixel values was recorded. For any symmetric 
            distribution, this value is equal to the mean; note that the pixel distribution is rarely normal and is 
            expressed on a logarithmic abscissa. The values found for each histogram were finally averaged to form the 
            value here.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Histogram Upper Knee</name>
          <field_number>7</field_number>
          <field_location unit="byte">10</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            The average DN (we should change this to absolute dB, free of Muhleman normalization) of the upper knee of         
            the histogram of all image framelets used in this row. For each framelet, the histogram of image pixel 
            values was computed, and the abscissa to the right of 84.13% of the pixel values was recorded. For a normal 
            distribution, this percentile is one standard deviation above the mean; note that the pixel distribution is 
            rarely normal and is expressed on a logarithmic abscissa. The values found for each histogram were finally 
            averaged to form the value here.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Histogram Mode</name>
          <field_number>8</field_number>
          <field_location unit="byte">11</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <description>
            The average DN (we should change this to absolute dB, free of Muhleman normalization) of the mode of the           
            histogram of all image framelets used in this row. For each framelet, the histogram of image pixel values 
            was computed, and the abscissa with the largest number of pixel values was recorded. The values for all 
            framelets were averaged to form the value here.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Scattering Law Constant Term</name>
          <field_number>9</field_number>
          <field_location unit="byte">12</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <unit>decibel</unit>
          <scaling_factor>0.2</scaling_factor>
          <value_offset>-35</value_offset>
          <description>
            The average radar backscatter cross-section of all image framelets used in this row. For each framelet, a               
            quadratic polynomial has been fitted to the backscatter cross-section as a function of incidence angle. The 
            incidence angle over any framelet only varies by 1-2 degrees, so this fit is a local one only and may be 
            dominated by geologic features within the framelets.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Scattering Law Linear Term</name>
          <field_number>10</field_number>
          <field_location unit="byte">13</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <unit>decibel per degree</unit>
          <scaling_factor>0.04</scaling_factor>
          <value_offset>-5</value_offset>
          <description>
            The average radar backscatter cross-section derivative of all image framelets used in this row. For each             
            framelet, a quadratic polynomial has been fitted to the backscatter cross-section as a function of incidence 
            angle. The incidence angle over any framelet only varies by 1-2 degrees, so this fit is a local one only and 
            may be dominated by geologic features within the framelets.
          </description>
        </Field_Binary>
        <Field_Binary>
          <name>Scattering Law Quadratic Term</name>
          <field_number>11</field_number>
          <field_location unit="byte">14</field_location>
          <data_type>UnsignedByte</data_type>
          <field_length unit="byte">1</field_length>
          <unit>decibel per degree squared</unit>
          <scaling_factor>0.12</scaling_factor>
          <value_offset>-15</value_offset>
          <description>
            The average radar backscatter cross-section second derivative of all image framelets used in this row. For 
            each framelet, a quadratic polynomial has been fitted to the backscatter cross-section as a function of 
            incidence angle. The incidence angle over any framelet only varies by 1-2 degrees, so this fit is a local      
            one only and may be dominated by geologic features within the framelets.
          </description>
        </Field_Binary>
      </Record_Binary> 
    </Table_Binary>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>gvxif.lbl</file_name>
    </File>
    <Stream_Text>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS3</parsing_standard_id>
      <description>Original PDS3 label</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
    </Stream_Text>
  </File_Area_Observational_Supplemental>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>gvxif.fmt</file_name>
    </File>
    <Stream_Text>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS3</parsing_standard_id>
      <description>Original PDS3 format file</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
    </Stream_Text>
  </File_Area_Observational_Supplemental>
</Product_Observational>
