|
Mars Exploration Rover (MER) Software Interface Specification |
|
Interface Title: APXS Experiment Data Record (EDR) Mission: MER Date: July 30, 2004 Module ID: SIS-SCI008-MER Module Type (REFerence Only or MISsion-specific info included): MIS |
|
Reference Module ID: N/A Date: N/A |
|
Signatures GDS Generating Elements: Ops Product Generation Subsystem (OPGS) Justin Maki ______________________________________________________ Subsystem Engineer Date GDS Receiving Elements: MER GDS SOAS Subsystem Engineer Deborah Bass ______________________________________________________ Subsystem Engineer Date Concurrance: APXS Payload Element Lead Rudolf Rieder ______________________________________________________ PEL Date MER APXS Investigation Scientist Albert Yen ______________________________________________________ Investigation Scientist Date MER Science Manager John Callas ______________________________________________________ Manager Date PDS Central Node Data Engineer Betty Sword ______________________________________________________ Data Manager Date MER MIPL Cognizant Engineer Doug Alexander ______________________________________________________ Cognizant Engineer Date
GDS: Ground Data System (GDS) Frank Singleton ______________________________________________________ GDS SE Date |
Mars Exploration Rover (MER) Project
APXS EDR Software Interface Specification (SIS)
Version 2.01
Prepared by:
Edward A. Guinness
MER APXS SIS Custodian
Helen Mortensen
Paper copies of this document may not be current and should not be relied on for official purposes. The current version is in the MER Project Library at http://mars03-lib.jpl.nasa.gov, in the Controlled Documents and Records folder.
JPL D-22848
July 30, 2004
Jet Propulsion Laboratory
California Institute of Technology
|
DATE |
SECTIONS CHANGED |
REASON FOR CHANGE |
REVISION |
|
9/15/01 |
All |
First draft |
Draft v0.1 |
|
11/18/01 |
All |
MIPL additions |
Draft v0.2 |
|
1/16/02 |
All |
Second draft |
Draft v0.3 |
|
7/31/02 |
All |
Work off TBD items |
Version 1 |
|
10/12/02 |
Sec. 2.3.3, Sec. 2.3.4, Appendix A, Appendix B |
Update to reflect decision to not support multiple instances of groups, support unique group names, use a Data Product as the input to mertelemproc, and update the file naming convention. Deleted the TELEMETRY_PROVIDER_TYPE, SOURCE_ID, and GROUP_ID keywords. |
Version 1.1 |
|
11/26/02 |
Cover Page, 2.3.2, 3.2, Appendix A |
Replace Craig Leff with Arthur Amador, update to reflect data products, update to add new temperature correction factors and engineering data component. |
Version 1.2 |
|
12/3/02 |
3.2 Table 4, Table 5 |
Added additional fields according the APXS IICD document |
Version 1.2 |
|
12/5/02 |
3.2 Table 4, Table 5, appendix A |
Update with information from Ralf Gellert on the temperature compensation. Change Alpha spectra references to alpha1 and changed background to alpha2 in the text and in the label. |
Version 1.2 |
|
12/10/02 |
1.3, 2.1, 2.2, 2.3.4, 3.2 Table 4, Table 5, Appendix A |
Added new reference. Update timing information. Update with more detailed information from Ralf Gellert and Ed Guiness on engineering data and change from background to alpha2. Change order of temperature data. |
Version 1.2 |
|
12/12/02 |
Table 4, Table 5, Appendix A |
Changed ADRESS to ADDRESS and made all integers UNSIGNED. |
Version 1.2 |
|
12/20/02 |
Update 1.3 and Appendix A |
Update references and change BEGIN to START and END to STOP in group names. |
Version 1.2 |
|
3/7/03 |
All |
Removed SOAS as receiving element. Updated the file naming convention, removed PRODUCER_ID and INSTRUMENT_VERSION_ID. Several updates to the example label. Added RELEASE_ID |
Version 2.0 |
|
3/28/03 |
2.3.4, Appendix A & B, |
File naming convention update. Add Z to time formats, PRODUCT_VERISON_ID update. |
Version 2.0 |
|
6/13/03 |
2.3.4, Appendix A & B |
File naming convention update. Updated label and definitions. Removed SPICE_FILE_ID |
Version 2.0 |
|
9/15/03 |
TBD, 2.2, 3.2, 4.2, Appendix A & B |
Updates on spectrum id from Ed Guiness. Added LOCAL_TRUE_SOLAR_TIME to label. Removed section 4.2. |
Version 2.0 |
|
10/7/03 |
Appendix A & B |
Removed TLM_CMD_DISCREPANCY_FLAG keyword. Added SAMPLING_COUNT to address TBD item for needing TELEMETRY_COUNT keyword. |
Version 2.0 |
|
11/6/03 |
Acronyms, Figure 1, Appendix A |
Update coordinate system diagram, fix typos. |
Version 2.0 |
|
7/30/04 |
Appendix A |
For archive data, added double quotes to RELEASE_ID, LOCAL_TRUE_SOLAR_TIME, OBSERVATION_ID, SEQUENCE_VERSION_ID, SPACECRAFT_CLOCK_START_COUNT, SPACECRAFT_CLOCK_STOP_COUNT. Removed double quotes from PRODUCT_CREATION_TIME, START_TIME, STOP_TIME, EARTH_RECEIVED_START_TIME, EARTH_RECEIVED_STOP_TIME. Added OPS to DATA_SET_ID. |
VERSION 2.01 |
|
SECTION |
DESCRIPTION |
CHANGE LOG............................................................................................................................... ii
TBD ITEMS................................................................................................................................... iv
CONTENTS................................................................................................................................... v
LIST OF FIGURES....................................................................................................................... vi
LIST OF TABLES........................................................................................................................ vi
ACRONYMS AND ABBREVIATIONS...................................................................................... vii
GLOSSARY.................................................................................................................................. ix
1. INTRODUCTION....................................................................................................................... 1
1.1 Purpose and Scope........................................................................................................... 1
1.2 Contents............................................................................................................................... 1
1.3 Applicable Documents and Constraints........................................................................... 1
1.4 Relationships with Other Interfaces................................................................................... 2
2. Data Product Characteristics and Environment........................................ 2
2.1 Instrument Overview............................................................................................................ 2
2.2 Data Product Overview...................................................................................................... 3
2.3 Data Processing................................................................................................................. 3
2.3.1 Data Processing Level............................................................................................... 3
2.3.2 Data Product Generation............................................................................................ 4
2.3.3 Data Flow..................................................................................................................... 4
2.3.4 Labeling and Identification.......................................................................................... 5
2.4 Standards Used in Generating Data Products................................................................ 7
2.4.1 PDS Standards........................................................................................................... 7
2.4.2 Time Standards........................................................................................................... 7
2.4.3 Coordinate Systems................................................................................................... 7
2.4.4 Data Storage Conventions......................................................................................... 9
2.5 Data Validation................................................................................................................... 9
3. Detailed Data Product Specifications............................................................. 10
3.1 Data Product Structure and Organization...................................................................... 10
3.2 Data Format Descriptions............................................................................................... 10
3.3 Label and Header Descriptions...................................................................................... 14
3.3.1 PDS Label................................................................................................................. 14
3.3.2 PDS Data Objects.................................................................................................... 14
4. Applicable Software.................................................................................................. 15
4.1 Utility Programs................................................................................................................ 15
Appendix A - Example of AN APXS-EDR Label....................................................... 16
APPENDIX B - APXS Label Keyword Definitions................................................... 26
Figure 1: S, SR, and R Frame Coordinate Systems................................................................. 9
Figure 2:The APXS EDR consists of two files....................................................................... 10
Figure 3: Schematic of an APXS EDR data file...................................................................... 11
Figure 4: Data structure for an APXS measurement.............................................................. 11
Table 1: Product and Software Interfaces to this SIS................................................................ 2
Table 2: Processing Levels for Science Data Sets.................................................................. 3
Table 3: Coordinate Frames Used for MER Surface Operations........................................... 8
Table 4: MER APXS Measurement Data Components......................................................... 12
Table 5: MER APXS Engineering Data Component.............................................................. 13
|
ASCII |
American Standard Code for Information Interchange |
|
APSS |
Activity Planning and Sequencing Subsystem |
|
APXS |
Alpha Particle X-ray Spectrometer |
|
CODMAC |
Committee on Data Management and Computation |
|
EDR |
Experiment Data Record |
|
FEI |
File Exchange Interface |
|
ICD |
Interface Control Document |
|
IDD |
Instrument Deployment Device |
|
ISO |
International Standards Organization |
|
JPL |
Jet Propulsion Laboratory |
|
Kbyte |
Kilobytes |
|
LSB |
Least Significant Byte |
|
MB |
Mega Bytes |
|
MER |
Mars Exploration Rover |
|
MIPL |
Multimission Image Processing Laboratory |
|
MSB |
Most Significant Byte |
|
NASA |
National Aeronautics and Space Administration |
|
ODL |
Object Description Language |
|
OPGS |
Operations Product Generation Subsystem |
|
OSS |
Operations Storage Server |
|
PDS |
Planetary Data System |
|
PEL |
Payload Element Lead |
|
PPPCS |
Pointing, Positioning, Phasing & Coordinate Systems |
|
RAM |
Random Access Memory |
|
RDR |
Reduced Data Record |
|
RSVP |
Rover Sequence and Visualization Program |
|
SAP |
Science Activity Planner |
|
SCM |
Spacecraft Configuration Manager |
|
SFDU |
Standard Formatted Data Unit |
|
SIS |
Software Interface Specification |
|
SOAS |
Science Operations Analysis Subsystem |
|
SSW |
System Software |
|
TBD |
To Be Determined |
|
TC |
Temperature Compensation |
|
TDS |
Telemetry Delivery Subsystem |
|
URL |
Universal Resource Locator |
|
WEB |
Warm Electronics Box |
|
TERM |
DEFINITION |
|
Meta-Data |
Selected or summary information about data. PDS catalog objects and data product labels are forms of meta-data for summarizing important aspects of data sets and data products. |
The purpose of this data product Software Interface Specification (SIS) is to provide users of the Alpha Particle X-ray Spectrometer (APXS) Experiment Data Record (EDR) with a detailed description of the product and a description of how it was generated, including data sources and destinations. An APXS EDR contains data for twelve measurements, each of which consists of an alpha, x-ray, and background spectrum, along with temperature data. The APXS EDR data are stored in binary format. The APXS science team will produce a set of APXS Reduced Data Record (RDR) products in ASCII format. The RDRs will be described in a separate SIS document.
This SIS is intended to provide enough information to enable users to understand the APXS EDR data product. The users for whom this SIS is intended are software developers of the programs used in generating the EDR products and scientists who will analyze the data, including those associated with the Mars Exploration Rover (MER) Project and those in the general planetary science community.
This data product SIS describes how the MER APXS instrument acquires its data, and how the data are processed, formatted, labeled, and uniquely identified. The document discusses standards used in generating the product and software that may be used to access the product. The data product structure and organization is described in sufficient detail to enable a user to read the product. Finally, an example of a product label is provided.
This data product SIS is responsive to the following MER documents:
1. Mars Exploration Program Data Management Plan, R. E. Arvidson, S. Slavney and S. Nelson, Rev. 3, March 20, 2002.
2. Mars Exploration Rover Project Archive Generation, Validation and Transfer Plan, R. E. Arvidson and S. Slavney, JPL D-19658, March 22, 2002.
3. MER Flight-Mission Systems ICD (FMICD), Vol. 4 Command Dictionary, MER 420-3-15.04, JPL D-20616.
4. MER Flight-Mission Systems ICD (FMICD), Vol. 7 Telemetry Dictionary, MER 420-3-15.047 JPL D-20617.
5. Pointing, Positioning, Phasing & Coordinate Systems Master (PPPCS), S.R. Doudrick, JPL D-19720, June 28, 2001.
This SIS is also consistent with the following Planetary Data System documents:
6. Planetary Data System Data Preparation Workbook, Version 3.1, JPL D-7669, Part 1, February 1, 1995.
7. Planetary Data System Data Standards Reference, Version 3.6, JPL D-7669, Part 2, August 1, 2003.
8. Planetary Science Data Dictionary Document, JPL D-7116, August 28, 2002.
9. Mars Exploration Rover Alpha Particle X-Ray Spectrometer Information Interface Control Document, R. Heninger, Rev. B, JPL-D20251, September 10, 2002.
Finally, this SIS is meant to be consistent with the contract negotiated between the MER Project and the Athena Principal Investigator (PI) in which experiment data records and documentation are explicitly defined as deliverable products.
Changes to this APXS EDR SIS document affect the products, software, and/or documents listed in Table 1.
Table 1: Product and Software Interfaces to this SIS
|
Name |
Type P=product S=software D=document |
Owner |
|
APXS EDRs |
P |
OPGS/MIPL |
|
mertelemproc |
S |
MIPL |
|
MIPL database schema |
P |
MIPL |
|
APXS RDRs |
P |
APXS Science Team |
|
APXS RDR SIS |
D |
APXS Science Team |
|
Other APXS Programs/Products/Documents |
P/S/D |
APXS Science Team |
|
apxs2asc |
S |
Geosciences Node |
The MER APXS instrument is similar to the APXS flown on the Mars Pathfinder rover, but without the proton mode. The MER APXS will determine the dominant elements that make up martian surface rocks and soils by irradiating a sample with alpha particles and x-rays from a radioactive source. It will measure the energy spectra of backscattered alpha particles and emitted x-rays. The instrument consists of a sensor head mounted on the rover's Instrument Deployment Device (IDD), and electronics mounted in the rover's Warm Electronics Box. The sensor head contains six radioactive sources and six alpha detectors and one x-ray detector. The instrument also has two temperature sensors; one located on the sensor head and one located on the electronics board. The APXS can measure two separate onboard calibration targets for post-landing calibration.
Most APXS data collection on Mars will be done at night. APXS data are stored in the instrument's RAM, which contains twelve 2.5 Kbyte sections of memory. During a measurement session, data are accumulated and stored in a 2.5 Kbyte working area of memory within the instrument's RAM. After 90 minutes, the measurement is halted and the current measurement data are shifted to the next 2.5 Kbyte section of memory, the working area is cleared, and the measurement is restarted. Thus, the APXS memory can store up to twelve sets of measurements. After twelve measurements are collected, the oldest measurement is discarded as a new 2-hr measurement starts.
Each APXS EDR will consist of two files. The first file is an ASCII formatted detached PDS label. The second file is a binary data file. The APXS EDR data file is a copy of what was in the APXS memory buffer. That is, the EDR consists of unprocessed experiment data stored in binary format. The APXS EDR contains energy spectra in units of counts and temperature values. Temperatures are derived from the two temperature sensors. There are two types of APXS spectra in each measurement: one x-ray, and two alpha spectra. The energy scale is divided into discrete channels with 256 channels for the alpha spectra and 512 channels for the x-ray spectra.
Both alpha spectra use the same detectors, but the second alpha detectors are covered, thus measuring only background events.
The instrument holds data for the twelve most recent measurements in memory. When a new measurement begins, the oldest one is discarded. Each spectrum has a unique identifier. There are also 2 Kbytes at the end of the APXS EDR data file that are transferred from the instrument's internal RAM. This 2 Kbyte section of RAM is used for instrument engineering data.
This SIS uses the Committee On Data Management And Computation (CODMAC) data level numbering system to describe the processing level of the EDR data product. APXS EDR data products are considered CODMAC "Level 2" or "Edited Data" (equivalent to NASA level 0) products. The EDR data files are generated from "Level 1" or "Raw Data", which are the telemetry packets within the project specific Standard Formatted Data Unit (SFDU) record. Refer to Table 2 for a breakdown of the CODMAC and NASA data processing levels.
Table 2: Processing Levels for Science Data Sets
|
NASA |
CODMAC |
Description |
||||
|
Packet data |
Raw - Level 1 |
Telemetry data stream as received at the ground station, with science and engineering data embedded. |
||||
|
Level-0 |
Edited - Level 2 |
Instrument science data (e.g., raw voltages, counts) at full resolution, time ordered, with duplicates and transmission errors removed. |
||||
|
Level 1-A |
Calibrated - Level 3 |
Level 0 data that have been located in space and may have been transformed (e.g., calibrated, rearranged) in a reversible manner and packaged with needed ancillary and auxiliary data (e.g., radiances with the calibration equations applied). |
||||
|
Level 1-B |
Resampled - Level 4 |
Irreversibly transformed (e.g., resampled, remapped, calibrated) values of the instrument measurements (e.g., radiances, magnetic field strength). |
||||
|
Level 2 |
Derived - Level 5 |
Geophysical parameters, generally derived from Level 1 data, and located in space and time commensurate with instrument location, pointing, and sampling. |
||||
|
Level 3 |
Derived - Level 5 |
Geophysical parameters mapped onto uniform space-time grids. |
||||
The APXS EDR data products will be generated by the MIPL (Multimission Image Processing Laboratory) at JPL under the OPGS using the telemetry processing software, mertelemproc. The EDR data products will be raw uncalibrated data reconstructed from telemetry data products and formatted according to this EDR SIS. Meta-data acquired from the telemetry data headers will be used to populate the PDS label. There will not be multiple versions of an APXS EDR. If telemetry packets are missing during the initial downlink from the rover memory, partial data sets will be created and the missing data will be filled with [zeroes]. The data will be reprocessed after all data are received and the original version will be overwritten.
The APXS memory is maintained by a battery, and in theory, retransmits from the APXS memory could be commanded. In this instance, a new data product will be created, because there will likely be subtle and potentially useful changes in the data when a retransmit from the APXS memory is commanded.
The APXS EDR data products generated by MIPL during operations are created collectively from: a) SSW data products b) SPICE kernels, and c) a meta-data database. They are created on the OSS and then deposited into MIPL's File Exchange Interface (FEI) for electronic distribution to remote via a secure subscription protocol. After a data validation period, the APXS EDR data products are collected with other science data andwritten to physical media for archiving with the Planetary Data System [see reference 2].
The size of the APXS EDR data file is 0.032 MB. The APXS EDR will be generated 60 seconds after the data product for the EDR has been received by MIPL. The APXS data will be reprocessed only if packets in the original downlink are not received. Partial files are created with missing data filled with zeroes. The APXS EDR will be reprocessed after all data is retransmitted and received and the original version will be overwritten and placed into FEI for distribution.
There is a file naming scheme adapted for the MER image and non-image data products. The scheme applies to the EDR and several RDR data products. The file naming scheme adheres to the Level II 27.3 filename convention to be compliant with PDS standards.
Each MER EDR or RDR data product can be uniquely identified by incorporating into the product filename the Rover Mission identifier, the Instrument identifier, the Starting Spacecraft Clock count (SCLK) of the camera event, the data Product Type, the Site location, the rover Position within the site, the Sequence number, the camera "Eye", the spectral Filter, the product Creator identifier and a Version number. For non-camera data, several fields do not apply.
Each APXS EDR has a detached PDS label associated with the APXS binary data file. The file naming scheme for the APXS EDR and RDR data products is formed by:
<rover><inst>< sclk><prod><site>< pos><seq><eye>< filt><who><ver> .<ext>
|
where, |
|||||||||||||||||||||||||||||||||||
|
rover |
= |
(1 integer) MER rover mission identifier. Valid values are "1" (MER-1), "2" (MER-2), "3" (SIM-1) or "4" (SIM-2) |
|||||||||||||||||||||||||||||||||
|
inst |
= |
(1 alpha character) MER science instrument identifier. Valid values for MER instruments: |
|||||||||||||||||||||||||||||||||
|
|
"A" - APXS "B" - Mössbauer |
"T" - Mini-TES "D" - RAT ("D" for Drill) |
|||||||||||||||||||||||||||||||||
|
|
Valid values for MER camera instruments not described in this SIS: |
||||||||||||||||||||||||||||||||||
|
|
"P" - Pancam "N" - Navcam "F" - Front Hazcam |
"R" - Rear Hazcam "M" - Microscopic Imager "E" - EDLcam |
|||||||||||||||||||||||||||||||||
|
sclk |
= |
(9 integers) Spacecraft Clock time from the DVT (Data Validity Time) |
|||||||||||||||||||||||||||||||||
|
prod |
= |
(3 alpha characters) Product type. Indicates the product to be an EDR or one of several types of Non-projected RDRs. All product types that begin with "E" denote a type of EDR, while all other product types denote a type of Non-projected RDR. Valid values for MER non-camera instrument products: |
|||||||||||||||||||||||||||||||||
|
|
Data Product |
Value |
|
|
|||||||||||||||||||||||||||||||
|
|
APXS/Mini-TES/MB/RAT Detailed Report EDR |
"EDR" |
|
|
|||||||||||||||||||||||||||||||
|
|
APXS/MB Spectra |
"SPE" |
|
|
|||||||||||||||||||||||||||||||
|
|
APXS/MB table of concentrations and components |
"TBL" |
|
|
|||||||||||||||||||||||||||||||
|
site |
= |
(2 alphanumeric) Site location count. Use of both integers and alphas allows for a total range of 0 thru 1295.A value greater than 1295 is denoted by "##" (2 pound signs),requiring the user to extract actual value from label.
The valid values,in their progression,are as follows: Range 0 thru 99 - "00 ","01 ","02 "… "99 " Range 100 thru 1035 - "A0 ","A1 " … "A9 ","AA ","AB "…"AZ ","B0 ","B1 "… "ZZ " Range 1036 thru 1295 - "0A ","0B "…"0Z ","1A ","1B "…"9Z " Range 1296 or greater - "##" (2 pound signs)
Example value is "AK " for value of 120.. |
|||||||||||||||||||||||||||||||||
|
pos |
= |
(2 alphanumeric) Position-within-Site count. Use of both integers and alphas allows for a total range of 0 thru 1295.A value greater than 1295 is denoted by "##" (2 pound signs), requiring the user to extract actual value from label.
The valid values,in their progression,are as follows: Range 0 thru 99 - "00 ","01 ","02 "… "99 " Range 100 thru 1035 - "A0 ","A1 " … "A9 ","AA ","AB "…"AZ ","B0 ","B1 "… "ZZ " Range 1036 thru 1295 - "0A ","0B "…"0Z ","1A ","1B "…"9Z " Range 1296 or greater - "##" (2 pound signs)
Example value is "AK " for value of 120.. |
|||||||||||||||||||||||||||||||||
|
seq |
= |
(1 alpha character plus 4 integers) Sequence Number. Denotes a group of related commands used as keys for the Ops processing. Valid values for character (position 1) in field:
Valid values for integers (positions 2 thru 5) in field: 0001 thru 4095 - Valid Sequence number, commanded by Ground
Needs "F" in character position (Camera only): 1000 - Commanded by NAV 2000 - Commanded by SAPP 3000 - Commanded by Fault protection 4000 - Commanded by EDL Example value is "N0268". |
|||||||||||||||||||||||||||||||||
|
eye |
= |
(1 alpha character) Camera eye. Valid values are: |
|||||||||||||||||||||||||||||||||
|
|
"L" - Left camera eye "R" - Right camera eye "B" - Both left and right camera eyes |
"M" - Monoscopic (one camera eye) "N" - Not Applicable (non-image data) |
|||||||||||||||||||||||||||||||||
|
filt |
= |
(1 integer) Filter number, with a valid range of 0-8 (0 = "no filter" or "N/A"). |
|||||||||||||||||||||||||||||||||
|
who |
= |
(1 alpha character) Product creator indicator. Valid values are as follows, though others may be added in the future: |
|||||||||||||||||||||||||||||||||
|
|
"A" - Arizona State University "C" - Cornell University "F" - USGS at Flagstaff "J" - Johannes Gutenburg Univ. (Germany) "M" - OPGS (MIPL) at JPL "N" - NASA Ames Research Center |
"P" - Max Planck Institute (Germany) "U" - University of Arizona
"V" - SSV Team (E. De Jong) at JPL |
|||||||||||||||||||||||||||||||||
|
ver |
= |
(1 alphanumeric) Version identifier providing uniqueness for book keeping. The valid values, in their progression, are as follows:
Range 1 thru 9 - "1",
"2",…"9" Example value is "E" for value of 14. |
|||||||||||||||||||||||||||||||||
|
ext |
= |
(3 alpha characters) PDS product type extension. Valid values for MER non-camera instrument products: "QUB" - Mini-TES Data Cube
"DAT" - APXS spectra, Mössbauer
spectra, RAT binary data |
|||||||||||||||||||||||||||||||||
|
Example: |
||||
|
a) |
1A123456789EDR0103N0062N0M1.DAT |
Rover MER-1, APXS instrument, EDR, Site 01, Position 03, Seq N0062, produced by MIPL, product version 1. |
||
The APXS EDR complies with Planetary Data System standards for file formats and labels, as specified in the PDS Standards Reference [7] and the Planetary Science Data Dictionary Document [8].
The PDS label for an APXS EDR uses keywords containing time values, such as start time, stop time, start spacecraft clock count, and stop spacecraft clock count. Each time value standard is defined according to the keyword definition. See Appendix B.
The coordinate systems defined for MER surface operations are listed in Table 3 and illustrated in Figure 1 below. Refer to the Pointing, Positioning, Phasing and Coordinate Systems document [5] for more details. The APXS coordinate system is defined relative to the Rover XYZ coordinate system (ROVER_FRAME).
Table 3: Coordinate Frames Used for MER Surface Operations
|
Imaging-Related Coordinate Systems |
Coordinate System Origin |
Coordinate System Orientation |
|
|
Name |
Label Keyword Value |
||
|
Lander Frame (L Frame) |
"LANDER_FRAME" |
Attached to Lander |
Aligned with Lander |
|
Mars Body Fixed (MBF) |
does not appear in label |
Attached to Mars center of Mass |
x=equatorial plane, intersects the prime meridian, z= Mars spin axis, points toward the North pole, y completes the right-handed system |
|
Mast Frame |
"MAST_FRAME" |
Attached to PMA mast head |
Aligned with pointing of mast head |
|
Pancam Frame |
"PANCAM_FRAME" |
Attached to Camera |
Aligned with camera pointing |
|
Rover Frame (R Frame) |
"ROVER_FRAME" |
Attached to Rover |
Aligned with Rover |
|
Surface (Sn Frame) (Site Frame) |
"SITE_FRAME" |
Attached to Surface |
North/East/Nadir |
|
Surface Rover (SR Frame) (Local Level) |
"LOCAL_LEVEL_FRAME" |
Attached to Rover (coincident with Rover Frame) |
North/East/Nadir |
Figure 1: S, SR,and R Frame Coordinate Systems
The APXS EDR data files contain binary data. Spectral data are 16-bit integers stored in LSB first order. Temperature data are 8-bit integers. The detached PDS labels for APXS EDR's are stored as ASCII text.
Validation of the MER EDRs will fall into two primary categories: automated and manual. Automated validation will be performed on every EDR product produced for the mission. Manual validation will only be performed on a subset.
Automated validation will be performed as a part of the archiving process, and will be done simultaneously with the archive volume validation. Validations performed, will include such things as verification that the checksum in the label matches a calculated checksum for the data product (i.e., that the data product included in the archive is identical to that produced by the real-time process), a validation of the PDS syntax of the label, a check of the label values against the database and against the index tables included on the archive volume, and checks for internal consistency of the label items. The latter include such things as verifying that the product creation date is later than the earth received time, and comparing the geometry pointing information with the specified target. As problems are discovered and/or new possibilities identified for automated verification, they will be added to the validation procedure.
Manual validation of the data will be performed both as spot-checking of data throughout the life of the mission, and comprehensive validation of a subset of the data (for example, a couple of days' worth of data). These products will be viewed by a human. Validation in this case will include inspection of the image or other data object for errors (like missing lines) not specified in the label parameters, verification that the target shown / apparent geometry matches that specified in the labels, verification that the product is viewable using the specified software tools, and a general check for any problems that might not have been anticipated in the automated validation procedure.
The structure of the APXS EDR consists of a detached ASCII PDS label and a binary data file as shown in Figure 2.
|
Detached ASCII PDS Label |
|
APXS Binary Data File (0.032 MB) |
|
|
An APXS EDR data file consist of a 32 Kbyte block of APXS binary data with a detached ASCII PDS label (see sec. 3.2.1). Each 32 Kbyte block of APXS data is a copy of the instrument's memory and contains data for twelve measurements. Each measurement consists of APXS spectra and temperature data. The APXS EDR also contains a 2 Kbyte block of engineering data from the instrument's internal RAM (Figure 3).
An APXS measurement counts events for up to 90 minutes. Data remain in APXS memory buffer until 12 new measurements are collected. Thus, an EDR contains data collected for up to 18 hours. Each spectrum is automatically given a unique identifier by the APXS instrument and this identifier is stored with the spectrum.
|
APXS Measurement 1 (2.5 Kbytes) |
|
APXS Measurement 2 (2.5 Kbytes) |
|
. |
|
APXS Measurement 12 (2.5 Kbytes) |
|
APXS Engineering Data (2 Kbytes) |
|
|
Each APXS measurement is 2.5 Kbytes long and contains 1024 bytes of x-ray data, two 512 bytes of alpha particle data, and 512 bytes of temperature data (Figure 4). The detailed measurement record structure is shown in Table 4. Alpha particle spectra contain 256 channels and x-ray spectra have 512 channels. Values for all channels are 16-bit binary integers in LSB first order. The first channel (channel 0) of each spectrum contains the time that the instrument was available to count events. This length of time, termed the lifetime, is stored in units of 10 seconds. It gives the time the instrument was able to detect signals. This means, measuring time minus processing time. When a signal is processed, other signals were ignored during the period. The value of lifetime should nominally be 540 (i.e., total lifetime of 5400 seconds or 90 minutes). The twelve least significant bits of the second channel (channel 1) of each spectrum contains a sequential number generated by the instrument to identify the measurement. The value is incremented by one after every cycle start command or internal cycle. Channels 2 and 3 in all but the temperature data are the temperature correction factors that were valid when the spectra were started. Temperature compensation values A0 and G are 16-bit values, MSB first for all spectra. Channels 4 (2 for temperature) through 254 (or 510 for x-ray data) are energy channels and contain the number of events counted within a given energy interval. The last channel of each spectrum contains the number of events with energies greater than the full scale. For the 16-bit count data, the two bytes can be converted into an integer value as follows: value = LSB + (256*MSB).
|
X-ray Spectra |
Alpha1 Spectra |
Alpha2 Spectra |
Temperature Data |
||
|
|
|||||
Temperatures at the instrument sensor head and on the electronics board are recorded at a 30 second interval during a measurement. These temperature data are used for internal adjustments of temperature-sensitive instrument parameters. Temperature values are stored in pairs of two 8-bit numbers with the first byte containing the electronics board temperature and the second byte containing the temperature of the sensor head. The 8-bit digital value can be multiplied by 1.442 to convert the data into Kelvin.
Table 4: MER APXS Measurement Data Components
|
Spectrum |
Channels |
Bytes |
Description |
|
X-ray |
0 |
1-2 |
Lifetime in units of 10 seconds. 16-bit LSB first unsigned integer. |
|
|
1 |
3-4 |
Spectrum identifier. Incremented by one after every cycle start command or internal cycle. 12-bit LSB first unsigned integer. |
|
|
2 |
5-6 |
A0 or the multiplier for the gain. 16-bit MSB first unsigned integer. (8000 hex means 1) |
|
|
3 |
7-8 |
G or the linear term of the Temperature Compensation. 16-bit MSB first unsigned integer. (0000 hex means no TC) |
|
|
4 - 510 |
9-1022 |
Event counts; each channel is a separate energy interval. 16-bit LSB first unsigned integers. |
|
|
511 |
1023-1024 |
Overflow counts; number of events with energies greater than full scale. 16-bit LSB first unsigned integer. |
|
Alpha1 |
0 |
1025-1026 |
Lifetime in units of 10 seconds. 16-bit LSB first unsigned integer. |
|
|
1 |
1027-1028 |
Spectrum identifier. Incremented by one after every cycle start command or internal cycle. 12-bit LSB first unsigned integer. |
|
|
2 |
1029-1030 |
A0 or the multiplier for the gain. 16-bit MSB first unsigned integer. (8000 hex means 1) |
|
|
3 |
1031-1032 |
G or the linear term of the Temperature Compensation. 16-bit MSB first unsigned integer. (0000 hex means no TC) |
|
|
4 - 254 |
1033-1534 |
Event counts; each channel is a separate energy interval. 16-bit LSB first unsigned integers. |
|
|
255 |
1535-1536 |
Overflow counts; number of events with energies greater than full scale. 16-bit LSB first unsigned integer. |
|
Alpha2 |
0 |
1537-1538 |
Lifetime in units of 10 seconds. 16-bit LSB first unsigned integer. |
|
|
1 |
1539-1540 |
Spectrum identifier. Incremented by one after every cycle start command or internal cycle. 12-bit LSB first unsigned integer. |
|
|
2 |
1541-1542 |
A0 or the multiplier for the gain. 16-bit MSB first unsigned integer. (8000 hex means 1) |
|
|
3 |
1543-1544 |
G or the linear term of the Temperature Compensation. 16-bit MSB first unsigned integer. (0000 hex means no TC) |
|
|
4 - 254 |
1545-2046 |
Event counts; each channel is a separate energy interval. 16-bit LSB first unsigned integers. |
|
|
255 |
2047-2048 |
Overflow counts; number of events with energies greater than full scale. 16-bit LSB first unsigned integer. |
|
Temperature Data |
0 - 255 |
2049-2560 |
Pairs of 8-bit unsigned integers. WEB temperature is the first byte, sensor head temperature is the second byte; measured at approximately 30 second intervals. |
The engineering data consist of 2Kbytes of data and is located after the 12th measurement.
Table 5: MER APXS Engineering Data Component
|
Channels |
Bytes |
Description |
|
|
1- 2 |
A0 TC (xray) 16-bit MSB first unsigne |