Welcome to iraf.net Friday, May 17 2024 @ 04:05 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 sptin
   
Anonymous: Guest
 01/05/2006 11:26AM (Read 3449 times)  



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

 
 Quote
fitz
 01/05/2006 11:26AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
SPTIN must be a local routine, but the snippet you've posted
looks okay. What is the imfort error message printed before your "Could not find..." message?As for what might be wrong, be sure there isn't a FITS file
by the same root name in the same directory that may be
confusing the task. Are you speficying the ".imh" extension
explicitly? To be sure that IMFORT can read your header,
try compiling iraf$sys/imfort/tasks/phead.f to print the header.-Mike

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login