<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1B00.sch"
     schematypens="http://purl.oclc.org/dsdl/schematron"?>
<?xml-model
href="https://pds.nasa.gov/pds4/mission/insight/v1/PDS4_INSIGHT_1B00_1840.sch"
         schematypens="http://purl.oclc.org/dsdl/schematron"?>
<Product_Observational
     xmlns="http://pds.nasa.gov/pds4/pds/v1"
     xmlns:insight="http://pds.nasa.gov/pds4/mission/insight/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_1B00.xsd
     http://pds.nasa.gov/pds4/mission/insight/v1
     https://pds.nasa.gov/pds4/mission/insight/v1/PDS4_INSIGHT_1B00_1840.xsd">
    <Identification_Area>
        <logical_identifier>urn:nasa:pds:insight-ifg-mars:data-ifg-partially-processed:ifg-pcal-sol0702-20201117t010531-20201117t013643-20hz</logical_identifier>
        <version_id>1.0</version_id>
        <title>2020-11-17T01:05 to 2020-11-17T01:36 IFG Magnetometer Mars Partially Processed High-Res (20 Hz) Data</title> 
        <information_model_version>1.11.0.0</information_model_version>
        <product_class>Product_Observational</product_class>
        <Citation_Information>
            <author_list>Russell, C. T.; Joy, S. P.</author_list>
            <publication_year>2021</publication_year>
            <keyword>mag</keyword>
            <description>
                InSight high time resolution (20Hz) partially processed IFG magnetic field data
                acquired between 2020-11-17T01:05 and 2020-11-17T01:36 on the surface of Mars.
            </description>
        </Citation_Information>
        <Modification_History>
            <Modification_Detail>
                <modification_date>2021-03-25</modification_date>
                <version_id>1.0</version_id>
                <description>Initial version, release 7</description>
            </Modification_Detail>
        </Modification_History>
    </Identification_Area>
    <Observation_Area>
        <Time_Coordinates>
            <start_date_time>2020-11-17T01:05:31Z</start_date_time>
            <stop_date_time>2020-11-17T01:36:43Z</stop_date_time>
        </Time_Coordinates>
        <Primary_Result_Summary>
            <purpose>Science</purpose>
            <processing_level>Partially Processed</processing_level>
            <description>
                These data have been converted to physical units and have 
                been corrected for temperature variations in the sensor
                gains and zero-levels. Substantial spacecraft sources
                remain in the data uncorrected.
            </description>
            <Science_Facets>
                <discipline_name>Fields</discipline_name>
                <facet1>Magnetic</facet1>
                <facet2>Background</facet2>
            </Science_Facets>
        </Primary_Result_Summary>
        <Investigation_Area>
            <name>InSight</name>
            <type>Mission</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:investigation:mission.insight</lid_reference>
                <reference_type>data_to_investigation</reference_type>
            </Internal_Reference>
        </Investigation_Area>
        <Observing_System>
            <Observing_System_Component>
                <name>InSight</name>
                <type>Spacecraft</type>
                <Internal_Reference>
                    <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.insight</lid_reference>
                    <reference_type>is_instrument_host</reference_type>
                </Internal_Reference>
            </Observing_System_Component>
            <Observing_System_Component>
                <name>InSight Fluxgate Magnetometer</name>
                <type>Instrument</type>
                <Internal_Reference>
                    <lid_reference>urn:nasa:pds:context:instrument:apss-ifg.insight</lid_reference>
                    <reference_type>is_instrument</reference_type>
                </Internal_Reference>
            </Observing_System_Component>
        </Observing_System>
        <Target_Identification>
            <name>Mars</name>
            <type>Planet</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:target:planet.mars</lid_reference>
                <reference_type>data_to_target</reference_type>
            </Internal_Reference>
        </Target_Identification>
        <Mission_Area>
            <insight:Observation_Information>
                <insight:release_number>0007</insight:release_number>
                <insight:mission_phase_name>SURFACE MISSION</insight:mission_phase_name>
                <insight:spacecraft_clock_start_count>658847027</insight:spacecraft_clock_start_count>
                <insight:spacecraft_clock_stop_count>658848898</insight:spacecraft_clock_stop_count>
                <insight:spacecraft_clock_count_partition>1</insight:spacecraft_clock_count_partition>
                <insight:sol_number>0702</insight:sol_number>
            </insight:Observation_Information>
        </Mission_Area>
    </Observation_Area>
    <Reference_List>
        <Internal_Reference>
            <lid_reference>urn:nasa:pds:insight-ifg-mars:data-sc-engineering:ancil-sol0702-20201116-20201117</lid_reference>
            <reference_type>data_to_associate</reference_type>
            <comment>Spacecraft engineering data acquired during the IFG data file time period.</comment>
        </Internal_Reference>
                
        <Internal_Reference>
            <lid_reference>urn:nasa:pds:insight-ifg-mars:document:insight-ifg-sis</lid_reference>
            <reference_type>data_to_document</reference_type>
            <comment>
               This document describes the IFG data processing and the structure 
               of the various data files in this archive.
            </comment>
        </Internal_Reference>
        <External_Reference>
            <doi>https://doi.org/10.1007/s11214-018-0570-x</doi>
            <reference_text>
                Banfield, D., Rodriguez-Manfredi, J.A., Russell, C.T. et al. Space Sci Rev (2019) 215: 4. 
                https://doi.org/10.1007/s11214-018-0570-x 
            </reference_text>
            <description>Published instrument paper</description>
        </External_Reference>
        <Source_Product_Internal>
            <lidvid_reference>urn:nasa:pds:insight-ifg-mars:data-ifg-raw:ifg-raw-sol0702-20201117t010531-20201117t013643-20hz::1.0</lidvid_reference>
            <reference_type>data_to_raw_source_product</reference_type>
            <comment>Raw data used in processing</comment>
        </Source_Product_Internal>
    </Reference_List>
    <File_Area_Observational>
        <File>
            <file_name>ifg_pcal_SOL0702_20201117T010531_20201117T013643_20Hz_v06.tab</file_name>
            <creation_date_time>2021-03-25</creation_date_time>
            <file_size unit="byte">6627057</file_size>
            <records>37441</records>
            <md5_checksum>71ec73183733fed4cf65eb66272b6a73</md5_checksum>
        </File>
        <Header>
            <offset unit="byte">0</offset>
            <object_length unit="byte">177</object_length>
            <parsing_standard_id>PDS DSV 1</parsing_standard_id>
            <description>First row of the file contains column names</description>
        </Header>
        <Table_Character>
            <offset unit="byte">177</offset>
            <records>37440</records>
            <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
            <Record_Character>
                <fields>15</fields>
                <groups>0</groups>
                <record_length unit="byte">177</record_length>  
                <Field_Character>
                    <name>SCET_UTC</name>
                    <field_number>1</field_number>
                    <field_location unit="byte">1</field_location>
                    <data_type>ASCII_Date_Time_YMD</data_type>
                    <field_length unit="byte">23</field_length>
                    <description>sample S/C event time UTC in YYYY-MM-DDThh:mm:ss.sss format</description>
                </Field_Character>
                <Field_Character>
                    <name>AOBT</name>
                    <field_number>2</field_number>
                    <field_location unit="byte">26</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">14</field_length>
                    <field_format>%14.3f</field_format>
                    <description>
                        APSS onboard time (AOBT) value of sample. This is the spacecraft
                        clock time used by the APSS instruments.
                    </description>
                </Field_Character>
                <Field_Character>
                    <name>IFG_1</name>
                    <field_number>3</field_number>
                    <field_location unit="byte">41</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>nT</unit>
                    <description>IFG axis 1 data in nT with offsets and LST variations subtracted</description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
                <Field_Character>
                    <name>IFG_2</name>
                    <field_number>4</field_number>
                    <field_location unit="byte">51</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>nT</unit>
                    <description>IFG axis 2 data in nT with offsets and LST variations subtracted</description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
                <Field_Character>
                    <name>IFG_3</name>
                    <field_number>5</field_number>
                    <field_location unit="byte">61</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>nT</unit>
                    <description>IFG axis 3 data in nT with offsets and LST variations subtracted</description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
                <Field_Character>
                    <name>Bx_SC</name>
                    <field_number>6</field_number>
                    <field_location unit="byte">71</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>nT</unit>
                    <description>i
                       Spacecraft mechanical coordinate system Bx component in nT.
                       This frame is called the INSIGHT Lander Frame in SPICE and
                       is described in the insight_v02.tf file as:
                       FRAME_INSIGHT_LANDER = -189001, FRAME_-189001_NAME = INSIGHT_LANDER. 
                    </description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
                <Field_Character>
                    <name>By_SC</name>
                    <field_number>7</field_number>
                    <field_location unit="byte">81</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>nT</unit>
                    <description>Spacecraft mechanical coordinate system By component in nT</description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
                <Field_Character>
                    <name>Bz_SC</name>
                    <field_number>8</field_number>
                    <field_location unit="byte">91</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>nT</unit>
                    <description>Spacecraft mechanical coordinate system Bz component in nT </description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
                <Field_Character>
                    <name>MLST</name>
                    <field_number>9</field_number>
                    <field_location unit="byte">101</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">12</field_length>
                    <field_format>%12.7f</field_format>
                    <unit>Hour</unit>
                    <description>Mean local time represented as decimal SOLs with the format SSSS.xxxxxxx where SSSS is the SOL number and xxxxxxx is the fractional SOL.</description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
                <Field_Character>
                    <name>TLST</name>
                    <field_number>10</field_number>
                    <field_location unit="byte">114</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">12</field_length>
                    <field_format>%12.7f</field_format>
                    <unit>Hour</unit>
                    <description>Mars true local solar time in decimal hours (0-24)</description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
                <Field_Character>
                    <name>HR_Angle</name>
                    <field_number>11</field_number>
                    <field_location unit="byte">127</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>Degree</unit>
                    <description>Solar hour angle in degrees (0-360) with 0 at noon and 90 at dusk.</description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
               </Field_Character>
                <Field_Character>
                    <name>modelET</name>
                    <field_number>12</field_number>
                    <field_location unit="byte">137</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>Degree</unit>
                    <description>
                        Prior to 2019-11-18, the actual IFG electronics temperature (ET) was only 
                        available a few times per SOL. Since a value is required for every IFG 
                        vector for calibration purposes, a spline fit to the PAE temperature T-0014 
                        was used as a proxy. T-0014 is sometimes available every minute or so, but is only
                        infrequently returned at night. The observed values of T-0014 were spline
                        fit to produce data set that is sampled at 5 minute resolution or better
                        and then the values between those samples are derived by linear interpolation.
                        After 2019-11-18, ET data became available every 15 minutes and data
                        were linearly interpolated between samples to provide continuous data.
                        This value is given in units of degrees Celsius.
                        See the IFG calibration document for additional details.
                    </description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
               </Field_Character>
                <Field_Character>
                    <name>modelST</name>
                    <field_number>13</field_number>
                    <field_location unit="byte">147</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>Degree</unit>
                    <description>
                        Value of the actual IFG sensor temperature [SensorT] when available,
                        otherwise a LST and UTC dependent model of the IFG sensor temperature [deg C]
                        derived from the measured values from selected time intervals is
                        provided. The FIR filter applied to the temperature data is longer
                        than the one applied to the MAG data so there is a roughly two
                        hour gap in the temperature data whenever the IFG powers on (i.e.
                        following a spacecraft safing or PAE reset). The value in this column
                        is used for the MAG calibration since it is available for all samples.
                        See the IFG calibration document for additional details.
                    </description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
               </Field_Character>
                <Field_Character>
                    <name>modelSA</name>
                    <field_number>14</field_number>
                    <field_location unit="byte">157</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>A</unit>
                    <description>
                        LST and UTC dependent model of the fixed solar array current [A]
                        derived from the values of the E-0771 from selected time intervals.
                        See the IFG calibration document for additional details.
                    </description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
               </Field_Character>
                <Field_Character>
                    <name>ModSACT</name>
                    <field_number>15</field_number>
                    <field_location unit="byte">167</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">9</field_length>
                    <field_format>%9.3f</field_format>
                    <unit>A</unit>
                    <description>
                        LST and UTC dependent model of the solar array current [A] total (SACT)
                        derived from the sum of E-0772 and E-0772 from selected time intervals.
                        See the IFG calibration document for additional details.
                    </description>
                    <Special_Constants>
                        <missing_constant>9999.999</missing_constant>
                    </Special_Constants>
                </Field_Character>
            </Record_Character>
        </Table_Character>
    </File_Area_Observational>
</Product_Observational>
