View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

sptin

Guest wrote on Dec 20, 2005

dear iraf support-team,

i'm trying to read in *.imh spectra using the sptin subroutine:

call imgkwr(im,'cd1_1',aa(2),ier)
if(ier .ne. 0)then
call imgkwr(im,'cdelt1',aa(2),ier)
endif
if(ier .ne. 0)then
call imemsg(ier, errmsg)
write(6,245)errmsg
write(6,295)
295 format(' Could not find keyword CD1_1,CDELT1')

although the crucial keywords (cd_1 and cdelt1) seem to be in the header
(at least "imhead" tells me so) i get the above error-message (Could not find ....)

thank you for any suggestion to solve this problem ...

with best regards,
andrea kayser

Post generated using Mail2Forum (http://www.mail2forum.com)

Last post on Dec 20, 2005