Welcome to iraf.net Saturday, April 27 2024 @ 03:35 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Can
   
massey
 03/09/2019 10:45PM (Read 839 times)  
+++++
Active Member

Status: offline


Registered: 02/10/2006
Posts: 162
Hi Mike et al---

I've come across about dozen ancient IRAF images (IIDS data) that are still in the "imh" and "pixels" form. The weird thing is that although I can see them find with an ls, imhead says it can't open the file. I could understand it if the pixel path was screwy, and I still remember how to fix that, but I can't access the header. The images are from 1983 or earlier, so we are talking very early IRAF days.
My guess is that the bytes are swapped. I don't really have access to a SUN (maybe a VMS?) machine any more. Any suggestions about how to unswap these? This is not mission critical; I was just thinking it would be useful to show this during a talk I'm giving; there's a spectrum of a star we called a Wolf-Rayet star that turns out to be a z=2.5 quasar, and I thought showing the original crummy data would help explain how we could have fooled ourselves.

Thanks!
--phil

 
Profile Email Website
 Quote
fitz
 03/11/2019 02:10AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Hi Phil,

Could you email me a sample imh and .pix file -- It's probably a byte-swap issue but it makes a difference whether it was originally a VMS file or some unix variant. Reconnecting the .pix to the header is a matter of changing the i_pixfile header field to change the path, but you need to be able to open the image with HEDIT or something first.....

Cheers,
-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