<?xml version="1.0" encoding="UTF-8"?>
<?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/msn/v1/PDS4_MSN_1K00_1300.sch"
    schematypens="http://purl.oclc.org/dsdl/schematron" ?>
<Product_Observational
   xmlns="http://pds.nasa.gov/pds4/pds/v1"
   xmlns:msn="http://pds.nasa.gov/pds4/msn/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_1K00.xsd

      http://pds.nasa.gov/pds4/msn/v1
      https://pds.nasa.gov/pds4/msn/v1/PDS4_MSN_1K00_1300.xsd
     ">
    <Identification_Area>
        <logical_identifier>urn:nasa:pds:cassini-mag-raw:data-sci-fgm-scirate:12094_mrdcd_sdfgmc</logical_identifier>
        <version_id>1.0</version_id>
        <title>Cassini MAG Fluxgate Magnetic-Field Data at the Science Rate 2012-04-03</title>
        <information_model_version>1.20.0.0</information_model_version>
        <product_class>Product_Observational</product_class>
        <Citation_Information>
            <author_list>Dougherty, Michele K.; Kellock, Stephen; Slootweg, A. Peter; Achilleos, Nicholas</author_list>
            <publication_year>2023</publication_year>
            <description>                                             
      12094_MRDCD_SDFGMC.FFD contains Cassini fluxgate magnetometer (FGM)           
      science data, at the full science rate, collected between 2012-04-03T00:00 and                     
      2012-04-04T00:00.
            </description>
        </Citation_Information>
        <Modification_History>
            <Modification_Detail>
                <modification_date>2023-12-05</modification_date>
                <version_id>1.0</version_id>
                <description>
                    Original 12094_MRDCD_SDFGMC.FFD, product version 3, 
                    from the PDS3 CO-E/SW/J/S-MAG-2-REDR-RAW-DATA-V2.0 dataset, 
                    DATA directory, converted to PDS4.
                </description>
            </Modification_Detail>
        </Modification_History>
    </Identification_Area>
    <Observation_Area>
        <comment>
            Native Stop Time/instrument_clock_stop = 1712191899.482
        </comment>
        <Time_Coordinates>
            <start_date_time>2012-04-03T00:00:07.433Z</start_date_time>
            <stop_date_time>2012-04-04T00:00:11.088Z</stop_date_time>  
        </Time_Coordinates>
        <Primary_Result_Summary>
            <purpose>Science</purpose>
            <processing_level>Raw</processing_level>
            <Science_Facets>
                <domain>Magnetosphere</domain>
                <discipline_name>Fields</discipline_name>
                <facet1>Magnetic</facet1>
                <facet2>Background</facet2>
            </Science_Facets>
        </Primary_Result_Summary>
        <Investigation_Area>
            <name>Cassini-Huygens</name>
            <type>Mission</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:investigation:mission.cassini-huygens</lid_reference>
                <reference_type>data_to_investigation</reference_type>
            </Internal_Reference>
        </Investigation_Area>
        <Observing_System>
            <Observing_System_Component>
                <name>Cassini Orbiter</name>
                <type>Host</type>
                <Internal_Reference>
                    <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.co</lid_reference>
                    <reference_type>is_instrument_host</reference_type>
                </Internal_Reference>
            </Observing_System_Component>
            <Observing_System_Component>
                <name>Dual Technique Magnetometer</name>
                <type>Instrument</type>
                <Internal_Reference>
                    <lid_reference>urn:nasa:pds:context:instrument:mag.co</lid_reference>
                    <reference_type>is_instrument</reference_type>
                </Internal_Reference>
            </Observing_System_Component> 
        </Observing_System>
        <Target_Identification>
            <name>Saturn</name>
            <type>Planet</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:target:planet.saturn</lid_reference>
                <reference_type>data_to_target</reference_type>
            </Internal_Reference>
        </Target_Identification>
        <Discipline_Area>
            <msn:Mission_Information>
                <msn:mission_phase_name>Solstice Mission</msn:mission_phase_name>
            </msn:Mission_Information>
            <msn:Mission_Information>
                <msn:Orbital_Mission>
                    <msn:start_orbit_number>163</msn:start_orbit_number>
                    <msn:stop_orbit_number>163</msn:stop_orbit_number>
                </msn:Orbital_Mission>
            </msn:Mission_Information>
            <msn:Mission_Information>
                <msn:spacecraft_clock_start>1712105495:071</msn:spacecraft_clock_start>
                <msn:spacecraft_clock_stop>1712191899:123</msn:spacecraft_clock_stop>
                <msn:spacecraft_clock_partition>1</msn:spacecraft_clock_partition>
            </msn:Mission_Information>
            <msn:Mission_Information>
                <msn:instrument_clock_start>1712105495.277</msn:instrument_clock_start>
            </msn:Mission_Information>
        </Discipline_Area>
    </Observation_Area>
    <Reference_List>
        <Internal_Reference>
            <lid_reference>urn:nasa:pds:cassini-mag-raw:document:data-sci-fgm-scirate-desc</lid_reference>
            <reference_type>data_to_document</reference_type>
            <comment>
                Document containing a description of the Cassini MAG Fluxgate 
                Magnetic-Field Data at the Science Rate Collection.
            </comment>
        </Internal_Reference>
        <Source_Product_External>
            <external_source_product_identifier>CO-E/SW/J/S-MAG-2-REDR-RAW-DATA-V2.0:12094_MRDCD_SDFGMC:12094_MRDCD_SDFGMC.FFD</external_source_product_identifier>
            <reference_type>data_to_raw_source_product</reference_type>
            <doi>10.17189/1519599</doi>
            <curating_facility>PDS Planetary Plasma Interactions Node</curating_facility>
            <description>
                This is the first version converted to PDS4. The DOI provided
                references the PDS3 source data set. 
            </description>
        </Source_Product_External>
    </Reference_List>
    <File_Area_Observational>
        <File>
            <file_name>12094_MRDCD_SDFGMC.FFD</file_name>
            <creation_date_time>2013-02-27T11:39:05.000Z</creation_date_time>
            <file_size unit="byte">19260416</file_size>
            <md5_checksum>6e471b2b508d870d89a9c459ef83db91</md5_checksum>
            <comment>                                             
