Skip to content
Eric E Palmer edited this page Oct 23, 2026 · 1 revision

Mgrav

Category ? Version ?

Description

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/.MAP

Required Files

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
  • SGRAV.TXT - Output from the gravity generation from the shape model

Working Files (generated)

  • view.gray - Temporary file that is used to write data before final images are generated
  • sml.imh - 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 Files

  • MGRAV.TXT
  • Original bigmap viewed in shaded relief
  • Generates Mslp.ppm
  • Generates Mpot.ppm
  • Generates Melv.ppm
  • Generates Macc.ppm

Clone this wiki locally