Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Links and scripts to download

Madrigal sitessite

 

Step 1: Download Python, Matlab, and/or IDL Remote APIs

...

  1. Make sure you have python installed. If not, install it from python.org.

  2. The easiest way to install is: pip install madrigalWeb (you may need to be sudo on unix)
  3. If that doesn't work, install the remote python madrigal api from www.openmadrigal.org, and you will need to uncompress the file. Then you will need to run python setupMadrigalWeb.py install. If you are installing on Windows, you will need to open a command prompt, and then change directory to where you uncompressed the file. From windows the python command may be something like c:\python25\python.exe setupMadrigalWeb.py install. All the command line scripts (globalIsprint.py, madrigalPColor.py, and madrigalScatter.py) will be put into your PATH and so can be called directly from the command line.

For Matlab or IDL, go to the the OpenMadrigal download page, and download one or more version. Available as *.tar.gz or *zip files. The Matlab and IDL installations assumes you have these commercial products already installed.

...

globalDownload is a simple script that will allow you to download a whole series of files, in any format - ascii, Hdf5, or the old Cedar formatnetCDF4. Generate the script using the CEDAR Madrigal 3 archive web site at at http://madrigal3cedar.haystackopenmadrigal.mit.eduorg and choose choose Access Data, then then Create a command to download multiple expsthen Download a group of files as is. You specify the time range, the instruments, the format, the programming language, and, optionally, the kinds of data and other filters.

Use one the three scripts above to download all Arecibo linefeed Millstone Hill ISR data (kinst=20) with MRACF 30) of data type "Gridded data fitted to a uniform spatial and temporal grid - useful for modellers" (kindat=201013300) for the entire year 2010 in Hdf5 format.  Note that the script by default downloads files to the /tmp directory - change this to something else if you wish.

Step 3: Create and run a globalIsprint script

  • Download either the python, Matlab, or IDL version of the script to run the globalIsprint example (see top of page).

  • Go to the CEDAR Madrigal or Arecibo site, and choose Full data access then Global Madrigal search.

  • Choose the Arecibo Gregorian radar and the date range of all of 2012.

  • archive site, and choose Access Data, then Create a command to download multiple exps, then Download data with selected parms/filters.

  • Choose Instrument type Distributed Ground Based Satellite Receivers, then instrument World-wide GPS Receiver Network.

  • Select Select Show advanced filters.

  • Choose Choose MRACF for  for kind of data.

  • Add three filters:

 

Mnemonic

Lower limit

Upper limit

gdalt

240

260

nel

12

leave blank

 

  • Hit the the Select parameters button button.

  • Choose the parameters year,month,day,hour,min,sec,gdalt,gdlat,glon,ne,dne and hit hit Done.

  • Choose Choose Continue at  at the bottom.

  • Select the language you are using, and hit hit OK.

  • Verify the script runs successfully as is. If there is a problem, compare to the scripts at the top.

...

For those familiar with python Jupyter notebooks, download the following notebook:

Madrigal_python_demo.ipynb

This notebook will walk you though all the calls available as part of the Madrigal API.