iraf 64 bit - no zero values possible
johannes1808 wrote on Feb 17, 2011
Hello,
after installing iraf 64 bit it is not possible to write 0 in a fits file. Instead of zeros there is always the value 128, when using imarith, imreplace and imcalc. Even when a colleague is writing zeros in the fits file with iraf 32 bit, and his file understands the values as zero, and I am reading in this file my iraf interprets these zeros as 128. Is this an iraf bug or a problem of my system.
Thanks a lot for any help
Cheers
johannes1808
after installing iraf 64 bit it is not possible to write 0 in a fits file. Instead of zeros there is always the value 128, when using imarith, imreplace and imcalc. Even when a colleague is writing zeros in the fits file with iraf 32 bit, and his file understands the values as zero, and I am reading in this file my iraf interprets these zeros as 128. Is this an iraf bug or a problem of my system.
Thanks a lot for any help
Cheers
johannes1808
Mike Fitzpatrick wrote on Feb 17, 2011
This appears to be a bug in reading 0.0 from real FITS images, I'm looking at the issue now.
Tom Duvall wrote on Feb 17, 2011
I notice that the v15 alpha version did not have this problem.
Mike Fitzpatrick wrote on Feb 17, 2011
Sorry, forgot to follow up on this. The problem was introduced in the v2.15.1 patch where code used to debug a double-precision problem was left in the final build and caused the 128 values. This has been fixed in the v2.15.1a patch just released.
johannes1808 wrote on Feb 17, 2011
Thanks for the help, I will test it tomorrow!
Last post on Feb 17, 2011