Closed hsergi closed 20 hours ago
@maxwellmb: As for the DQ doc string, I have: "dq (np.array): 2-D data quality, 0: good. Other values track different causes for bad pixels and other pixel-level effects in accordance with the DRP implementation document."
@hsergi, please resolve the conflicts and then I'll take a look at this.
@maxwellmb . I think I addressed all the comments. Outstanding ones: doc string for dq and using bitwise_or only. There was one more that I may misunderstand: bits are already set to DQ values before image data are replaced by NaN. I think it's fine as-is. If I am not getting the point, can you please tell me what it is missing exactly? The full comment is above.
Alright, a few last minor thoughts:
Also, there are still merge conflicts that you need to resolve.
Otherwise we're good to go!
This PR covers the use of BadPixelMap to correct bad pixels in the data. UT goes over agreed sub-tests, including CR.