Notes on retreiving Sloan spectra

1. Go to http://cas.sdss.org/astro/en/tools/search/SQS.asp and select a lit of objects. For galaxies select
min-redshift=0.02
max-redshift=1.0
confidence >0.95
For OUTPUT FORMAT select "CSV"
For CLASSIFICATION select "GALAXY"
Click on "Submit Request" and save the .csv file locally on disk

2. In another browser open up 1. Go to http://das.sdss.org/DR5-cgi-bin/DAS and checkthe box that says "spSpec"

Under Step 3 select "Browse" and upload the .csv file you just saved.

3. Save the ".lis" file locally to disk and in a terminal issue "wget -c -i sdss-wget.lis" to retrieve the .fits files to local disk.

4. Start up iraf and use the tables.ttools task to dump the fits binary table to a txt file.

5. Go to GATOR at the IRSA website at IPAC http://irsa.ipac.caltech.edu/applications/Gator/

6.