PDS_VERSION_ID     = PDS3
RECORD_TYPE        = STREAM
OBJECT             = TEXT
  PUBLICATION_DATE = 1999-12-10
  NOTE             = "Description of PEDR2TAB software provided with 
    the MGS MOLA archive volumes"
END_OBJECT         = TEXT
END

FILES IN THIS DIRECTORY
-----------------------

P2TINFO.TXT - The file you are reading.

PEDR2TAB.F - Fortran source code for Macintosh platforms. Variants
  for other architectures are available on the MOLA website,
  http://ltpwww.gsfc.nasa.gov/tharsis/software.html.

PEDR2TAB.PRM - Preferences file read by PEDR2TAB, to be edited by user

P2TABPPC.HQX - BINHEX file containing executable program compiled
  for Macintosh PowerPC

MOLA.LBL - Example of a PDS label for a file produced by PEDR2TAB


EXTRACTING CONTENTS OF BINHEX FILES
-----------------------------------

Because of the way this CD-ROM was produced, it was not possible to
record this program as a Macintosh executable file. The BINHEX format
was used to encode the Macintosh executable so that it could be stored
on this CD-ROM. The file needs to be decoded before it can be
used on a Macintosh computer.

StuffIt Expander is software to decode Macintosh files in BINHEX format.
It is available at no charge from:

     Aladdin Systems, Inc.
     165 Westridge Dr.
     Watsonville, CA  95076
     831-761-6200
     http://www.aladdinsys.com/
     electronic mail: info@aladdinsys.com


PEDR2TAB SOFTWARE FOR MGS MOLA ARCHIVE VOLUMES
----------------------------------------------

PEDR2TAB is a program that reads MOLA PEDR files and produces an ASCII
table of selected fields, one line for each altimetry shot
detected. The user may choose to see all ranges, or only those that
are/are not ground hits, in a selected region. The user may output any
of eight groups of MOLA instrument values. By default, topography,
range, planetary radius, and flags are output. The program is written
in Fortran 77 with MIL-STD-1753 and other extensions.

The user should modify the preferences file, PEDR2TAB.PRM, to select
the groups of values to be written to the output file.  A group is
selected by placing a T (for True) at the beginning of the line that
describes the desired group.  Lines that begin with F (False) will not
be selected for output.

The program writes an ASCII table to a file named MOLA.TAB.  The file
MOLA.LBL can be used as the basis for a PDS label that describes
MOLA.TAB. MOLA.LBL describes all possible fields that can be output.
In order for MOLA.LBL to be valid for a particular output file, it
must be edited to reflect the user's selections in PEDR2TAB.PRM.

The Macintosh version of program uses the Language Systems Fortran
FILE=* extension to open files through a Finder dialog window. A
single output ASCII table is generated when the program is run. It is
very important that the binary files have a filetype of "TEXT" or
other non-application type when accessed, as the OPEN routine doesn't
see unknown file types. The output file (defaults to MOLA.TAB) is an
"MPW document" but can be read by a spreadsheet program or text
processor.

PEDR2TAB was written by Gregory Neumann, MOLA Science Team,
NASA/Goddard Space Flight Center. Although the software contained
herein has been tested, no warranty, expressed or implied, is made by
NASA, the Jet Propulsion Laboratory (JPL), or the Goddard Space Flight
Center (GSFC), as to the accuracy and functioning of the software and
related materials, and no responsibility is assumed by NASA, JPL, or
GSFC. This software is not supported by the MOLA Instrument and
Science Teams.  The PEDR Software Interface Specification 2.7 is the
authoritative document, and should be consulted if questions arise.
If you have any comments, improvements, or bug reports, please send
email to Gregory.Neumann@gsfc.nasa.gov.

