We do not have the resources to provide installation support, thus we provide a server with the latest and older versions installed that users with access rights can use. However, the installation process is simple, and is described below (we hope that in enough detail) so that users can follow the steps and end up with a running version of the pipeline.


In this tutorial we use Miniconda3 as but you can also do it with Anaconda by visiting for downloading the Anaconda installer for either operating system.


This installation process has been tested in a live version (previously known as Live CD) of Ubuntu 18.04.

  1. Install make and gcc

sudo apt install gcc make

  1. Download Miniconda

wget -O

Mac OS#

This installation was tested on MacOS High Sierra.

  1. Install Xcode command Line Tools. You can do it from the App Store or from command line.

xcode-select --install

  1. Download Anaconda or Miniconda

curl --output

If you have a different processor like intel, you can search miniconda installer url for your system.

Common Steps#


This installation instructions work with BASH only.

  1. Install Miniconda


Answer the questions and reopen the terminal at the end.

  1. Configure conda to use the Astroconda Channel

conda config --add channels

  1. Get the latest release of the Goodman Spectroscopic Pipeline from github. There is a .zip and .tar.gz files, the following steps will continue with the latter.

    Make sure there is a green tag that says Latest release. For instance, for the version v1.1.2 the file is called.


  2. Extract the file (you can’t copy and paste this line)

tar -xvf goodman_pipeline-<latest tag>.tar.gz

where <latest tag> is the version number of the latest release.

  1. Move into the directory containing the package.

cd goodman_pipeline-<latest tag>

If you do ls you should find some interesting files on it such as: and environment.yml and

  1. Create the virtual environment. The environment.yml file contains a preset definition of a virtual environment that Anaconda will understand, also ensures that the Goodman Spectroscopic Pipeline will work. Even the name of the virtual environment is set there.

conda env create -f environment.yml

This will create a virtual environment called goodman_pipeline. To activate it

source activate goodman_pipeline

  1. Install DCR. This script requires a virtual environment activated.


To test if it worked you can do:


You should get something like this:

(goodman_pipeline) [user@servername goodman_pipeline]$ dcr

      This is a modified version of DCR! for the Goodman Spectroscopic Pipeline
      Please visit the author's site to get the original version:
      Modification Version: 0.0.1

      USAGE:  dcr  input_file  cleaned_file  cosmicrays_file

File 'dcr.par' must be present in the working directory.
  1. Run tests.

python test

  1. Install the pipeline

python install

Using pip#

The Goodman Spectroscopic Pipeline Can also be installed using pip, but it does not install dcr, so if you are updating your goodman pipeline only you can use:

pip install goodman-pipeline