dmap is a data mapping tool, which maps Thermal Emission Spectrometer
(TES
) data onto a projected Mars surface.
You can download source and binary versions of dmap from
ftp://ftp.mars.asu.edu/pub/software/dmap/
. You will also need netpbm
utilities like pnmcut and pnmscale installed on your system.
Look at http://netpbm.sourceforge.net/README
for instructions on where to download netpbm for your platform if don't have
it installed on your system already.
If you downloaded the source version of dmap and would like to compile
it, then you must also download and compile the following pre-requisites:
dmap requires some NAIF
kernels to work properly. A sample kernels file and the associated kernels
can be retrieved from
ftp://ftp.mars.asu.edu/pub/software/kernels.tar.gz
. Updated kernels are available from NAIF's ftp site, i.e.
ftp://naif.jpl.nasa.gov/pub/naif/MGS/kernels
.
In order to use the -vg, -vc, and -vr options of dmap, a minimum
environment has to be set up. Following is the procedure for doing so:
- Download the file
global.tgz
(170MB).
- If you are constrained for disk space you can download
global-min.tgz
(310MB) instead.
- If disk space is not an issue, you may also want to download the file
tiled.tgz
(compressed 1.3GB, uncompressed 4GB) which will give you 256 pixel/degree
resolution for Viking gray-scale background maps.
- Extract contents of downloaded files into a directory of your choice.
Henceforth referred to as choice_dir.
- Set the environment variable named "MARSIMAGEDIR" to "choice_dir
/mars_images".
- Add this environment variable to your login script (or your profile)
so that it is set every time you run dmap.
Environment Variable Setup:
In C-Shell it is done as:
- setenv MARSIMAGEDIR choice_dir/mars_images
In Bourne/Korn-Shell it is done as:
- MARSIMAGEDIR=choice_dir/mars_images ; export MARSIMAGEDIR
For setting environment in Windows 2000 follow the following procedure:
- Start the control panel.
- Double-click on "System".
- Click on "Advanced" tab when the "Systems Properties" dialog comes
up.
- Click on "Environment Variables".
- Under "User variables for ..." click on "New".
- Type the variable name as "MARSIMAGEDIR" and type the variable value
as the directory, say, "choice_dir\mars_images".
- Click "Ok" to return to "Environment Variables".
- Click "Ok" once again to return to "System Properties".
- Click "Ok" once more to return to the "Control Panel".
- Close the control panel.
- Now open a Command/DOS window and issue a "set" command. You should
see MARSIMAGEDIR as one of the variables listed.