Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

How to access the

Madrigal database using


python
Bill Rideout
MIT Haystack Observatory
brideout@haystack.mit.edu

CEDAR workshop
June 21, 2017
1
The Madrigal database stores data from a wide variety
of upper atmosphere research instruments

Incoherent Scatter Radar TEC via GPS MF Radar

Examples of number of instruments in Madrigal:


• Incoherent scatter radars: 22
• MST radars: 3
• MF radars: 16 Other examples:
• Meteor radars: 11 ! GPS TEC
• FPI: 32 ! DMSP

• Michelson Interferometers: 6
• Lidars: 9
• Photometers: 7
Madrigal is a distributed
database
Madrigal DB
Madrigal DB Madrigal DB
Madrigal DB

Madrigal DB
Shared Madrigal DB
metadata

Madrigal DB
Madrigal DB Madrigal DB
Madrigal DB

3
Cedar Madrigal archive
imports all data weekly
Madrigal DB Madrigal DB
Madrigal DB
Madrigal DB

Madrigal DB Madrigal DB

Madrigal DB Madrigal DB

4
Remote access to Madrigal
! Based on well-defined urls
! API written for python, Matlab, IDL
! python API (2 or 3) installed via pip:
• pip install madrigalWeb
! Comes with command line scripts that meet
most basic needs:
• globalDownload.py
• globalIsprint.py
! Jupyter demo
• available at http://www.haystack.mit.edu/
~brideout/Madrigal_python_demo.ipynb
5

You might also like