Документ взят из кэша поисковой машины. Адрес
оригинального документа
: 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 Поисковые слова: п п п п п п п р п р п |
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.
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 envvars).
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 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
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.
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.