Links To:   Data | Browse Files | Documents | File Formats | File Naming


 

Magnetometer Data

in the Mars Global Surveyor MAG/ER Level 1 Archive

 

Overview

The Magnetometer (MAG) vector magnetic field data reside in the directory DATA/MAG. These data were acquired by the Magnetometer instrument aboard the Mars Global Surveyor (MGS) spacecraft. The MAG data on this disk cover the period Jun. 29 - Jul. 27, 1998. The data files are in two subdirectories: one for data in planetocentric coordinates (PCENTRIC) and one for data in Sun-State coordinates (SUNSTATE). The files contain ASCII tables of time series data and are referred to as standard time series (STS) files.

The data are calibrated and are provided in physical units (nT). In addition, instrumental and spacecraft effects have been removed from the data during processing.

Each file consists of an attached ASCII text header, followed by an ASCII table containing the time series data. The table in each file has fixed-length records of length 232 bytes. Each row of data contains 24 columns, and is terminated by the ASCII record delimiter characters carriage return and line feed.

MAG data are represented in the planetocentric (PC) and Sun-State (SS) coordinate systems. Data are housed in the subdirectories PCENTRIC or SUNSTATE according to which system they embody. In the SS coordinate system, the X-axis lies along the instantaneous Mars-Sun vector and is positive toward the Sun. The negative of Mars' velocity vector is a second (Y) reference vector, so the vector cross product of X and Y yields a Z vector parallel to the northward (upward) normal of the orbit plane of Mars. The PC coordinate system is body-fixed and rotates with the body (Mars) as it spins on its axis. In the PC system, the Z-axis lies along the body rotation axis and is positive in the direction of angular momentum. The X-axis lies in the equatorial plane of the body, perpendicular to Z and in the direction of the prime meridian as defined by the IAU. The Y axis completes the right-handed set.

Each file in SS or PC coordinates contains one day of data.

This disk also contains browse plots which summarize the MAG and other data.

Return to top of page

 

Documents

This disk contains documentation files which describe the datasets on the disk, the instruments from which the data came, and the Mars Global Surveyor spacecraft and mission. These files are found in the CATALOG and DOCUMENT directories.

The following files in CATALOG are of particular interest to MAG data users.

The DOCUMENT directory contains the Software Interface Specification document for the data, in HTML and Microsoft Word document formats. (An ASCII text version is included for the sake of completeness, but is not fully formatted.)

Return to top of page

 

File Formats

The files on this disk are in level 1 compliance with the ISO 9660 standard. The MAG data are provided as ASCII tables of time series data.

Each MAG data file has an attached header that contains text describing the file processing and structure. The content of the headers is described in MAG_DS.CAT.

What follows is a very brief summary of the format of the data in the MAG files. All of the data fields indicated here, including the calibration columns, are explained more fully in the PDS format file MAG_DATA.FMT found in the subdirectories; that file is both human-readable and machine-readable. Note that the data file headers do not conform to this format.

sample UT

Time (UT) as year, day of year, hour, minute, second, and millisecond.

decimal day 

Time as decimal day of year. (0000 hours on Jan. 1 = decimal day 1.000)

mag_vector 

Array[3] giving B-field components in the order Bx, By, Bz.

range

Gain range of MAG instrument.

sc_pos_vector 

Array[3] giving location of spacecraft (x, y, z).

calibration columns 

15 more columns, relevant to understanding the Magnetometer calibration.

Here are three lines of data with headings added, as an example of this format. Due to space limitations, only the first nine columns are displayed; the rest of each line is indicated by three dots. (Note: these data may be displayed with spacing different from that of the actual data. Each data line ends with two ASCII record delimiter characters, carriage return and line feed.)

sample UT

decimal day

Bx

By

Bz

range

sc_pos x

sc_pos y

sc_pos z

...

1998 87 0 26 51 371

87.018650127

-1.119

-1.059

4.960

11.

-9018.001

2299.323

-10512.695

...

1998 87 0 26 54 371

87.018684850

0.083

-1.377

2.719

11.

-9018.060

2300.060

-10507.870

...

1998 87 0 26 57 371

87.018719572

1.146

1.021

-2.139

11.

-9018.118

2300.797

-10503.042

...

Return to top of page

 

Browse Files

In addition to the data files, this disk contains PostScript browse plots summarizing the magnetic field data on the disk. These plots are contained in the BROWSE directory. They are housed in two subdirectories, corresponding to two different kinds of plots: RMS and MAG Calibration. The RMS plots are 3-panel plots of magnetic field magnitude and of RMS values of components Bx and By (in sensor coordinates). The MAG Calibration plots pertain to the calibration of the Magnetometer instrument.

Return to link in Overview section

Return to top of page

 

Links to Data and Browse Files

