A python module to access the MoonDB, the geochemical and petrological lunar sample database
Project description
pymoondb: The python interface to the MoonDB geochemical and petrological lunar sample database
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.
The python module is being developed at IAPS/INAF 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.
Installation
Step 1: clone the repository:
git clone https://www.ict.inaf.it/gitlab/alessandro.frigeri/pymoondb.git
Step 2: install the software; within the directory where setup.py is placed, type:
pip install -e .
To use moondb module, fire up your python interpreter and simply do:
>>> 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'
How to cite MoonDB and pymoondb
Here you are the references to documents describing MoooDB and the python interface.
pymoondb
Frigeri, A., Lehnert, K. A., Ji, P. The Python interface to the MoonDB geochemical and petrological database European Planetary Science Congress, Geneve - Switzerland, September, 2019
#### MoonDB
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 Lunar and Planetary Science Conference 2019, pp. 2996
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pymoondb-0.1rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 373976e1ffc13a473230f4247704a37e75ac79398ee3af34b207e5716197a2c0 |
|
MD5 | b0ec3a009a221903e1cbe10ca9ff10ff |
|
BLAKE2b-256 | b198bd908e8a4981f21e47c7db973a328872a83ea20a84a78c959024cbe4a2a7 |