<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1F00.sch" 
    schematypens="http://purl.oclc.org/dsdl/schematron" ?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/mess/v1/PDS4_MESS_1B00_1101.sch" 
    schematypens="http://purl.oclc.org/dsdl/schematron" ?>
<Product_Observational
   xmlns="http://pds.nasa.gov/pds4/pds/v1"
   xmlns:mess="http://pds.nasa.gov/pds4/mission/mess/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_1F00.xsd

      http://pds.nasa.gov/pds4/mission/mess/v1
      https://pds.nasa.gov/pds4/mission/mess/v1/PDS4_MESS_1B00_1101.xsd
     ">
    <Identification_Area>
        <logical_identifier>urn:nasa:pds:mess-mag-calibrated:data-cal-lac:magcallac12349</logical_identifier>
        <version_id>1.0</version_id>
        <title>MESSENGER MAG Calibrated AC 2012-12-14 00:00:10.318 - 2012-12-15 00:00:01.120</title>
        <information_model_version>1.15.0.0</information_model_version>
        <product_class>Product_Observational</product_class>
        <Citation_Information>
            <author_list>Korth, H.</author_list>
            <publication_year>2021</publication_year>
            <description>
                The table contains the timetags and average output amplitude in units
                of nano-Tesla of a 1-to-10 Hz bandpass filter for a single magnetometer
                axis selected by command. The sampling rate is 1/s. The table contains
                data from MAG LAC packets generated on a given day with one LAC sample
                given per row.
                The TIME_TAG corresponds to the center time of the one-second interval
                used to calculate the LAC value. START_TIME and STOP_TIME correspond to
                the TIME_TAG values of the first row and last row (respectively) in the
                table.
            </description>
        </Citation_Information>
        <Modification_History>
            <Modification_Detail>
                <modification_date>2021-03-25</modification_date>
                <version_id>1.0</version_id>
                <description>
                    This product, MAGCALLAC12349_V08.TAB, was originally released in 2015 
                    as part of the PDS3 MESS-E/V/H/SW-MAG-3-CDR-CALIBRATED-V1.0 dataset. 
                    The metadata have been migrated to PDS4. The data themselves are unchanged.
                </description>
            </Modification_Detail>
        </Modification_History>
    </Identification_Area>
    <Observation_Area>
        <Time_Coordinates>
            <start_date_time>2012-12-14T00:00:10.318Z</start_date_time>
            <stop_date_time>2012-12-15T00:00:01.120Z</stop_date_time>
        </Time_Coordinates>
        <Primary_Result_Summary>
            <purpose>Engineering</purpose>
            <processing_level>Calibrated</processing_level>
        </Primary_Result_Summary>
        <Investigation_Area>
            <name>MESSENGER</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>Magnetometer</name>
                <type>Instrument</type>
                <Internal_Reference>
                    <lid_reference>urn:nasa:pds:context:instrument:mag.mess</lid_reference>
                    <reference_type>is_instrument</reference_type>
                </Internal_Reference>
            </Observing_System_Component>
            <Observing_System_Component>
                <name>MESSENGER</name>
                <type>Host</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>
        <Target_Identification>
            <name>Mercury</name>
            <type>Planet</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:target:planet.mercury</lid_reference>
                <reference_type>data_to_target</reference_type>
            </Internal_Reference>
        </Target_Identification>
        <Mission_Area>
            <mess:MESSENGER>
                <mess:mission_phase_name>Mercury Orbit Year 2</mess:mission_phase_name>
                <mess:spacecraft_clock_start_count>1/263930676.150</mess:spacecraft_clock_start_count>
                <mess:spacecraft_clock_stop_count>1/264017066.950</mess:spacecraft_clock_stop_count>
            </mess:MESSENGER>
        </Mission_Area>
    </Observation_Area>
    <Reference_List>
        <Source_Product_External>
            <external_source_product_identifier>MESS-E/V/H/SW-MAG-3-CDR-CALIBRATED-V1.0:magcallac12349</external_source_product_identifier>
            <reference_type>data_to_calibrated_source_product</reference_type>
            <doi>10.17189/1519745</doi>
            <curating_facility>NASA Planetary Data System</curating_facility>
            <description>This is the first version of this product converted to PDS4. The DOI provided
                references the PDS3 source data set.</description>
        </Source_Product_External>
    </Reference_List>
    <File_Area_Observational>
        <File>
            <file_name>MAGCALLAC12349_V08.TAB</file_name>
            <creation_date_time>2016-03-02T08:34:10.000Z</creation_date_time>
            <file_size unit="byte">4319300</file_size>
            <md5_checksum>c3f863fe59ac44b5c63a6ec202a286c7</md5_checksum>
            <comment>This data file is unmodified from the PDS3 version.</comment>
        </File>
        <Table_Character>
            <offset unit="byte">0</offset>
            <records>86386</records>
            <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
            <Record_Character>
                <fields>8</fields>
                <groups>0</groups>
                <record_length unit="byte">50</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>
                    <description>UTC year associated with the LAC sample in
    each record.</description>
                </Field_Character>
                <Field_Character> 
                    <name>DAY_OF_YEAR</name>
                    <field_number>2</field_number>
                    <field_location unit="byte">6</field_location>
                    <data_type>ASCII_Integer</data_type>
                    <field_length unit="byte">3</field_length>
                    <description>UTC day of year associated with the LAC
    sample in each record.</description>
                </Field_Character>
                <Field_Character> 
                    <name>HOUR</name>
                    <field_number>3</field_number>
                    <field_location unit="byte">10</field_location>
                    <data_type>ASCII_Integer</data_type>
                    <field_length unit="byte">2</field_length>
                    <description>UTC hour associated with the LAC sample
    in each record.</description>
                </Field_Character>
                <Field_Character> 
                    <name>MINUTE</name>
                    <field_number>4</field_number>
                    <field_location unit="byte">13</field_location>
                    <data_type>ASCII_Integer</data_type>
                    <field_length unit="byte">2</field_length>
                    <description>UTC minute associated with the LAC sample
    in each record.</description>
                </Field_Character>
                <Field_Character> 
                    <name>SECOND</name>
                    <field_number>5</field_number>
                    <field_location unit="byte">16</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">6</field_length>
                    <description>UTC second associated with the LAC sample
    in each record.</description>
                </Field_Character>
                <Field_Character> 
                    <name>TIME_TAG</name>
                    <field_number>6</field_number>
                    <field_location unit="byte">23</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">13</field_length>
                    <description>A derived value for the time tag associated
      with the data values in each record.                              
      The derived value is created by the following formula:               
      MET + 0.05 * delta_ts + 0.5 + (dt_sample)*(i-1)*(num_samples/num_AC).
      MET is the mission elapsed time for the entire science packet.       
      delta_ts is the time in seconds between the MET and the first sample 
      in the science packet.                                               
      dt_sample is the time between samples in seconds and is given by     
      dt_sample = 1/sample_rate where sample_rate is the reported sample   
      rate in samples per second.                                          
      num_samples is number of magnetometer samples.                       
      num_AC is the number of logAC values.                                
      i is the incremental counter for each of the logAC values. i=1 is the
      first logAC value in the science packet.
    </description>
                </Field_Character>
                <Field_Character> 
                    <name>AC_AXIS</name>
                    <field_number>7</field_number>
                    <field_location unit="byte">37</field_location>
                    <data_type>ASCII_Integer</data_type>
                    <field_length unit="byte">1</field_length>
                    <description>AC axis selected. =0 X, =1 Y, =2 Z</description>
                </Field_Character>
                <Field_Character> 
                    <name>B_AC</name>
                    <field_number>8</field_number>
                    <field_location unit="byte">39</field_location>
                    <data_type>ASCII_Real</data_type>
                    <field_length unit="byte">10</field_length>
                    <description>Average output amplitude in units
            of nano-Tesla of a 1-to-10 Hz bandpass filter for the selected
            magnetometer axis selected by command.</description>
                </Field_Character>
            </Record_Character>
        </Table_Character>
    </File_Area_Observational> 
</Product_Observational>
