NASA - National Aeronautics and Space Administration

+ NASA Homepage
+ NASA en Español
+ Contact NASA
PDS Geosciences Node, Washington University in St. Louis
HOME DATA AND SERVICES TOOLS ABOUT US CONTACT US SITE MAP
Services
Geosciences Node Data
Help
Scheduled Maintenance
This site may be down on Thursdays between 7:00 and 9:30 pm Central Time for maintenance.

View PDS Image and Save as Browse Image Using Jupyter Notebook

The PDS Geosciences Node has created a Jupyter Notebook (jupyterNotebookViewIMG.zip) to provide users with an option for viewing a browse representation of a PDS3 or PDS4 image and saving it as a PNG file using Python code. A Jupyter Notebook is an open source web application interface for creating and sharing code examples and documentation.

PDS images often contain additional data that are not included in a browse representation, so the standard output of this notebook may not be suitable for research work. The patterns provided in the Jupyter Notebook can be used as a sample for your own code when working with PDS images in Python.

The notebook supports local PDS image paths or web URL pointers. Remote files will be downloaded (using Python) locally before they can be processed. With either method, only one PDS image is displayed and saved per processing run.

This guide provides an overview of installing the required libraries and using the Jupyter Notebook through JupyterLab, which is an interface to work with notebooks, code, and data files. The guide also highlights the steps of processing a PDS image through the notebook. The steps are provided for a Windows operating system environment, but notes are included for MacOS and Linux systems.

Download Notebook, User Guide, and Supporting Files: jupyterNotebookViewIMG.zip (6 MB)

Prerequisites (descriptions and links in User's Guide)

  • Conda (Miniconda or Anaconda)
  • Python 3.9 or greater (optionally installed during Conda installation)
  • JupyterLab (library is installed through the notebook’s environment setup script)
  • Web browser

Contact

Questions may be directed to Dan Scholes, scholes@wustl.edu, at the PDS Geosciences Node.

 

PDS Nodes PDS Atmospheres Geosciences Imaging NAIF PPI Rings Small Bodies
FirstGov Logo
+ Freedom of Information Act
+ NASA Strategic Plans
+ NASA Privacy Statement, Disclaimer, and
   Accessibility Certification

+ Copyright/Image Use Policy
NASA Logo
Curator: Jennifer Ward
NASA Official: Paul Byrne
Last Updated:
+ Comments and Questions