This application copies bad pixels from one NDF file
to another. It takes in two NDFs (Parameters IN and REF), and creates a third
(Parameter OUT) which is a copy of IN, except that any pixel which
is set bad in the DATA array of REF, is also set bad in the DATA
and VARIANCE (if available) arrays in OUT.
By setting the INVERT Parameter TRUE, the opposite effect can be
produced (i.e. any pixel that is not set bad in the DATA array
of REF, is set bad in OUT and the others are left unchanged).