This indicates that the pipeline/scripts directory has not been added to the $PATH. There are a couple possible reasons for this:
This cryptic message means that you are trying to start the gpi-pipeline script without having the idl executable in your path. Perhaps you have it aliased instead, but that’s not detected by the gpi-pipeline starter script. You can either (1) change your $PATH to include the directory with idl, (2) put a symlink pointing to idl in some directory already in your path, or (3) edit your local copy of the gpi-pipeline script to explicitly set the full path to the idl executable.
If you are using the compiled IDL runtime version of the pipeline, note that a copy of the IDL runtime is included in the ‘idl81/bin/’ directory included with the pipeline.
This is most likely an IDL_PATH issue. See ‘How do I diagnose an IDL_PATH error?’
The user should check to make sure that the proper dependency is being called. For example, if the pipeline crashes in a function called APER (which is part of the IDL astrolib library). The user should issue the command:
IDL> which, aper
Doing this will show each aper.pro file that is in the $IDL_PATH, the one that is in the pipeline directory should be the first on the list. If it is not, then the pipeline directory does not have the priority when calling this function. To correct this, ensure that the pipeline directory comes before the other directories in your IDL path by setting the $IDL_PATH in your setup script (or wherever you set the $IDL_PATH variable) as follows:
For sh/csh/tcsh shells - setenv IDL_PATH "+/home/labuser1/GPI/pipeline:${IDL_PATH}"
For bash shells - export IDL_PATH="+/home/labuser1/GPI/pipeline/${IDL_PATH}"
If the which command is not defined, this means that the pipeline and external directories have not been added to the $IDL_PATH. Verify that the modifications to the $IDL_PATH in the environment variable configuration scripts (e.g. setenv_GPI_sample.csh or setenv_GPI_sample.bash) is correct.
On some Mac OS and Linux computers, you may have display issues with the default IDL display configurations. This will generate a repeated message in your IDL session saying something like:
% X windows protocol error: BadMatch (invalid parameter attributes).
In order to correct this, you can execute the following commands in the IDL session:
IDL> device, decompose=0
IDL> device, retain=2
If you want these commands to be executed in all IDL sessions automatically, you can add them to your IDL startup file (this is an IDL script that is run on startup of any new IDL session). The startup file is identified by the environment variable $IDL_STARTUP (see Setting directory paths via environment variables).
On Mac OS, unfortunately if you define environment variables in your shell config files, those only apply to Terminal and X11 sessions. If you try to start something from the Finder your environment variables won’t be defined in the child process. The fix is to start the pipeline from the command line in a shell (Terminal or xterm), for instance by using the gpi-pipeline script that is provided. Don’t try to start it just by double clicking from Finder.
For users having IDL 8.2+, the str_sep.pro program is now an obsolete command. Although no pipeline source code calls this function, it is still used in some other external dependencies. For the time being, users should add the idl/lib/obsolete folder to their $IDL_PATH to remedy this issue. This can be done in the last line of the configuration scripts (e.g setenv_GPI_custom.csh or setenv_GPI_custom.bash - as discussed here)
Mac OSX Lion and Mountain Lion users running IDL 8.2 have been known to see the following error:
2011-07-21 12:12:39.649 idl[11368:1603] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
Although a nuisance, this error should have no affect on pipeline operation. Possible workarounds exist; details can be found here
The output directory for a recipe is set once when the recipe is loaded in, not individually for each file. Thus all output files from a recipe should be output to the same directory. (The one exception to this is of course reduced calibration files which are always written to the calibration database directory.)
If the output directory is set to ‘AUTOMATIC’ and organize_reduced_data_by_dates is set to 1 (true), then the output directory is determined based on the YYMMDD date string for the first FITS file in that recipe.
On some X windows systems (Mac OS and Linux), the tvrd() function used to implement image blinking doesn’t work properly. See this article from Exelis describing the problem.
The fix is simple: make sure that you set
device, retain=2
in your .idlstartup file.
GPItv requires a 24-bit (millions of colors) display. Check if your X11 or other graphics system settings are for some reason set to 8-bit (256 color) mode. If so, you should change them to 24 bit color before running the GPI pipeline.
For guidance on data reduction, please consult the GPI IFS Data Handbook.
See this discussion at the Gemini Data Reduction Forum.
Some reduced calibration files are available from the Gemini GPI Public Data page.
There are also files available in the tutorial data sets.
This most likely is due to missing calibration files. To check if the files are being correctly seen within the code, press the “Rescan Calib. DB” on the GPI GUI. This will scan all the calibration files.