Skip to content

Instantly share code, notes, and snippets.

@josePhoenix
Created August 22, 2014 14:03
Show Gist options
  • Select an option

  • Save josePhoenix/191250f5d06be081ee3b to your computer and use it in GitHub Desktop.

Select an option

Save josePhoenix/191250f5d06be081ee3b to your computer and use it in GitHub Desktop.
% pyraf
setting terminal type to xterm...
NOAO/IRAF PC-IRAF Revision 2.16 EXPORT Thu May 24 15:41:17 MST 2012
This is the EXPORT version of IRAF V2.16 supporting PC systems.
Welcome to IRAF. To list the available commands, type ? or ??. To get
detailed information about a command, type `help <command>'. To run a
command or load a package, type its name. Type `bye' to exit a
package, or `logout' to get out of the CL. Type `news' to find out
what is new in the version of the system you are using.
Visit http://iraf.net if you have questions or to report problems.
The following commands or packages are currently defined:
(Updated on 2014-8-2)
clpackage/:
adccdrom/ deitab/ language/ optic/ system/
apropos esowfi/ lists/ plot/ tables/
cfh12k/ finder/ mem0/ proto/ ucsclris/
cirred/ fitsutil/ mscdb/ rvsao/ upsqiid/
clpackage/ gemini/ mscred/ softools/ user/
ctio/ gmisc/ mtools/ song/ utilities/
cutoutpkg/ guiapps/ nfextern/ sqiid/ vo/
dataio/ images/ noao/ stecf/ xdimsum/
dbms/ kepler/ obsolete/ stsdas/ xray/
PyRAF 2.2.dev2234 Copyright (c) 2002 AURA
Python 2.7.5 Copyright (c) 2001-2013 Python Software Foundation.
Python/CL command line wrapper
.help describes executive commands
--> import drizzlepac
The following tasks in the stwcs.gui package can be run with TEAL:
apply_headerlet archive_headerlet attach_headerlet
delete_headerlet extract_headerlet headerlet_summary
restore_headerlet updatewcs write_headerlet
The following task in the fitsblender package can be run with TEAL:
blendheaders
The following task in the stsci.skypac package can be run with TEAL:
skymatch
The following tasks in the drizzlepac package can be run with TEAL:
astrodrizzle imagefindpars mapreg pixtopix
pixtosky refimagefindpars resetbits skytopix
tweakback tweakreg updatenpol
--> epar tweakreg
Task tweakreg is running...
Setting up logfile : tweakreg.log
TweakReg Version 1.4.0(21-Jul-2014) started at: 09:57:00.441 (22/08/2014)
Version Information
--------------------
Python Version 2.7.5 (default, Aug 2 2014, 00:43:04)
[GCC 4.2.1 (Apple Inc. build 5664)]
numpy Version -> 1.8.1
astropy Version -> 0.4
stwcs Version -> 1.2.1.dev33816
Finding shifts for:
j8ny01szq_flc.fits
=== Source finding for image 'j8ny01szq_flc.fits':
# Source finding for 'j8ny01szq_flc.fits', EXT=('SCI', 1) started at: 09:57:00.957 (22/08/2014)
Found 39749 objects.
# Source finding for 'j8ny01szq_flc.fits', EXT=('SCI', 2) started at: 09:57:18.276 (22/08/2014)
Found 44618 objects.
=== Found a TOTAL of 84367 objects in image 'j8ny01szq_flc.fits'
=== Source finding for image 'j8ny01svq_flc.fits':
# Source finding for 'j8ny01svq_flc.fits', EXT=('SCI', 1) started at: 09:57:36.00 (22/08/2014)
Found 9994 objects.
# Source finding for 'j8ny01svq_flc.fits', EXT=('SCI', 2) started at: 09:57:43.06 (22/08/2014)
Found 10184 objects.
=== Found a TOTAL of 20178 objects in image 'j8ny01svq_flc.fits'
Trailer file written to: tweakreg.log
Traceback (most recent call last):
File "/Users/jlong/STScI/ssbx/variants/common/lib/python2.7/site-packages/drizzlepac-2.0.0.dev33816-py2.7-macosx-10.6-x86_64.egg/drizzlepac/util.py", line 219, in wrapper
func(*args, **kwargs)
File "/Users/jlong/STScI/ssbx/variants/common/lib/python2.7/site-packages/drizzlepac-2.0.0.dev33816-py2.7-macosx-10.6-x86_64.egg/drizzlepac/tweakreg.py", line 308, in run
cat_origin=cat_src, **kwargs)
File "/Users/jlong/STScI/ssbx/variants/common/lib/python2.7/site-packages/drizzlepac-2.0.0.dev33816-py2.7-macosx-10.6-x86_64.egg/drizzlepac/imgclasses.py", line 1058, in __init__
self.name = self.wcs.filename
AttributeError: 'WCS' object has no attribute 'filename'
Exception in Tkinter callback
Traceback (most recent call last):
File "/Users/jlong/STScI/ssbx/python/lib/python2.7/lib-tk/Tkinter.py", line 1470, in __call__
return self.func(*args)
File "/Users/jlong/STScI/ssbx/variants/common/lib/python2.7/site-packages/stsci.tools-3.3.0.dev33816-py2.7.egg/stsci/tools/editpar.py", line 1245, in execute
self.runTask()
File "/Users/jlong/STScI/ssbx/variants/common/lib/python2.7/site-packages/stsci.tools-3.3.0.dev33816-py2.7.egg/stsci/tools/editpar.py", line 1754, in runTask
self._taskParsObj.run(mode='h', _save=1)
File "/Users/jlong/STScI/ssbx/variants/common/lib/python2.7/site-packages/stsci.tools-3.3.0.dev33816-py2.7.egg/stsci/tools/cfgpars.py", line 791, in run
return self._runFunc(self, *args, **kw)
File "/Users/jlong/STScI/ssbx/variants/common/lib/python2.7/site-packages/drizzlepac-2.0.0.dev33816-py2.7-macosx-10.6-x86_64.egg/drizzlepac/util.py", line 229, in wrapper
raise errorobj
AttributeError: 'WCS' object has no attribute 'filename'
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment