IRAF’s error message 502 and pixel value replacement
While running a data reduction of IR observations with IRAF, the ccdproc printed this error: ERROR (502, “floating point invalid operation”) which means that some values of the image used (the flat image in this case) are not suitable for the performing mathematical actions (like division with 0s). Moreover the …