Status: offline
Registered: 06/23/2006
Posts: 1
|
We have pyraf Revision 2.12.2a, STSDAS Version 3.5, and DITHER Version 2.2
installed on our redhat machines here. It seems to work fine for most things,
but when I try to run multidrizzle I get an error. Could you please tell me
what might be wrong with either our installation, or what I am doing? the
output from multidirzzle is below.thanks,Karen O'Neil
--> multidriz
Input files (name, wild-card and suffix, or @list) ('u5gd020*r.c0h'):----------------------------
Thu Jun 22 13:45:39 2006 EDT
----------------------------Running MultiDrizzle 2.7.2 (23 Feb 2006)
Version Information for MultiDrizzle 2.7.2 (23 Feb 2006)
--------------------------------------------
PyRAF Version 1.2.1 (2006Mar24)
Numarray Version 1.5.1
PyFITS Version 1.0.1
PyDrizzle Version 5.6.0 (21-Oct-2005)
Python Version:
# 2.3.4 (#1, Sep 1 2004, 14:28:14)
# [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)]
#
! u5gd0201r.c0h -> u5gd0201r_c0h.fits
! WARNING: No DQ file found for u5gd0201r.c0h
! WARNING: All pixels will be treated as good
! u5gd0203r.c0h -> u5gd0203r_c0h.fits
! WARNING: No DQ file found for u5gd0203r.c0h
! WARNING: All pixels will be treated as good
! u5gd0204r.c0h -> u5gd0204r_c0h.fits
! WARNING: No DQ file found for u5gd0204r.c0h
! WARNING: All pixels will be treated as good
! u5gd0205r.c0h -> u5gd0205r_c0h.fits
! WARNING: No DQ file found for u5gd0205r.c0h
! WARNING: All pixels will be treated as good
! u5gd0207r.c0h -> u5gd0207r_c0h.fits
! WARNING: No DQ file found for u5gd0207r.c0h
! WARNING: All pixels will be treated as good
! u5gd0208r.c0h -> u5gd0208r_c0h.fits
! WARNING: No DQ file found for u5gd0208r.c0h
! WARNING: All pixels will be treated as good
! u5gd0209r.c0h -> u5gd0209r_c0h.fits
! WARNING: No DQ file found for u5gd0209r.c0h
! WARNING: All pixels will be treated as good
Input string provided to Multidrizzle: u5gd020*r.c0h
The following files have been identified by the given input string:
u5gd0201r_c0h.fits
u5gd0203r_c0h.fits
u5gd0204r_c0h.fits
u5gd0205r_c0h.fits
u5gd0207r_c0h.fits
u5gd0208r_c0h.fits
u5gd0209r_c0h.fits
Output rootname: new
+ MAKEWCS Version 0.7.0 (9 February 2005)
Traceback (innermost last):
File "<CL script CL1>", line 1, in ?
iraf.multidriz(_save=1)
File "/home/apps/iraf/stsdas/pkg/analysis/dither/multidrizzle_iraf.py", line
239, in mdrizzle_iraf
crbit = _crbit)
File
"/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/multidrizzle/__init__.py",
line 287, in __init__
self._checkInputFiles(self.files, updatewcs)
File
"/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/multidrizzle/__init__.py",
line 1018, in _checkInputFiles
if updatewcs == True: makewcs.run(image=p) # optionally update wcs
File "/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/makewcs.py",
line 108, in run
idctab = drutil.getIDCFile(_files[0][0],keyword='idctab')[0]
File
"/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/pydrizzle/drutil.py",
line 164, in getIDCFile
idcfile = fileutil.osfn(idcfile)
File
"/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/pydrizzle/irafvars.py",
line 158, in osfn
ename = Expand(filename)
File
"/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/pydrizzle/irafvars.py",
line 284, in Expand
outlist.append(_os.path.expanduser(_expand1(word, noerror=noerror)))
File
"/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/pydrizzle/irafvars.py",
line 312, in _expand1
return _expand1(envget(varname) + instring[mm.end():], noerror)
File
"/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/pydrizzle/irafvars.py",
line 310, in _expand1
if defvar(varname):
File
"/opt/local/stow/Python-2.3.4/lib/python2.3/site-packages/pydrizzle/irafvars.py",
line 177, in defvar
_irafdef = iraf.envget(varname)
KeyError: "Undefined environment variable `crrefer'"
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
I think the error is in the last line, i.e.[quote:3fdcac6a17]
KeyError: "Undefined environment variable `crrefer'" [/quote:3fdcac6a17]The 'crrefer' is a logical directory used for reference data (e.g. I know it is used for SYNPHOT) and should be defined in the hlib$extern.pkg file along with the STSDAS declaration.I'll admit total ignorance about MULTIDRIZZLE so you might also ask the STScI Help Desk at help@stsci.edu since this is their software. Hope this helps.Cheers,
-Mike
|
Status: offline
Registered: 08/21/2007
Posts: 1
|
As I just stumbled upon this thread, searching for that error message, I ll post this, even though it's been more than a yeare since the original question:What caused the problem for me was, that I had forgotten to [b:b04b93a0cc]"set uref=/somewhere/folder_where_the_calibration_images_are/"[/b:b04b93a0cc]prior to calling multidrizzle (the terminating "/" is important).
|