Mars Global Surveyor: MEGDR Viewer // ver D

Mars Global Surveyor: MEGDR Viewer// ver D
run the sketch—view the code—download

How do you use it?
Press any key to switch between the color and grayscale rendering of the data file.

What is it?
The continuation of version C. Because these were the first images I saw, I was mistakenly assuming there was color information in the data file. So all of my attempts to extract RGB values from the data were pointless.

One Response to “Mars Global Surveyor: MEGDR Viewer // ver D”

  1. P{three-sixty}5 » Blog Archive » Mars Altimetery Graph // ver B // Monday Banner Says:

    [...] How do you use it? Primarily just watch and enjoy. A mouse click toggles the drawing of the green lines. (This looks best if you let it run for a while so I recommend downloading and running it in Processing locally.) What is it? I thought it might help me figure out the MEGDR Viewer if I looked at the same data in a different way. This is a functioning version of Friday’s post. It creates an overlapping area graph of Mars altimetry data*. I switched to continuous mode (i.e. draw() loop) and had to load the data into a string instead of a byte array. I could only get the byte array to work if it was instantiated inside of draw(). Loading a 2MB file in each cycle of the draw loop made it unbearably slow. * Smith, D., G. Neumann, R. E. Arvidson, E. A. Guinness, and S. Slavney, “Mars Global Surveyor Laser Altimeter Mission Experiment Gridded Data Record”, NASA Planetary Data System, MGS-M-MOLA-5-MEGDR-L3-V1.0, 2003. [...]