Mambo_5

version 4 now

Description

Mambo_5 is a Python code that creates polar plots showing azimuth and zenith angles of the sun and spacecraft with respect to a specified position on a body surface. The code also outputs a text file showing more information. Users should note that this code was made to support those that support Bob Gaskell's SPC code and as such uses inputs taken from the SPC code.

Inputs

In order for this code to work, it must be ran in a SPC home directory containing the following text files:

PICINFO.TXT

MAPINFO.TXT

LMKFILES/<lmrk_name>.TXT

SUMFILES/<picture>.SUM

Outputs

When this code is run it makes a sun polar plot, sc polar plot, and a text file of parameters in the same directory the code is run:

<lmrk_name>_viewing.txt

<lmrk_name>_sun_plot.png

<lmrk_name>_sc_plot.png

How to use mambo5.py

Simply type "python <path>/mambo5.py" in the SPC home directory. Then enter in the landmark to be analyzed

The Code

mambo5.py