Conversion of Pre 2.11 IMH file from Solaris to Digital Unix
Andrew M. Newsam wrote on Nov 25, 1999
Hello all. Has anyone else had to convert and old-style IMH file (ie pre IRAF 2.11) between systems with different byte orders etc (specifically from Solaris to Digital Unix or Linux)? If they have, and they have any code or suggestions, I would be very grateful. Many thanks Andy Newsam
Doug Mink wrote on Nov 29, 1999
"Andrew M. Newsam" wrote: > > Hello all. > > Has anyone else had to convert and old-style IMH file (ie pre IRAF 2.11) > between systems with different byte orders etc (specifically from Solaris > to Digital Unix or Linux)? If they have, and they have any code or > suggestions, I would be very grateful. In my WCSTools package ( http://tdc-www.harvard.edu/software/wcstools/ ) there is a program, i2f, which reads any IRAF .imh image written in either byte order on a system which uses either byte order and converts it to a FITS file. The WCSTools programs run standalone under every Unix on which they have been tested. There is also an IRAF package directory into which you can plug the executables at ftp://cfa-ftp.harvard.edu/pub/gsc/WCSTools/wcstools.iraf.tar though if this is all you want to do, just grab the WCSTools tar file and make i2f . Documentation is on the web site, and options are printed if you run the program with no arguments. -Doug Mink Telescope Data Center Harvard-Smithsonian Center for Astrophysics Cambrdige, Massachusetts USA
Last post on Nov 29, 1999