The Python Interface to the MoonDB lunar sample database

2nd Planetary Mapping and V.O. Workshop
1-3 July 2019
Domaine de St. Paul, Saint-Rémy-lès-Chevreuse France

Alessandro Frigeri
Istituto di Astrofisica e Planetologia Spaziali - IAPS
Istituto Nazionale di Astrofisica - INAF
Rome, Italy / @afrigeri

Lunar samples in their 50's

The MoonDB

MoonDB is a data system that (re-)stores and synthesizes historical and new geochemical and petrological data of lunar samples collected during the Apollo missions to maximize their impact on future scientific studies.

MoonDB started in 2015 by
Lamont-Doherty Earth Observatory and NASA Goddard


  • Developed at INAF/IAPS in Rome, PyMoonDB offers:
    • A Python3 interface to the entire MoonDB data
    • An OO modeling for structured queries
    • An interface to geospatial environment

PyMoonDB software and development is online at:

The data model

MoonDB mosst relevant classes are:

  • The specimen
  • The analysis
  • The analytes

The specimen

The sub-specimens

The analysis

The landmark

Scripts: Example

Jupyter notebooks

at the poster booth

  • Might PyMoonDB be useful to your research?
  • Possible query design
  • Future developments

discussion is open at the poster session!