ABSTRACT                                                                      
MISSING DATA FLAG  =   1.00000E+34                                            
AVERAGE INTERVAL   =     00:00:00.124                                         
#########                                                                     
CASSINI ABSTRACT                                                              
#########                                                                     
INPUT FILE: 12094_mrdcd                                                       
FLAT FILE MAKER: caspre2ff v1.7 SUN                                           
COMPILATION DATE : 02/08/12-13:04:45                                          
wTime0 and MCI determine dt between vectors except for channel data           
Use Configuration File : T --- Use IFC Table    : T                           
Configuration File     : 12094_mrdcd_HKCONN                                   
IFC File               : 12094_mrdcd_fhk.ifc                                  
User defined wtime0    : F --- User defined MCI : F                           
Default wTime0         :   125.00000                                          
Default MCI            :    62.47700                                          
Time for channel data is extracted from the Tertiary data                     
SCET (Jan 1, 1958 00:00:00) 2012 094 APR  3 00:00:07.378 1712102407.378       
SCLK (Jan 1, 1958 00:00:00) 2012 094 APR  3 00:51:35.223 1712105495.223       
Flatfile times are SCLK based t0 = Jan 1 1958 00:00:00                        
TIMEOFFSET  0.000000 SCLKDIFFFLAT 0.000000                                    
CASSINI SCLK (1958)= FLATFILE (1966)+ SCLKDIFFFLAT                            
FIRST/LAST TIMEs are SCLK conversions to a UT-like                            
format using the approximation of 1 sclk tick equals 1 second                 
#########                                                                     
PROGRAM         : casupdate                                                   
INPUT FILE      : /data1/tlm/prep/12094/mrdcd/12094_mrdcd_SDFGMC              
INPUT TABLE     : /casdata1/cmd/txt/scastimes_final.scas                      
COLUMN ID  :   5.                                                             
BYTE 0 BIT  1                                                                 
TYPE 4 :  SCAS                                                                
FLAT FILE MAKER: casupdate v1.5 SUN                                           
#########                                                                     
PROGRAM         : casupdate                                                   
INPUT FILE      : /data1/tlm/prep/12094/mrdcd/12094_mrdcd_SDFGMC              
INPUT TABLE     : /data1/tlm/prep/12094/mrdcd/12094_mrdcd_fhk.fgmAuto         
COLUMN ID  :   6.                                                             
BYTE 0 BIT  3                                                                 
TYPE 1 :  FGM                                                                 
FLAT FILE MAKER: casupdate v1.5 SUN
            </comment>
        </File>
        <Table_Binary>
            <offset unit="byte">0</offset>
            <records>687872</records>
            <description>                                             
      12094_MRDCD_SDFGMC is an IGPP Flatfile which consists of two            
      files: a data file (.FFD) and a header file (.FFH). The data file is    
      a binary, fixed record length file, and the header is an ASCII file.    
      All of the Cassini MAG flatfiles represent time as a spacecraft         
      clock value, referenced to 1958, with the minor frame converted from    
      units of 1/256 sec to units of milliseconds. This label provides a      
      mapping between the internal time representation  (NATIVE_START_TIME),  
      true spacecraft clock (SPACECRAFT_CLOCK_START_COUNT) and spacecraft     
      event time in UTC (START_TIME). See the collection description file       
      (data-sci-fgm-scirate-desc.txt) and the MAG volume SIS (VOLSIS.PDF) for            
      additional information on the MAG time tag.                                        
                                                                              
      The FGM data file contains the following columns:                       
                                                                              
      Name        Units        Description                                    
      =================================================================       
      SCLK(1958)  Counts      Time (sclk NOT UTC) is represented as           
                              decimal seconds relative to the epoch           
                              Jan 1 1958 00:00:00.000.                        
      BX,BY,BZ(3) ENG         Magnetic field component along the              
                              fluxgate sensor X-axis, Y-axis, and             
                              Z-axis respectively. Data are in                
                              engineering units.                              
      MAG Status  N/A         Array of bits containing status                 
                              information related to active MAG               
                              magnetometer modes, packet type, etc.           
      FGM Status  N/A         Array of bits containing status                 
                              information for the FGM instrument.             
      =================================================================
            </description>
            <Record_Binary>
                <fields>6</fields>
                <groups>0</groups>
                <record_length unit="byte">28</record_length>
                <Field_Binary>
                    <name>SCLK(1958)</name>
                    <field_number>1</field_number>
                    <field_location unit="byte">1</field_location>
                    <data_type>IEEE754MSBDouble</data_type>
                    <field_length unit="byte">8</field_length>
                    <unit>Counts</unit>
                    <description>                                             
        Time (SCLK NOT UTC) is represented as a decimal SCLK count relative   
        to the epoch Jan 1 1958 00:00:00.000.
                    </description>
                </Field_Binary>
                <Field_Binary>
                    <name>X_FGM</name>
                    <field_number>2</field_number>
                    <field_location unit="byte">9</field_location>
                    <data_type>IEEE754MSBSingle</data_type>
                    <field_length unit="byte">4</field_length>
                    <unit>Engineering Units</unit>
                    <description>                                             
        Magnetic field component along the fluxgate sensor X-axis in          
        engineering units.                                                    
                                                                              
       Magnetic-field units                                                   
                                                                              
       The units of the preprocessed FGM magnetic-field data are given in     
       engineering units.  They represent the X, Y, and Z FGM sensor values at
       the given time.  These values were converted from data numbers (DN)    
       using the following:                                                   
          ENG = (DN - 8192) / 8192 * factor.                                  
       The value of the factor is determined from the range given with each   
       vector using the following table:                                      
                 Range       Factor                                           
                     0           40                                           
                     1          400                                           
                     2        10000                                           
                     3        44000                                           
       In order to convert the ENG unit data into nanoTesla, the sensor       
       offsets must be subtracted out, gains must be applied, and the data    
       from the 3 sensors must be orthogonalized.
                    </description>
                    <Special_Constants>
                        <missing_constant>1.0E+34</missing_constant>
                    </Special_Constants>
                </Field_Binary>
                <Field_Binary>
                    <name>Y_FGM</name>
                    <field_number>3</field_number>
                    <field_location unit="byte">13</field_location>
                    <data_type>IEEE754MSBSingle</data_type>
                    <field_length unit="byte">4</field_length>
                    <unit>Engineering Units</unit>
                    <description>                                             
        Magnetic field component along the fluxgate sensor Y-axis in          
        engineering units.
                    </description>
                    <Special_Constants>
                        <missing_constant>1.0E+34</missing_constant>
                    </Special_Constants>
                </Field_Binary>
                <Field_Binary>
                    <name>Z_FGM</name>
                    <field_number>4</field_number>
                    <field_location unit="byte">17</field_location>
                    <data_type>IEEE754MSBSingle</data_type>
                    <field_length unit="byte">4</field_length>
                    <unit>Engineering Units</unit>
                    <description>                                             
        Magnetic field component along the fluxgate sensor Z-axis in          
        engineering units.
                    </description>
                    <Special_Constants>
                        <missing_constant>1.0E+34</missing_constant>
                    </Special_Constants>
                </Field_Binary>
                <Field_Binary>
                    <name>MAGSTATUS</name>
                    <field_number>5</field_number>
                    <field_location unit="byte">21</field_location>
                    <data_type>UnsignedMSB4</data_type>
                    <field_length unit="byte">4</field_length>
                    <description>
       The MAGStatus data are an array of bits that describe the status of the
       MAG equipment, as set out in the following table.                      
                        
        FIELD        SIZE  NAME                           BYTE   BIT          
        PacketType      1  Housekeeping/Science-data flag    0     7  MSB     
        SCAS            1  SCAS status                       0     6          
        AverageType     1  Average Type (fixed/running)      0     5          
        SHMFlag         1  SHM Flag                          0     4          
        VHMFlag         1  VHM Flag                          0     3          
        FGMFlag         1  FGM Flag                          0     2          
        ADCFlag         1  ADC Flag                          0     1          
        MCI             9  Measurement Cycle Interrupt     0-1 0,7-0  LSB,MSB 
        Average         5  TimeCode Missing                  2     2          
        sparebits       2  spare two bits                    2   1-0          
       BIU Discretes                                       3-4     8         
        PROM            1  PROM program                      3     7  MSB     
        ConfigEnable    1  Config-Enable                     3     6          
        PSU_2           1  PSU 2                             3     5          
        PSU_1           1  PSU 1                             3     4          
        Processor_B     1  Processor B                       3     3          
        Processor_A     1  Processor A                       3     2          
        SleepMode       1  Sleep Mode                        3     1          
        Reset           1  Reset                             3     0  LSB
                    </description>
                </Field_Binary>             
                <Field_Binary>
                    <name>FGMSTATUS</name>
                    <field_number>6</field_number>
                    <field_location unit="byte">25</field_location>
                    <data_type>UnsignedMSB4</data_type>
                    <field_length unit="byte">4</field_length>
                    <description>
        The FGMStatus data are an array of bits that describe the status of   
        the FGM, as set out in the following table.                           
                        
         FIELD        SIZE  NAME                           BYTE   BIT         
         rg              2  Range                             0   7-6  MSB    
         IFCFlag         1  IFC Flag on/off                   0     5         
         autorange       1  AutoRange on/off                  0     4         
         TimeStatus      4  time quality status               0   3-0  LSB    
         sparebyte       8  spare bits                        1   7-0         
         CalibId         8  Calibration Id                    2   7-0         
         CoordId         8  Field Angle data                  3   7-0
                    </description>
                </Field_Binary>
            </Record_Binary>
        </Table_Binary> 
    </File_Area_Observational>
    <File_Area_Observational_Supplemental>
        <File>
            <file_name>12094_MRDCD_SDFGMC.FFH</file_name>
            <creation_date_time>1969-12-31T16:00:00</creation_date_time>
            <file_size unit="byte">4176</file_size>
            <records>58</records>
            <md5_checksum>0e23e1bc8a971555e212126b381414ea</md5_checksum>
            <comment>
                This file is a UCLA flatfile header for the accompanying data file.
            </comment>
        </File>
        <Header>
            <offset unit="byte">0</offset>
            <object_length unit="byte">72</object_length>
            <parsing_standard_id>7-Bit ASCII Text</parsing_standard_id>
            <description>                                             
      12094_MRDCD_SDFGMC.FFH is a UCLA flatfile header containing             
      formatting information for the accompanying data file                   
      (12094_MRDCD_SDFGMC.FFD). This header is used to read the data          
      file by a variety of software packages developed at UCLA. Other users   
      of the data may ignore this file.
            </description>
        </Header>
    </File_Area_Observational_Supplemental>    
</Product_Observational>
