Skip to content
README.md 1.93 KiB
Newer Older
Alessandro Frigeri's avatar
Alessandro Frigeri committed

Alessandro Frigeri's avatar
Alessandro Frigeri committed
---
pymoondb: The python interface to the MoonDB geochemical and petrological lunar sample database
Alessandro Frigeri's avatar
Alessandro Frigeri committed
---
Alessandro Frigeri's avatar
Alessandro Frigeri committed

Alessandro Frigeri's avatar
Alessandro Frigeri committed

Alessandro Frigeri's avatar
Alessandro Frigeri committed
![Apollo 12 NASA image AS12-47-6932](https://www.ict.inaf.it/gitlab/alessandro.frigeri/pymoondb/raw/master/docs/source/images/AS12-47-6932.jpg)
Alessandro Frigeri's avatar
Alessandro Frigeri committed

Alessandro Frigeri's avatar
Alessandro Frigeri committed
MoonDB is a NASA-funded quality-controlled data system that will preserve, digitize and curate lunar geochemical and petrological data and their associated sample metadata and analytical metadata.

__Pymoondb__ is a python module which creates an interface to the Application Program Interface made available by the MoonDB project.
Alessandro Frigeri's avatar
Alessandro Frigeri committed

The python module is being developed at [IAPS/INAF](http://www.iaps.inaf.it) in Rome, Italy.  The MoonDB database is being developed and maintaned by the Lamont-Doherty Earth Observatory's Geoinformatics Research Group of Columbia University, New York.
Alessandro Frigeri's avatar
Alessandro Frigeri committed

# Installation
Alessandro Frigeri's avatar
Alessandro Frigeri committed

To use moondb module, fire up your python interpreter and simply do:
Alessandro Frigeri's avatar
Alessandro Frigeri committed
    >>> import moondb
    >>> s_12023 = moondb.get_specimens(sc=['12023'])[0]
    >>> print( type(s_12023) )
    <class 'moondb.core.Specimen'>
    >>> ", ".join( (s_12023.mission,s_12023.landmark,s_12023.specimenType) )
    'Apollo 12, SHARP CRATER, ROCK/Unclassified'
Alessandro Frigeri's avatar
Alessandro Frigeri committed

# How to cite MoonDB and pymoondb
Alessandro Frigeri's avatar
Alessandro Frigeri committed

Alessandro Frigeri's avatar
Alessandro Frigeri committed
Here you are the references to documents describing MoooDB and the python interface.
Alessandro Frigeri's avatar
Alessandro Frigeri committed

#### pymoondb
Alessandro Frigeri's avatar
Alessandro Frigeri committed

Alessandro Frigeri's avatar
Alessandro Frigeri committed
Frigeri, A., Lehnert, K. A., Ji, P.  [The Python interface to the MoonDB geochemical and petrological database](https://meetingorganizer.copernicus.org/EPSC-DPS2019/EPSC-DPS2019-1729.pdf) European Planetary Science Congress, Geneve - Switzerland, September,  2019

Alessandro Frigeri's avatar
Alessandro Frigeri committed
#### MoonDB
Alessandro Frigeri's avatar
Alessandro Frigeri committed

Alessandro Frigeri's avatar
Alessandro Frigeri committed
Lehnert, K. A., Markey, K., Ji, P., Cai, Y., Hodges, K., Mercer, C., Walker, J. D., Ash, J., Evans, C. and Zeigler, R.  [MoonDB: 50 Years of Lunar Sample Data Ready for the Data Revolution](http://www.hou.usra.edu/meetings/lpsc2019/pdf/2996.pdf) Lunar and Planetary Science Conference 2019, pp. 2996