View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Problem with gemini.niri.nprepare

kiva wrote on Feb 02, 2007

Hi,

I'm new to reducing Gemini data and am having problems with the task nprepare in the gemini.niri package. I'm using PyRAF 2.1 on Mac OS Tiger.

I've left the task parameters to their default values and provided a list of calibration frames as input, and a list of the same frames with the suffix '_n.fits' as the output. I get the error:

Traceback (innermost last):
File "<CL script CL1>", line 1, in ?
iraf.nprepare(_save=1)
File "<CL script niri.nprepare>", line 168, in nprepare
array_size=(1000,), mode='u'))
SyntaxError: Cannot handle arrays of type ab


Thanks for any help in advance,

Kiva

Mike Fitzpatrick wrote on Feb 02, 2007

Type 'ab' implies a boolean array, which was only added to Pyraf in the last year or so (current release is 2.4). I think you need to either update to a more recent Pyraf or else use the standard CL, GEMINI apparently doesn't make mention of required versions for Pyraf but the package is switching over to use that in the future.

Cheers,
-Mike

kiva wrote on Feb 02, 2007

Thank you, I'll update my version of PyRAF :D .

Kiva

Last post on Feb 02, 2007