Differences between revisions 23 and 24
Revision 23 as of 2018-05-15 13:34:29
Size: 1761
Editor: JohnWeirich
Comment:
Revision 24 as of 2020-08-14 10:14:34
Size: 1905
Editor: JohnWeirich
Comment:
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
''NOTE!''
 * If REFLECT in INIT_LITHOS.TXT is not "MCEWEN", "VESTA", "NOPHASE", or commented out, the resulting TEMPFILE.pgm will be blank.

Imager_MG

Category D

Version 3.0

Description

Imager_MG makes images from a set of maplets.

Setup

  • To make images you'll first need the following directories/files in your working directory:

Directories:

  • TEMPLATES/ - Empty (this is where the .RAW files will be placed)
  • IMAGEFILES/ - Empty
  • SUMFILES/ - Filled (you'll need to copy these files or generate new ones)
  • MAPFILES/ - Filled (these .MAP files will be used to generate the images)
  • SHAPEFILES/ - Filled

Files:

  • MAPLIST.TXT - Contains a list of all of the .MAP files. (Can be built from the .MAP file list, but need to remove the ".MAP" from each line. Needs an "END" at the end of the file.
  • img-list - Contains a list of all the image names. (Can be built from the .SUM file list, but need to remove the ".SUM" from each line. No need for an "END." Also no need for spaces before the image name.)

  • makeImages.sh and viewImages.sh - need to get these from EEP

NOTE!

  • If REFLECT in INIT_LITHOS.TXT is not "MCEWEN", "VESTA", "NOPHASE", or commented out, the resulting TEMPFILE.pgm will be blank.

Execution

sh makeImages.sh

This will make a .RAW file and place it in TEMPLATES. makeImages.sh should have an "exit" at the end of the loop which will make it generate one .RAW file and then stop. Once you have confirmation that the script is working you can comment out the "exit" so the rest of the script will run.

sh viewImages.sh

This will read the .RAW files and make thumbnails for viewing in IMAGEFILES. This shell script can be used even before makeImages.sh is finished, although it will generate some errors.

  • /!\ Be sure to comment out the "exit" in viewImages.sh to generate all the images. Thumbnails of the images will show up in ~/send/


Compiled by JW

Imager_MG (last edited 2021-10-07 09:59:43 by EricPalmer)