Closed kslong closed 1 month ago
I made the following change the code and this particular exposure ran to completion
# interpolate failed columns if requested
masked_columns = numpy.count_nonzero((models == 0)|numpy.isnan(models), axis=0) >= 0.1*self._dim[0]
xdummy= numpy.arange(self._dim[1])
if len(xdummy[~masked_columns])>0 and interpolate_missing and masked_columns.any():
This attempt to run the drp failes
with the following error:
The problem is in core/image.py as indicated.
What is happening is that x_pixels[~masked_columns] has zero length, which not surprisingly results in a problem.
For a number of the exposures I was trying to analyze this same issue arose.