Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2012-09-13 10:59:04
Size: 839
Editor: EricPalmer
Comment:
Revision 3 as of 2012-09-13 11:59:41
Size: 970
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 14: Line 13:
 * ["view.gray"] - Temporary file that is used to write data before final images are generated
Line 19: Line 19:
  Example   Name of map file
  ZN0026
Line 25: Line 26:
 * ["MGRAV.TXT"] -
 * Generates Mpot.ppm attachment:Mpot.jpg
 * Generates Mpot.ppm attachment:Mpot.jpg
 * Generates Mpot.ppm attachment:Mpot.jpg
 * Generates Mpot.ppm attachment:Mpot.jpg


attachment:filename.jpg
 * ["MGRAV.TXT"]
 * Original bigmap viewed in shaded relief
  * Generates Mslp.ppm attachment:Mslp.jpg
  * Generates Mpot.ppm attachment:Mpot.jpg
  * Generates Melv.ppm attachment:Melv.jpg
  * Generates Macc.ppm attachment:Macc.jpg

Mgrav.e

Mgrav.e takes a bigmap and generates four (4) ppm images depicting: elevation, acceleration, potential and slope. The images are RGB and are unscaled.

Input - files

  • ["bigmap"] - The is a bigmap that is maintained in MAPFILES/<whatever>.MAP

Working files (temporary)

These are important to consider because they can cause conflicts if you run more than one instance of the program.

  • ["MGRAV.IN"] - gets GM and omega
  • ["SGRAV.IN"] - gets Q, K, I, J, F
  • ["view.gray"] - Temporary file that is used to write data before final images are generated

Input - stdin

  • What it asks for

  Name of map file
  ZN0026
  • Another argument

Output

  • ["MGRAV.TXT"]
  • Original bigmap viewed in shaded relief
    • Generates Mslp.ppm attachment:Mslp.jpg
    • Generates Mpot.ppm attachment:Mpot.jpg
    • Generates Melv.ppm attachment:Melv.jpg
    • Generates Macc.ppm attachment:Macc.jpg

Mgrav (last edited 2018-05-06 10:50:54 by BMittan)