View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

msctpeak cannot access or find table

astropunkin wrote on Apr 14, 2011

I am attempting to run msctpeak on a mosaic image to update the WCS. I run into this error though when I try to run it.

mscfinder> msctpeak
List of WCS calibrated Mosaic images (ngc7793g.146.fits):
List of ra(hr), dec(deg), optional id (ngc7793_usnob):
Database for astrometric fit (ngc7793.db):
ERROR: Table `/tmp/iraf2693c' does not exist or cannot be opened.
"goodcolor=goodcolor, badcolor=badcolor)"
line 172: mscfinder$msctpeak.cl
called as: `msctpeak ()'

I look in the /tmp directory and the table is there. In this case it would be iraf2693c.tab . I'm not sure what the problem is here. If anyone has dealt with this before and has a fix I'd really appreciate it :)

astropunkin wrote on Apr 14, 2011

Sorry, here are the parameters I set for the task.

PACKAGE = mscfinder
TASK = msctpeak

images = ngc7793g.146.fits List of WCS calibrated Mosaic images
coordina= ngc7793_usnob List of ra(hr), dec(deg), optional id
database= ngc7793.db Database for astrometric fit
(extname= ) Extensions
(epoch = 2000.) Coordinate epoch
(update = yes) Update image header WCS following fit?
(autocen= no) Center catalog coords when entering task?
(boxsize= 9) Centering box fullwidth

(project= tnx) Sky projection geometry
(fitgeom= general) Fitting geometry
(functio= polynomial) Surface type
(xxorder= 3) Order of xi fit in x
(xyorder= 3) Order of xi fit in y
(xxterms= half) Xi fit cross terms type
(yyorder= 3) Order of eta fit in y
(yxterms= half) Eta fit cross terms type?

(reject = INDEF) Rejection limit in sigma units

(interac= yes) Enter interactive image cursor loop?
(frame = 1) Display frame number
(marker = circle) Marker type
(omarker= plus) Overlay marker type
(goodcol= blue) Color of good marker
(badcolo= red) Color of bad marker
(fdimage= )
(fdcoord= )
(mode = q)

Mike Fitzpatrick wrote on Apr 14, 2011

See http://iraf.net/phpBB2/viewtopic.php?t=90607 and post back if you're still having problems.

astropunkin wrote on Apr 14, 2011

So I'm guessing my problem is that I have v 2.14 of IRAF on a 64-bit system and probably the wrong version of mscred since I had to download it from the iraf.noao.edu site myself and install it. I am currently downloading the lastest release of IRAF to install on my system. Thanks for your help. I will let you know if I have any further problems.

astropunkin wrote on Apr 14, 2011

Ok. So I installed v2.15.1a of IRAF and I used the extern repositories to add mscred, stsdas, tables, guiapps and fitutils to the packages. I am still getting the same error though :(

mscfinder> msctpeak
List of WCS calibrated Mosaic images (ngc7793g.146.fits):
List of ra(hr), dec(deg), optional id (ngc7793_usnob):
Database for astrometric fit (ngc7793.db):
ERROR: Table `/tmp/iraf8069f' does not exist or cannot be opened.
"goodcolor=goodcolor, badcolor=badcolor)"
line 172: mscfinder$msctpeak.cl
called as: `msctpeak ()'

To install the external packages, does it matter if I am logged in as iraf administrator or can I just sudo make package?

Any help would be really appreciated.

I am running 64-bit Ubuntu 10.04 Maverick

Last post on Apr 14, 2011