A release of the KMOS pipeline recipes is now available !

A release of the KMOS pipeline recipes is now available.

Together with the data processing modules, we also provide standalone applications for running them:

  • EsoReflex, a GUI which provides an easy and flexible way of runing pipeline execution workflows.
  • Gasgano, a GUI for data browsing and organisation, providing an intuitive and comprehensive interface to pipeline recipes that are based on the ESO Common Pipeline Library (CPL).
  • EsoRex, a command-line driven utility to launch pipeline recipes, which can be used either as an interactive tool, or can be embedded into scripts for automating some of the data reduction tasks.


Version 4.4.4 Public Release (15th May 2024)

  • Updated EDPS workflows and QC reports
  • Fixed build when using clang compiler

Version 4.4.1 Public Release (19th Oct 2023)

  • Added EDPS workflows and ADARI quality reports.

Version 4.2.4 Public Release (1 Oct 2023)

  • Improvement in the telluric correction strategy: it is possible to use the water vapour measurement from a radiometer obtained at the same moment of the science observation, instead of the value measured from the telluric standard.
  • Minor bug fixes and updates for calibration data and product headers.

Version 4.1.1 Public Release (31 May 2023)

  • Improved error handling, minor bug fixes and updates for URLs in the Manual.
  • Support for Telluriccorr v4.3.1.
  • Updates to static calibration data.
  • Update for latest CPL version.

Version 4.0.4 Public Release (19 May 2022)

  • Support for Telluriccorr v4.2.0.
  • Updates to static calibration data.
  • Update for latest CPL version.
  • Minor bug fixes and updates for URLs in the Manual.

Version 4.0.1 Public Release (1 June 2021)

  • Support for Telluriccorr v4.1.0.
  • Update for latest CPL version.

Version 4.0.0 Public Release (1 March 2021)

  • Support for Telluriccorr (v4.0.1) Note that KMOS 4.0.0 is not backwards-compatible with < Telluriccorr 3.x.x
  • Support for Multiple chip and wavelength inclusion regions.

Version 3.0.1 Public Release (8 Sept 2020)

  • Fixed issues for using ESO Reflex workflow with Python3

Version 3.0.0 Public Release (3 June 2020)

  • Added Python 3 compatibility
  • Update telluriccorr dependency to telluriccorr 3.0.0 or greater. Note that KMOS 3.0.0 is not backwards-compatible with telluriccorr 2.x
  • Implements a new algorithm for computing the AB magnitude limit (ABMAGLIM)
  • Fixed issue where PIXNOISE may be computed as 0 in some cases
  • Fixed MJD-OBS miscalculation in intermediate data products from kmos_combine
  • Fixed missing MJD-END and remove NOISE extension for single-frame combines
  • Updated Reflex Tutorial
  • Updated User Manual

KMOS pipeline recipes public version:

The public version of the KMOS pipeline recipes is 4.4.4, and it is included in the pipeline distribution kit kmos-kit-4.4.4.tar.gz together with the following packages:

  • the CFITSIO library, version 4.2.0
  • the Common Pipeline Library (CPL), version 7.3.2
  • Gasgano version 2.4.8
  • EsoRex, version 3.13.8
  • Third-party libraries used by CPL (wcslib, fftw)
  • Third-party libraries required by the KMOS pipeline

KMOS pipeline documentation

User Manual: 3.6
EsoReflex Tutorial: 5.1

KMOS pipeline recipes System Requirements

The KMOS pipeline kit version 4.4.4 is verified and supported on the VLT target platform:
  • CentOS 7 (x86_64), using gcc v4.8.5.
It is also verified that the pipeline kit can be built on the following platforms (x86_64, unless specified otherwise):
  • CentOS 7
  • Rocky Linux 8
  • Alma Linux 9
  • Fedora 31
  • Fedora 34
  • Fedora 36
  • Fedora 37
  • Fedora 38
  • Fedora 39
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 23.04
  • Ubuntu 23.10
  • Debian 11
  • Debian 12
  • macOS 12 (Intel & Apple Silicon)
  • macOS 13 (Intel & Apple Silicon)
  • macOS 14 (Intel & Apple Silicon)

Installing and running the KMOS pipeline recipes 4.4.4

There are several ways to install the pipeline on your machine. The recommended installation procedure depends on whether you are working on a Mac OSX or on Linux.

Installation using RPM repositories

For Fedora 38/39, CentOS 7 and Scientific Linux 7, it is recommended to install the pipeline from our RPM repository. The RPM repositories include not only the pipeline recipes but also the library dependencies (CPL, etc..), the EsoReflex workflow, demo data and the EsoReflex tool itself.

Please refer to the instructions provided here.

Installation using MacPorts repositories

For Apple macOS 12/13/14, it is recommended to install the pipeline with MacPorts. The MacPorts repositories include not only the pipeline recipes but also the library dependencies (CPL, etc..), the EsoReflex workflow, demo data and the EsoReflex tool itself.

