Go to sdss.org
DR7 Home
Where to Start
Data
   Database (CAS)
   Files (DAS)
   Value-Added
   Tutorials
   Older Releases
About DR7
   Sky Coverage
   Instruments
   Data Processing
   Algorithms
Help
   FAQ
   Glossary
   Known Issues
   DR Papers
   Helpdesk
   Search

Tutorial: Retrieving FITS Images of Objects

This procedure describes how to download a set of FITS images corresponding to a list of objects that you provide. The input file, which you will provide, contains the ra and dec of each object in your object list. The Imaging Query Server is used to retrieve object information and the DAS Retrieval Form is used to retrieve the actual FITS image files.

  1. Prepare a three-column comma-separated value (CSV) list of your objects. The first two columns should contain the ra and dec coordinates of your objects. The last column should be set to 1 (which is a separation parameter in arcsec). E.g.,
          ra,dec,sep
          4.2142,-1.2248,1
          227.6103,61.1158,1
          205.9245,67.0318,1
          199.3531,0.0437,1      
  2. Access the SDSS Imaging Query Server (IQS)
  3. Under Parameters to Return, select "minimal" for the desired set of parameters for your query from the scroll box. This will return a csv with the following parameters
    • run
    • rerun
    • camcol
    • field
    • obj
    You should be aware that one FITS image is 2048x1361 pixels, where 1 pixel = 0.4 arcsec. You should also be able to use ds9 or other display software to see your FITS file.
  4. Under "Filter names to return (for use by the DAS)", unselect all filters.
  5. Under Parameters to Return, select "Best Imaging" (note that although you can retrieve "Target Imaging" parameters, we only provide the "best" images).
  6. Under Position Constraints, click on the Proximity Search button.
  7. Cut and paste the CSV file into the Proximity Search scroll box found under the heading "List of ra, dec, [sep]."
  8. Click on "Submit Request" at the top of the web form to submit your query.
  9. Look at the results in the html table, or save the resulting CSV file.

To get fits images, e.g., of your targets:

  1. Select csv output and save the csv file to disk.
  2. Go to the DAS imaging data retrieval form.
  3. Select "All data" for the data release choice, because the CSV generated by the "minimal" columns as instructed above includes the rerun.
  4. Select the result csv file from above in the "select file to upload" box.
  5. Click on "Submit Request" at the bottom of the page.
  6. Under "File types," select the types of files you want to download (fpC or drC for fits images, for example).
  7. Since either "wget" or "rsync" under the "Download Selection" section, depending on how you want to download your data.
  8. Hit the "request" button at the bottom of the page. When queried by your browser, choose where to save the file.
  9. Follow the instructions in the Interactive download tools section of the DAS home page to download the files you requested.

Last modified: Tue Jul 26 20:46:21 CDT 2005