Change page style: 

Gemini Data Processing Software

You are here

Gemini Data Reduction Software

Gemini offers data reduction software for its facility instruments. The Gemini IRAF package and the DRAGONS platform are the official data reduction software supported by Gemini.

For the next several years we will be transitioning from the IRAF platform to our new Python-based DRAGONS platform. As time goes by, more and more instruments and modes will be supported by DRAGONS. During this transition, it is possible that users will require both platforms depending on the data they have obtained.

Which platform should I use?

Gemini IRAF currently still support all the instruments and modes. However for any imaging data from current instruments, we recommend using DRAGONS. DRAGONS currently support imaging data reduction, but does not support any spectroscopy, for now.

GMOS Imaging DRAGONS (recommended), Gemini IRAF
NIRI Imaging DRAGONS (recommended), Gemini IRAF
GNIRS Keyhole Imaging DRAGONS
Flamingos-2 Imaging DRAGONS (recommended), Gemini IRAF
GSAOI Imaging DRAGONS (recommended), Gemini IRAF, plus Disco-Stu
Any spectroscopy Gemini IRAF
Decommisioned Instruments Gemini IRAF

Download and Install

DRAGONS and Gemini IRAF, support software and dependencies, are all installed the same way using the Anaconda distribution system. We also make use of the STScI Astroconda suite to install common astronomy tools, like ds9.

Requirements

Gemini IRAF
  • Python 2.7   (for PyRAF)
  • 32-bit compatibility libraries
  • Linux, equilvalent to CentOS 6 and above
  • Or Mac OS X 10.10 to 10.14.0
DRAGONS
  • Python 2.7 or 3.6
  • Linux, equivalent to CentOS 6 and above
  • Or Mac OS X 10.10 and above

See the installation instructions here:

       DOWNLOAD
 


Announcements

DRAGONS First Public Release!
October 31, 2019

It is with great delight that we are announcing the first public release of Gemini's new Python-base data reduction platform, DRAGONS, Data Reduction for Astronomy from Gemini Observatory North and South. This project has been many years in the making. DRAGONS offers a more streamlined approached to the data reduction of Gemini data, compared to the Gemini IRAF package.

This release, version 2.1.0, supports imaging reduction only, for the current facility instruments. For spectroscopy data, please continue to use Gemini IRAF for the time being. Work is on-going regarding spectroscopy-support in DRAGONS but it will be a while before it is publicly available for science-quality reduction.

To download DRAGONS:   Download and Installation Instructions

For information and tutorials on DRAGONS, see the "DRAGONS Information" section.


IMPORTANT: MacOS 10.14.6 and 10.15 incompatibilities with data reduction software
October 11, 2019

As of this week's v10.15 release, MacOS is no longer capable of running the 32-bit Astroconda IRAF distribution needed by Gemini IRAF. For the time being, Gemini IRAF users on Apple machines are advised to continue using MacOS 10.14 or earlier, or to install Astroconda in a virtual machine with a compatible OS. Gemini will look into providing a ready-made VM image to help with this while we are migrating our data reduction tools to Python. Furthermore, MacOS 10.14.6 suffers from a bug that can cause a desktop session logout when attempting to display plots or images with PyRAF, DS9, Matplotlib or other software that uses Tk. We suggest that PyRAF users on 10.14 avoid updating their OS until such time as this problem is resolved by Apple and/or we can determine a reliable workaround (check here for further announcements). IRAF CL is unaffected, but note that we are no longer testing it routinely and are aware of occasional failures with Gemini IRAF.

For older announcements, see the Announcements page.


Gemini IRAF Information

Use Gemini IRAF to reduce Gemini facility instrument data, including decommissioned instruments. However, for imaging data from currently active instruments, we recommend the use of DRAGONS (below) instead.

DRAGONS Information

Use DRAGONS to reduce imaging data from the currently active Gemini facility instruments: GMOS, NIRI, Flamingos-2, GSAOI, GNIRS (keyhole). For spectroscopy data, you must use Gemini IRAF.

The DRAGONS documentation is hosted on readthedocs.org.

DRAGONS Documentation

Other Gemini Data Reduction Software

  • Disco-Stu - Distortion Correction and Stacking Utility

    Disco-Stu is a software package for GSAOI images. This standalone package, written in python, will align and stack images that have already been processed by DRAGONS or the Gemini IRAF gareduce task. The current release is v1.3.6.
    To install:

    conda install disco_stu

    Note that disco_stu is installed by default when doing a full install of Gemini IRAF and DRAGONS with conda.

    Documentation

    Disco-Stu Manual
  • gemini_calmgr - Gemini Local Calibration Manager
     

    The Gemini Local Calibration Manager, gemini_calmgr, is a python package that DRAGONS uses to associate data to reduce with the best processed calibration available. The Local Calibration Manager handles a lightweight database where the users can upload information about the processed calibration they have produced. DRAGONS can then use the calibration association rules to identify and retrieve automatically the master bias, the master flat, etc. that the data requires. The calibration association rules are the same as those used in the Gemini Observatory Archive.

    The package gemini_calmgr is installed automatically as part of a DRAGONS installation.


Need help?

To get help with Gemini IRAF or DRAGONS, please use the Gemini Helpdesk system. Use the Gemini IRAF category even for DRAGONS questions.

     Submit Helpdesk Ticket

If you find a bug with DRAGONS, please consider reporting on the DRAGONS Github issues portal. You will need a Github account.

     DRAGONS Code Issues

For comment, suggestions, and general feedback on DRAGONS, please add a comment to this decidicated post on the Gemini Data Reduction User Forum.

     DRAGONS Feedback Forum


Gemini Observatory Participants