Please refer to the instructions provided here.

Installation using the EsoReflex installation procedure

Please refer to EsoReflex Software Prerequisites and Installation Instructions for detailed instructions

Installation using the public pipeline kit

To install the KMOS pipeline recipes 4.4.4 you will need to retrieve the pipeline distribution kit, unpack and install it.

  • Please check the software prerequisites here.

Installation procedure:

  1. Change directory to where you want to retrieve the KMOS pipeline recipes 4.4.4 package. It can be any directory of your choice but not:
    • $HOME/gasgano
    • $HOME/.esorex
  2. Download the software and the static calibration data (line catalogs etc.) necessary for running the pipeline recipes:
  3. Unpack using for example the following command:     tar xzf kmos-kit-4.4.4.tar.gz
  4. Install: after moving into the installation directory,     cd kmos-kit-4.4.4 it is recommended to perform the installation using the supplied installer script:     ./install_pipeline (BEWARE: The installation may take several minutes). By default the script will install the KMOS recipes, Gasgano, EsoRex, all the necessary libraries, and the static calibration tables, into a directory tree rooted at $HOME. A different path may be specified as soon as the script is run. For instance (user input is boldfaced):
    $ ./install_pipeline
    I am about to install the following software packages:
    • cfitsio4.2.0.tar.gz
    • cpl-7.3.2.tar.gz
    • esorex-3.13.8.tar.gz
    • gasgano-2.4.8.tar.gz
    • kmos-kit-4.4.4.tar.gz
    with the following pipeline calibration file(s):
    • kmos-calib-4.4.4.tar.gz
    The software installation will be organised in bin/, lib/ and include/ directories, while the calibration files will be installed in a calib/ directory. Where should I install the software packages ? [/home/userid] /home/dummy/pipelines
    Where should I install the pipeline calibration files ? [/home/dummy/pipelines] /home/dummy/calibrations
    In this case the software is installed under the directory /home/dummy/pipelines and the static calibration tables under /home/dummy/calibrations/kmos The only exception to all this is the Gasgano tool, that will always be installed under the directory $HOME/gasgano Note that the installer will move an existing $HOME/gasgano directory to $HOME/gasgano.old before the new Gasgano version is installed.
    Important: the installation script would ensure that any existing Gasgano and EsoRex setup would be inherited into the newly installed configuration files (avoiding in this way any conflict with other installed instrument pipelines).
    Please follow the instructions shown at the end of a successful installation script: they will indicate how to set your PATH and CPLDIR variables in your machine in order to run the pipeline.
    Alternatively, it is possible to perform a manual installation (experienced users only): the README file located in the top installation directory contains more detailed information about a step-by-step installation.

Executing the pipeline 4.4.4

Using EsoReflex

  • To run the EsoReflex workflow, please refer to the KMOS workflow tutorial available in this table under column Documentation.

Using Gasgano

  1. To run the Gasgano GUI, just add $HOME/gasgano/bin to your PATH environment variable:     export PATH="$HOME/gasgano/bin:"$PATH You should also define an environment variable CPLDIR to point to the same path specified for the installation. Possible files to update are:     $HOME/.bashrc     $HOME/.profile Finally, enter the command     gasgano
  2. If the Gasgano main panel appears, then you have successfully installed Gasgano. Make sure, however, that the expected Gasgano 2.4.8 release is running: the version number is listed at the top of the main Gasgano panel.
  3. Refer to the Gasgano User's Manual to learn how to browse data and run pipeline recipes. Refer to the Pipeline User Manual(s) for detailed information about the recipes usage.

Using EsoRex

  1. The EsoRex executable should be available in the bin directory under your installation path (see above). The PATH environment variable should be upgraded accordingly (similarly as done for Gasgano).
  2. Refer to the EsoRex web page for details about the related features and options.


The EsoReflex Users' Manual is availale for download

The GASGANO Users' Manual (~1.2 Mb, 66 pages) is available for download in the Gasgano web page.

On the EsoRex web page some online documentation about EsoRex can be found.

The CPL manuals are available on the CPL web pages.

In case of problems when opening the documents directly from your web browser, the files may be first saved on disk, and then opened with Acrobat Reader.

Bug Reports

If you experience an unexpected behavior of any component of the KMOS pipeline recipes package, please, first verify that you are using one of the above mentioned supported platforms and refer to the list of known problems and limitations in the pipeline manual of the current KMOS pipeline release.

For any other issues or requests, please, send a report to the ESO User Support Department mentioning KMOS pipeline in the subject, describing:        

  • the KMOS pipeline version (currently 4.4.4), and the version of other components (e.g., Gasgano, EsoRex, ...) you are using
  • the version of your OS and C compiler.
  • the exact sequence of actions that were performed before the problem occurred
  • what were precisely the symptoms and the possible error message(s)
  • whether the problem is repeatable