Skip to content
Snippets Groups Projects
Commit ac2146cb authored by Alessandro Frigeri's avatar Alessandro Frigeri
Browse files

added notebook

parent ce6f57e5
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
import moondb
```
%% Cell type:code id: tags:
``` python
m = moondb.get_missions()
```
%% Output
{'name': 'Apollo 11'}
{'name': 'Apollo 12'}
{'name': 'Apollo 14'}
{'name': 'Apollo 15'}
{'name': 'Apollo 16'}
{'name': 'Apollo 17'}
{'name': 'Luna 16'}
{'name': 'Luna 20'}
{'name': 'Luna 24'}
%% Cell type:code id: tags:
``` python
f = moondb.Filter()
#f.specimenType = ["SOIL"]
results = f.get_results()
```
%% Cell type:code id: tags:
``` python
len(results)
```
%% Output
37034
%% Cell type:code id: tags:
``` python
an = print(results[0])
```
%% Output
{'analysisCode': '15100,3#3#0158', 'analyzedMaterial': 'WHOLE ROCK', 'comment': '0.97 g, 950C', 'dataset': 'IRVING, 1972#TABLE 1', 'citation': 'IRVING, 1972', 'dataResults': [{'unit': 'ppm', 'laboratory': 'UNKNOWN', 'variable': 'H', 'methodName': 'UNKNOWN', 'methodComment': 'COMBUSTION (NEW LINE, YIELDING LOW BLANKS)', 'value': '90.0', 'methodCode': 'UNKNOWN'}, {'unit': 'per mil', 'laboratory': 'UNKNOWN', 'variable': 'DELTA_D', 'methodName': 'UNKNOWN', 'methodComment': 'COMBUSTION (NEW LINE, YIELDING LOW BLANKS)', 'value': '-554.0', 'methodCode': 'UNKNOWN'}, {'unit': 'ppm', 'laboratory': 'UNKNOWN', 'variable': 'C', 'methodName': 'UNKNOWN', 'methodComment': 'COMBUSTION (NEW LINE, YIELDING LOW BLANKS)', 'value': '99.0', 'methodCode': 'UNKNOWN'}, {'unit': 'per mil', 'laboratory': 'UNKNOWN', 'variable': 'DELTA_C13', 'methodName': 'UNKNOWN', 'methodComment': 'COMBUSTION (NEW LINE, YIELDING LOW BLANKS)', 'value': '7.9', 'methodCode': 'UNKNOWN'}]}
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
print(anaobj)
```
%% Output
None
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment