<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1K00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/mgn/v1/PDS4_MGN_1K00_1000.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: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_1K00.xsd
                        http://pds.nasa.gov/pds4/mission/mgn/v1 https://pds.nasa.gov/pds4/mission/mgn/v1/PDS4_MGN_1K00_1000.xsd">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:magellan_gravity:gravity:shgj120u</logical_identifier>
    <version_id>1.0</version_id>
    <title>Magellan Gravity and Spherical Harmonic Data: shgj120u.b01</title>
    <information_model_version>1.20.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Citation_Information>
      <author_list>Sjogren, William L.</author_list>
      <publication_year>1997</publication_year>
      <description>
        Coefficients and related data for a spherical
        harmonic model of the Venus gravity field.
      </description>
    </Citation_Information>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2023-09-06</modification_date>
        <version_id>1.0</version_id>
        <description>Product migrated to PDS4 from PDS3.</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time xsi:nil="true" nilReason="inapplicable"/>
      <stop_date_time xsi:nil="true" nilReason="inapplicable"/>
    </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>Magellan</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>Radio Science Subsystem</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:mgn.rss</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>SHXDR</mgn:product_type>
        <mgn:start_orbit_number>5758</mgn:start_orbit_number>
        <mgn:stop_orbit_number>15019</mgn:stop_orbit_number>
        <mgn:producer_institution_name>JET PROPULSION LABORATORY</mgn:producer_institution_name>
      </mgn:Magellan_Parameters>
    </Mission_Area>
  </Observation_Area>
  <File_Area_Observational>
    <File>
      <file_name>shgj120u.b01</file_name>
      <creation_date_time>1997-12-17T00:00:00.000</creation_date_time>
      <comment>This file contains coefficients
and related data for a spherical harmonic model of the Venus
gravity field. Input data are from radio tracking of the
Magellan spacecraft. This product is a set of binary tables:
a header table, a names table, a coefficients table, and a
covariance table. Definitions of the tables follow. This 
Magellan Venus gravity model is in the form of a Spherical
Harmonics Binary Data Record (SHBDR). It has been produced by 
the Magellan Gravity Science Team at JPL under the direction of 
W.L. Sjogren.</comment>
    </File>
    <Table_Binary>
      <name>SHBDR Header Table</name>
      <offset unit="byte">0</offset>
      <records>1</records>
      <description>The SHBDR Header includes 
descriptive information about the spherical harmonic 
coefficients which follow in SHBDR_COEFFICIENTS_TABLE. 
The header consists of a single record of nine data
columns requiring 56 bytes. The Header is followed by
a pad of binary integer zeroes to ensure alignment 
with RECORD_BYTES.
RECORD_BYTES = 512</description>
      <Record_Binary>
        <fields>9</fields>
        <groups>0</groups>
        <record_length unit="byte">56</record_length>
        <Field_Binary>
          <name>reference radius</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>IEEE754LSBDouble</data_type>
          <field_length unit="byte">8</field_length>
          <unit>kilometer</unit>
          <description>The assumed reference
 radius of the spherical planet.</description>
        </Field_Binary>
        <Field_Binary>
          <name>constant</name>
          <field_number>2</field_number>
          <field_location unit="byte">9</field_location>
          <data_type>IEEE754LSBDouble</data_type>
          <field_length unit="byte">8</field_length>
          <description>For a gravity field model
 the gravitational constant GM in km cubed per seconds
 squared for the planet. For a topography model, set to 1</description>
        </Field_Binary>
        <Field_Binary>
          <name>uncertainty in constant</name>
          <field_number>3</field_number>
          <field_location unit="byte">17</field_location>
          <data_type>IEEE754LSBDouble</data_type>
          <field_length unit="byte">8</field_length>
          <description>For a gravity field model
 the uncertainty in the gravitational constant GM in km
 cubed per seconds squared for the planet. For a topography
 model, set to 0.</description>
        </Field_Binary>
        <Field_Binary>
          <name>degree of field</name>
          <field_number>4</field_number>
          <field_location unit="byte">25</field_location>
          <data_type>SignedLSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Degree of the model field.</description>
        </Field_Binary>
        <Field_Binary>
          <name>order of field</name>
          <field_number>5</field_number>
          <field_location unit="byte">29</field_location>
          <data_type>SignedLSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Order of the model field.</description>
        </Field_Binary>
        <Field_Binary>
          <name>normalization state</name>
          <field_number>6</field_number>
          <field_location unit="byte">33</field_location>
          <data_type>SignedLSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>The normalization indicator.
 For gravity field:
 0 coefficients are unnormalized
 1 coefficients are normalized
 2 other.</description>
        </Field_Binary>
        <Field_Binary>
          <name>number of names</name>
          <field_number>7</field_number>
          <field_location unit="byte">37</field_location>
          <data_type>SignedLSB4</data_type>
          <field_length unit="byte">4</field_length>
          <description>Number of valid names in
 the SHBDR Names Table. Also, the number of valid
 coefficients in the SHBDR Coefficients Table.</description>
        </Field_Binary>
        <Field_Binary>
          <name>reference longitude</name>
          <field_number>8</field_number>
          <field_location unit="byte">41</field_location>
          <data_type>IEEE754LSBDouble</data_type>
          <field_length unit="byte">8</field_length>
          <unit>degree</unit>
          <description>The reference longitude for
 the spherical harmonic expansion; normally 0.</description>
        </Field_Binary>
        <Field_Binary>
          <name>reference latitude</name>
          <field_number>9</field_number>
          <field_location unit="byte">49</field_location>
          <data_type>IEEE754LSBDouble</data_type>
          <field_length unit="byte">8</field_length>
          <unit>degree</unit>
          <description>The reference latitude for
 the spherical harmonic expansion; normally 0.</description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>
    <Table_Binary>
      <name>SHBDR Names Table</name>
      <offset unit="byte">512</offset>
      <records>14638</records>
      <description>The SHBDR Names Table
 contains names for the solution parameters (including
 gravity field coefficients) which will follow in
 SHBDR_COEFFICIENTS_TABLE. The order of the names
 in SHBDR_NAMES_TABLE corresponds identically to the
 order of the parameters in SHBDR_COEFFICIENTS_TABLE.
 Each coefficient name is of the form Cij or Sij 
 where i is the degree of the coefficient and j is 
 the order of the coefficient. Both indices are three-
 digit zero-filled right-justified ASCII character strings
 (for example, C010005 for the 10th degree 5th order C
 coefficient, or S002001 for the 2nd degree 1st order
 S coefficient). The eighth byte in the table is an 
 ASCII blank used to ensure that the row length 
 is equal to RECORD_BYTES. Names of other solution
 parameters are limited to 8 ASCII characters; if less
 than 8, they will be left-justified and padded with
 ASCII blanks. The Names Table itself will be padded
 with ASCII blanks, if necessary, so that its length is
 an integral multiple of RECORD_BYTES.
