Welcome to iraf.net Tuesday, May 07 2024 @ 12:33 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Problem with using rfits in exercise 1
   
Virdee
 03/07/2011 07:04PM (Read 3618 times)  
+----
Newbie

Status: offline


Registered: 03/07/2011
Posts: 4
Hi,I'm having problems with using rfits in exercise 1 of the tutorials.I've installed iraf from scisoft and it seems to work fine but when I type
"rfits fintro* "" junk old+", I get an error about the header.I've copied the error plus a few commands before to give you a picture
of what im doing.
I re-did mkiraf but that didn't solve the problem.Thanks,
Jas
------------------------------------------------
ecl> ls
fintro0001 fintro0002
ecl> unlearn rfits
ecl> rfits fintro* "" junk old+
File: fintro0001 Warning: RFT_READ_HEADER: Error reading FITS header
Image junk0001.fits renamed to im010.imh
File: fintro0002 Warning: RFT_READ_HEADER: Error reading FITS header
Image junk0002.fits renamed to im011.imh
ecl> ls
fintro0001 fintro0002 im010.fits im011.fits
ecl> display im010 1
ERROR: image has no pixels

 
Profile Email
 Quote
fitz
 03/07/2011 07:04PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
If this is the 2011.1.1 SciSoft release then you'll need to be sure to have patched your system with the v2.15.1a patch file from our site to fix a known problem with RFITS on some systems. Otherwise, if this is a v2.14 release of IRAF then the tutorial files may have been corrupted during the download.Note that you are able to use the FITS files directly (the tutorials are quite old) so the RFITS stage can be skipped, just remember to not specify the ".imh" extensions to filenames.

 
Profile Email
 Quote
Virdee
 03/07/2011 07:04PM  
+----
Newbie

Status: offline


Registered: 03/07/2011
Posts: 4
Hi,Thanks for the response. Im unsure how to install this patch.
I've downloaded "patch1-macosx.tar.gz" (im on OSX 10.6.6)
and the instructions indicate that I should replace the
iraf root folder with the one I just downloaded.Is that correct? That I should replace /usr/local/scisoft/packages/iraf
with the downloaded iraf folder?
I ask because dont want to do something stupid!Thanks
Jas

 
Profile Email
 Quote
fitz
 03/07/2011 07:04PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
So long as /usr/local/scisoft/packages/iraf is the iraf root directory (i.e. doesn't contain an 'iraf' sub-directory itself), then yes, unpack the patch file in that directory to apply the patch. You won't need to do anything else afterwards.

 
Profile Email
 Quote
Virdee
 03/07/2011 07:04PM  
+----
Newbie

Status: offline


Registered: 03/07/2011
Posts: 4
Hi,The patch didn't install correctly. Frown
I replaced the iraf folder with the downloaded one and I get the following
error when trying to start iraf up:"Cannot find startup file `hlib$clpackage.cl'
Fatal startup error. CL dies."To be clear, i've attached an image.
http://www.uploadimage.co.uk/images/59793259463205801018.png
On the left is the original directory and on the right is the one I downloaded. When I replace one with the other I get the above error.Thanks,
Jas[/img]

 
Profile Email
 Quote
fitz
 03/07/2011 07:04PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Did you delete the existing files before unpacking the patch file? If so, this is the problem: the patch replaces files in an existing installation, it doesn't contain a full installation in itself.Also, your screen shots appear to be of two different directories anyway. The left side shows "iraf root" in the right panel, the right-side screenshot shows only the unpacked patch file in what appears to be a different directory. If you deleted the existing files you can get the 'iraf-macosx.tar.gz' file for a complete installation (includes the patch) to replace it.I'd send specific instructions but I don't have scisoft here and can never keep up with what changes anyway.

 
Profile Email
 Quote
Virdee
 03/07/2011 07:04PM  
+----
Newbie

Status: offline


Registered: 03/07/2011
Posts: 4
Hi,I ended up replacing the root folder as you suggested and
it worked! SmileFinally, I can start learning IRAF!Thanks a lot,
Jas

 
Profile Email
 Quote
   
Content generated in: 0.20 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