The links in the table below can be used to navigate the MAG data files and browse files on this disk.

The file naming convention for these data files is illustrated by the following example. (The file mentioned here, from PCENTRIC, is only an example; there are many more such files on the disk.)

98180.STS is interpreted as

98 = year 1998
180 = day of year 180 (where Jan. 1 = day of year 001)
STS = "standard time series" format

98180.LBL is the name of the PDS label file which describes the data file 98180.STS. Such label files provide descriptive information in a format which is both human-readable and machine-readable.

The naming convention for RMS browse files is similar to that for the data files:

98180.PS is interpreted as

98 = year 1998
180 = day of year 180 (where Jan. 1 = day of year 001)
PS = PostScript file.

Note: To make full use of the .LBL files in the following table, you must have a MAG_DATA.FMT file, for the correct coordinate system, in the same directory as each .LBL file. Obtain these MAG_DATA.FMT files via these two links:

MAG_DATA.FMT (Planetocentric)        MAG_DATA.FMT (Sun-State)

 

Date

Data Files (Planetocentric)

Data Files (Sun-State)

Browse Files

 

File

Label

File
Bytes

File
Records

File

Label

File
Bytes

File
Records

 

06/29/98

98180.STS

98180.LBL

8447108

36777

98180.STS

98180.LBL

8447108

36777

 

06/30/98

98181.STS

98181.LBL

10674308

46377

98181.STS

98181.LBL

10674308

46377

 

07/01/98

98182.STS

98182.LBL

9679492

42089

98182.STS

98182.LBL

9679492

42089

 

07/02/98

98183.STS

98183.LBL

7556228

32937

98183.STS

98183.LBL

7556228

32937

 

07/03/98

98184.STS

98184.LBL

10436972

45354

98184.STS

98184.LBL

10436972

45354

 

07/04/98

98185.STS

98185.LBL

8306052

36169

98185.STS

98185.LBL

8306052

36169

 

07/05/98

98186.STS

98186.LBL

8558468

37257

98186.STS

98186.LBL

8558468

37257

 

07/06/98

98187.STS

98187.LBL

13981700

60633

98187.STS

98187.LBL

13981700

60633

 

07/07/98

98188.STS

98188.LBL

8632708

37577

98188.STS

98188.LBL

8632708

37577

 

07/08/98

98189.STS

98189.LBL

11352355

49300

98189.STS

98189.LBL

11352355

49300

 

07/09/98

98190.STS

98190.LBL

7700996

33561

98190.STS

98190.LBL

7700996

33561

 

07/10/98

98191.STS

98191.LBL

8885820

38668

98191.STS

98191.LBL

8885820

38668

 

07/11/98

98192.STS

98192.LBL

12957188

56217

98192.STS

98192.LBL

12957188

56217

 

07/12/98

98193.STS

98193.LBL

12693636

55081

98193.STS

98193.LBL

12693636

55081

 

07/13/98

98194.STS

98194.LBL

12526596

54361

98194.STS

98194.LBL

12526596

54361

 

07/14/98

98195.STS

98195.LBL

11891844

51625

98195.STS

98195.LBL

11891844

51625

 

07/15/98

98196.STS

98196.LBL

7355780

32073

98196.STS

98196.LBL

7355780

32073

 

07/16/98

98197.STS

98197.LBL

9330564

40585

98197.STS

98197.LBL

9330564

40585

 

07/17/98

98198.STS

98198.LBL

10477572

45529

98198.STS

98198.LBL

10477572

45529

 

07/18/98

98199.STS

98199.LBL

10102660

43913

98199.STS

98199.LBL

10102660

43913

 

07/19/98

98200.STS

98200.LBL

12010628

52137

98200.STS

98200.LBL

12010628

52137

 

07/20/98

98201.STS

98201.LBL

13398916

58121

98201.STS

98201.LBL

13398916

58121

 

07/21/98

98202.STS

98202.LBL

9045436

39356

98202.STS

98202.LBL

9045436

39356

 

07/22/98

98203.STS

98203.LBL

10377348

45097

98203.STS

98203.LBL

10377348

45097

 

07/23/98

98204.STS

98204.LBL

8896260

38713

98204.STS

98204.LBL

8896260

38713

 

07/24/98

98205.STS

98205.LBL

8970500

39033

98205.STS

98205.LBL

8970500

39033

 

07/25/98

98206.STS

98206.LBL

9591796

41711

98206.STS

98206.LBL

9591796

41711

 

07/26/98

98207.STS

98207.LBL

9313628

40512

98207.STS

98207.LBL

9313628

40512

 

07/27/98

98208.STS

98208.LBL

12711732

55159

98208.STS

98208.LBL

12711732

55159

 

 

Return to point before data table

Return to top of page