View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Pydrizzle Errors (and missing SkyField?)

ReiCow wrote on May 26, 2011

Hello,

I am running STSCI_Python 2.10, with python 2.5.4, and IRAF 2.14 (have tried 2.15 and 2.12 as well). When I try to run the following command in Pyraf (on an ACS file, after importing pydrizzle), I get:

--> pydrizzle j8f631jaq_flt.fits
File "<console>", line 1
pydrizzle j8f631jaq_flt.fits
^
SyntaxError: invalid syntax

I am able to circumvent this by using:
--> test = pydrizzle.PyDrizzle('j8f631jaq_flt.fits')

When I want to try to change the pixel scale, however, I get this error:

--> f = pydrizzle.SkyField(psize=0.05)
Traceback (innermost last):
File "<console>", line 1, in <module>
AttributeError: 'module' object has no attribute 'SkyField'

Does anyone have any suggestion for "finding" SkyField? Less importantly, does anyone know thy the simple "pydrizzle file_name" command is failing?

Thanks,
ReiCow

Mike Fitzpatrick wrote on May 26, 2011

If you don't get a reply here, you might also ask the STScI help desk (help@stsci.edu) since they primarily support STSCI_Python.

Last post on May 26, 2011