RECORD_BYTES = 512</description>
      <Record_Binary>
        <fields>1</fields>
        <groups>0</groups>
        <record_length unit="byte">8</record_length>
        <Field_Binary>
          <name>parameter name</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">8</field_length>
          <description>The name of the 
 coefficient or other solution parameter, left-
 justified and padded with ASCII blanks (if needed)
 to 8 characters.</description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>
    <Table_Binary>
      <name>SHBDR Coefficients Table</name>
      <offset unit="byte">117760</offset>
      <records>14638</records>
      <description>The SHBDR Coefficients Table 
 contains the coefficients and other solution parameters
 for the spherical harmonic model. The order of the 
 coefficients in this table corresponds exactly to the 
 order of the coefficient and parameter names in
 SHBDR_NAMES_TABLE. The SHBDR Coefficients Table will be
 padded with double precision DATA_TYPE zeroes so that	
 its total length is an integral multiple of RECORD_BYTES.
RECORD_BYTES = 512</description>
      <Record_Binary>
        <fields>1</fields>
        <groups>0</groups>
        <record_length unit="byte">8</record_length>
        <Field_Binary>
          <name>coefficient value</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>IEEE754LSBDouble</data_type>
          <field_length unit="byte">8</field_length>
          <description>A coefficient Cij or
 Sij or other solution parameter as specified in the 
 SHBDR Names Table.</description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>
    <Table_Binary>
      <name>SHBDR Covariance Table</name>
      <offset unit="byte">235008</offset>
      <records>107142841</records>
      <description>The SHBDR Covariance Table
 contains the covariances for the spherical harmonic model
 coefficients and other solution parameters. The order of 
 the covariances in this table is defined by the product 
 of the SHBDR Names Table with its transpose, except that 
 redundant terms are omitted on their second occurrence.
 The SHBDR Covariance Table will be padded with double
 precision DATA_TYPE zeroes so that its total length is
 an integral multiple of RECORD_BYTES.
RECORD_BYTES = 512</description>
      <Record_Binary>
        <fields>1</fields>
        <groups>0</groups>
        <record_length unit="byte">8</record_length>
        <Field_Binary>
          <name>covariance value</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>IEEE754LSBDouble</data_type>
          <field_length unit="byte">8</field_length>
          <description>The covariance value
 for the coefficients and other solution parameters 
 specified by the product of SHBDR_NAMES_TABLE with 
 its transpose, after omitting redundant terms.</description>
        </Field_Binary>
      </Record_Binary>
    </Table_Binary>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>shgj120u.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>
</Product_Observational>