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. 26 - Jul. 23, 2002. 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.)

02177.STS is interpreted as

02 = year 2002
177 = day of year 177 (where Jan. 1 = day of year 001)
STS = "standard time series" format

02177.LBL is the name of the PDS label file which describes the data file 02177.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:

02177.PS is interpreted as

02 = year 2002
177 = day of year 177 (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/26/02

02177.STS

02177.LBL

6448027

28103

02177.STS

02177.LBL

6448027

28103

02177.PS

06/27/02

02178.STS

02178.LBL

6329243

27591

02178.STS

02178.LBL

6329243

27591

02178.PS

06/28/02

02179.STS

02179.LBL

6492571

28295

02179.STS

02179.LBL

6492571

28295

02179.PS

06/29/02

02180.STS

02180.LBL

6600219

28759

02180.STS

02180.LBL

6600219

28759

02180.PS

06/30/02

02181.STS

02181.LBL

5553435

24247

02181.STS

02181.LBL

5553435

24247

02181.PS

07/01/02

02182.STS

02182.LBL

6670747

29063

02182.STS

02182.LBL

6670747

29063

02182.PS

07/02/02

02183.STS

02183.LBL

5701915

24887

02183.STS

02183.LBL

5701915

24887

02183.PS

07/03/02

02184.STS

02184.LBL

6262427

27303

02184.STS

02184.LBL

6262427

27303

02184.PS

07/04/02

02185.STS

02185.LBL

6689307

29143

02185.STS

02185.LBL

6689307

29143

02185.PS

07/05/02

02186.STS

02186.LBL

6106523

26631

02186.STS

02186.LBL

6106523

26631

02186.PS

07/06/02

02187.STS

02187.LBL

6577947

28663

02187.STS

02187.LBL

6577947

28663

02187.PS

07/07/02

02188.STS

02188.LBL

6648475

28967

02188.STS

02188.LBL

6648475

28967

02188.PS

07/08/02

02189.STS

02189.LBL

5289883

23111

02189.STS

02189.LBL

5289883

23111

02189.PS

07/09/02

02190.STS

02190.LBL

6510667

28373

02190.STS

02190.LBL

6510667

28373

02190.PS

07/10/02

02191.STS

02191.LBL

6685595

29127

02191.STS

02191.LBL

6685595

29127

02191.PS

07/11/02

02192.STS

02192.LBL

6678171

29095

02192.STS

02192.LBL

6678171

29095

02192.PS

07/12/02

02193.STS

02193.LBL

6221595

27127

02193.STS

02193.LBL

6221595

27127

02193.PS

07/13/02

02194.STS

02194.LBL

6651723

28981

02194.STS

02194.LBL

6651723

28981

02194.PS

07/14/02

02195.STS

02195.LBL

6492571

28295

02195.STS

02195.LBL

6492571

28295

02195.PS

07/15/02

02196.STS

02196.LBL

6596507

28743

02196.STS

02196.LBL

6596507

28743

02196.PS

07/16/02

02197.STS

02197.LBL

6384923

27831

02197.STS

02197.LBL

6384923

27831

02197.PS

07/17/02

02198.STS

02198.LBL

5314707

23218

02198.STS

02198.LBL

5314707

23218

02198.PS

07/18/02

02199.STS

02199.LBL

6240387

27208

02199.STS

02199.LBL

6240387

27208

02199.PS

07/19/02

02200.STS

02200.LBL

6240155

27207

02200.STS

02200.LBL

6240155

27207

02200.PS

07/20/02

02201.STS

02201.LBL

6493267

28298

02201.STS

02201.LBL

6493267

28298

02201.PS

07/21/02

02202.STS

02202.LBL

6663323

29031

02202.STS

02202.LBL

6663323

29031

02202.PS

07/22/02

02203.STS

02203.LBL

5516315

24087

02203.STS

02203.LBL

5516315

24087

02203.PS

07/23/02

02204.STS

02204.LBL

6626203

28871

02204.STS

02204.LBL

6626203

28871

02204.PS

 

Return to point before data table

Return to top of page