View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

disconnected pixel and imh files…

Philip Massey wrote on Jan 15, 2007

Hi, Mike---

I really should remember how to cure this, but I don't.

Here's the issue. I have a handful of "legacy" .imh files sitting around which
expect to find their associated pixel files on tofu!/data1/blah/blah. That
machine and disk no longer exist. But, I do have the pixel files sitting around
at /somethingelse/overrainbow/blah.pix

How do I fix the path names in the .imh to match the new reality? There's
only a handful, so doing it manually is fine....I just can't remember how to
do it.

thanks,
phil

Mike Fitzpatrick wrote on Jan 15, 2007

Hi Phil,

Just HEDIT the 'i_pixfile' header parameter in each .imh header. Note this doesn't take into account possible byte-swap issues with really old images, it just repoints the header at the .pix file.

Cheers,
-Mike

Philip Massey wrote on Jan 15, 2007

Yep, that fixed it. THANKS.

Last post on Jan 15, 2007