Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/~mperrin/software/gpidata/faq.html
Дата изменения: Sat Feb 15 03:42:02 2014
Дата индексирования: Sat Mar 1 11:42:17 2014
Кодировка: ISO8859-5

Поисковые слова: regolith
Frequently Asked Questions — GPI Data Pipeline 1.0 documentation

Table Of Contents

Previous topic

Credits for the GPI Pipeline Software Development

Next topic

Software Licenses

This Page

Frequently Asked QuestionsТЖ

InstallationТЖ

When running gpi-pipeline it says, “gpi-pipeline: Command not found”ТЖ

This indicates that the pipeline/scripts directory has not been added to the $PATH. There are a couple possible reasons for this:

  1. The script that sets your environment variables (e.g. ~/.gpienv file ) has not been sourced. This should generally be sourced from your .tcshrc or .bash_profile script located in the home directory. Details can be found here. Remember to open a new terminal after modifying any shell scripts to ensure they are properly loaded.
  2. The shell script (e.g. ~/.gpienv file) has an error in the line that modifies the $PATH. Check to make sure the pipeline/scripts directory is properly inserted. The users can check if the directory is in the path by typing echo $PATH from a shell prompt. We recommend you copy and paste in the pipeline/scripts output to make sure the directory exists. Remember that paths are case sensitive.

When trying to start the pipeline, I get the error “xterm: Can’t execvp idl: No such file or directory”ТЖ

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.

Why did the pipeline stop and return to a prompt in the middle of my reduction?ТЖ

This is most likely an IDL_PATH issue. See ‘How do I diagnose an IDL_PATH error?’

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.

I get an “X windows protocol error” repeatedly. What’s up?ТЖ

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 envvars).

Common pipeline errorsТЖ

Variable is undefined: STR_SEP.ТЖ

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 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 Time machine issuesТЖ

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

GPItvТЖ

Blinking images doesn’t work properlyТЖ

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.

Less common issuesТЖ

I’m trying to reduce data from multiple different days in one recipe, and the output directory is behaving unexpectedly. What’s going on?ТЖ

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.