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 . You will also need netpbm utilities like pnmcut and pnmscale installed on your system. Look at 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 . Updated kernels are available from NAIF's ftp site, i.e. .

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:
  1. Download the file global.tgz (170MB).
  2. If you are constrained for disk space you can download global-min.tgz (310MB) instead.
  3. 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.
  4. Extract contents of downloaded files into a directory of your choice. Henceforth referred to as choice_dir.
  5. Set the environment variable named "MARSIMAGEDIR" to "choice_dir /mars_images".
  6. 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:

In Bourne/Korn-Shell it is done as:

For setting environment in Windows 2000 follow the following procedure:
  1. Start the control panel.
  2. Double-click on "System".
  3. Click on "Advanced" tab when the "Systems Properties" dialog comes up.
  4. Click on "Environment Variables".
  5. Under "User variables for ..." click on "New".
  6. Type the variable name as "MARSIMAGEDIR" and type the variable value as the directory, say, "choice_dir\mars_images".
  7. Click "Ok" to return to "Environment Variables".
  8. Click "Ok" once again to return to "System Properties".
  9. Click "Ok" once more to return to the "Control Panel".
  10. Close the control panel.
  11. Now open a Command/DOS window and issue a "set" command. You should see MARSIMAGEDIR as one of the variables listed.