Skip to main content

Planetary image parser

Project description

Planetary image parser


  • Reads in PDS Images as NumPy arrays.
  • Reads in Isis Cube Files as NumPy arrays.


Create and activate a virtual environment:

virtualenv venv
source venv/bin/activate

Upgrade pip, then pip install the package and IPython notebook and matplotlib to help display the image:

pip install -U pip
pip install planetaryimage matplotlib ipython[notebook]

This quick example will show how to open and display a Pancam PDS image using this module. First, grab a sample image:


Now run python:

$ ipython notebook

Create a new notebook in your web browser and then paste the following code into a cell and execute it by pressing Shift+ENTER. This will load and display the image:

%matplotlib inline
import matplotlib.pyplot as plt
from planetaryimage import PDS3Image
image ='1p380322615effbr43p2443l1m1.img')
plt.imshow(, cmap='gray')


0.1.0 (2015-06-03)

  • First release on PyPI. Basic PDS and Isis Cube File parsing works.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for planetaryimage, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size planetaryimage-0.1.0-py2.py3-none-any.whl (9.5 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size planetaryimage-0.1.0.tar.gz (70.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page