View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

MSCIMAGE problem

Mike Fitzpatrick wrote on Dec 15, 2014


[Moderator's Note: Forwarded from story submission

I have a mscimage problem:

mscred\$this->_split2($m[0]) show version

NOAO/IRAF V2.16.1

mscred\$this->_split2($m[0]) unlearn mscimage

mscred\$this->_split2($m[0]) ls tmp*

ls: cannot access tmp*: No such file or directory

mscred\$this->_split2($m[0]) mscimage asd dsa

WCS reference image is asd[im4]

Resampling asd[im1] ...

ERROR: Cannot open file (tmp9374tk)

"nxblock=nxblk, nyblock=nyblk, verbose=no)"

line 202: mscsrc$mscimage.cl

called as: `mscimage (input=asd, output=dsa)'

mscred\$this->_split2($m[0]) ls tmp*

tmp9374uk.fits

Then I tried with NOAO/IRAF V2.14 with the same file and it works without any problems.

Can anybody help?

Mike Fitzpatrick wrote on Dec 15, 2014


This may be a known issue with the new image template code. To workaround it try doing

cl\$this->_split2($m[0]) reset use_new_imt = no

before running the task. You can set this in your login.cl or make a permanent system change in the hlib$zzsetenv.def file if it works.

tapio wrote on Jan 20, 2015


Thank you. This fixed two problems, this one (mscred/mscimage) and a Pyraf/iraf.mscred.ccdred script problem, a simple

script where "iraf.mscred.ccdpr("image") gave an error like:

stsci.tools.irafglobals.IrafError: Error running IRAF task imheader

IRAF task terminated abnormally

ERROR (741, "Cannot open file (tmp$ccdproc9836cN)")

Cheers,

T a p i o

Last post on Jan 20, 2015