Posted: Thu Oct 11, 2012 11:41 am Post subject: gemini gmos gprepare error
Hello,
I am trying to reduce some gemini gmos longslit data. When trying to gprepare the data, i get this error:
GPREPARE -- Thu Oct 11 12:33:10 BST 2012
Input list = @objects.lis
Output list =
Output prefix = obj
Raw path =
Add MDF = yes
Input MDF in case header keyword not found = 0.75arcsec.fits
Input N20100720S0243.fits Output objN20100720S0243.fits
GPREPARE: Using MDF defined in the header 0.75arcsec
GPREPARE: Taking MDF from directory gmos$data/
ERROR: Cannot open file (NULL)
"delete-, verify-, show-)"
line 102: gemtools$gemhedit.cl
called as: `gemhedit (image=objN20100720S0243.fits[1], field=EXTNAME, value=SCI, comment=)'
"gemhedit (outimg[n_i]//"["//n_j//"]", "EXTNAME", l_sci_ext, "")"
line 511: gmos$gprepare.cl
called as: `gprepare (mode=h)'
I have checked in the gmos$data directory, the MDF is there, but this error still appears. I also try to feed it to the gprepare task with the parameter
(mdffile = "0.75arcsec.fits") MDF file to use if keyword not found
yet the same error appears.
I am using
Beta Version 1.11beta2, August 19, 201
Requires IRAF 2.12.2a to 2.14.1
Tested with IRAF 2.14.1
Hi, I believe I have found a solution to the problem.
Some tasks are passing a "NULL" file around. This should be equivalent to "" in iraf, but for some reason iraf searches for an actual file called NULL, and since it can not find it, it crashes with an error. So I just replaced NULL with "" in the files gemhedit.cl and ggain.cl. These tasks are found in the gemtools package and gmos package within the parent gemini iraf external package.
There is a newer version of the Gemini IRAF package available (v1.11.1, see http://www.gemini.edu/sciops/data-and-results/processing-software for more details). The problem you describe should not occur if you use the latest version of the Gemini IRAF package.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum