Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious satellite track always masked in same place on mosaic CCD3 #644

Open
djschlegel opened this issue Aug 8, 2020 · 6 comments
Open

Comments

@djschlegel
Copy link
Contributor

A “long streak” (DQ=8) is masked in the OOD images in almost exactly the same place in the lower-right of mosaic CCD3 for the night CP20170409. I found 99 of the 204 exposures for that night had this mask feature, where I'm attaching a list of those exposures. I have not looked to see if this happens on other nights.

Screen Shot 2020-08-07 at 3 38 09 PM

mosaic-spurious-streaks.txt

@djschlegel
Copy link
Contributor Author

@djschlegel
Copy link
Contributor Author

I'm very, very confused comparing the mosaic OOD files between V4.1 (used for DR8) and V4.3 (latest for DR9). In a random sampling of 100 exposures across all nights from V4.1, cosmics (DQ=5) were always included in the masks. For those same files in V4.3 (latest for DR9), about half have cosmics (DQ=5) and no long streaks (DQ=8), about half have it the other way around, and only a handful have both. I had thought the intention was to mark cosmics and not long streaks, same as for DR8.

Here are examples from 2017-04-09 where masks looked good in V4.1, and have long streaks but no cosmics in V4.3:
mosaic/CP/V4.3/CP20170409/k4m_170410_100714_ood_zd_ls9.fits.fz
mosaic/CP/V4.3/CP20170409/k4m_170410_100930_ood_zd_ls9.fits.fz
mosaic/CP/V4.3/CP20170409/k4m_170410_101148_ood_zd_ls9.fits.fz

Here are examples from 2017-04-09 where masks looked good in V4.1, and have both cosmics and long streaks in V4.3:
mosaic/CP/V4.3/CP20170409/k4m_170410_083938_ood_zd_ls9.fits.fz
mosaic/CP/V4.3/CP20170409/k4m_170410_084156_ood_zd_ls9.fits.fz
mosaic/CP/V4.3/CP20170409/k4m_170410_084413_ood_zd_ls9.fits.fz

@dstndstn
Copy link
Member

dstndstn commented Aug 8, 2020 via email

@djschlegel
Copy link
Contributor Author

There are also problems with the 90prime masks. For both 90prime and mosaic, these problems appear to be new to the versions used for DR9, they weren't there in the versions used for DR8.

@djschlegel
Copy link
Contributor Author

It doesn't look like the behavior for any given exposure can be determined from PLVER or PLRPOCID. For the example night CP20170409, all files have PLVER=V4.3, PLPROCID=95b798e, yet all of the different behaviors are exhibited.

@fvaldes
Copy link

fvaldes commented Aug 14, 2020

Notes as I look into this.

  1. The absence of CR codes (5) is when the estimated seeingp is less than 4 pixels (in the last reprocessing) in both MzLS and BASS.
  2. The streak occurs because the angle corner is detected as a large thin source. Because of the angle the position angle of the source is not 0 or 90 but, in this case, 82, which is accepted as the streak.
  3. Anyway, the detection of the edge as a source is from some obscure bug that is dropping the initial edge masking when doing segmentation in quadrants. My intention is to workaround the bug since it is buryed quite deep in complex masking system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants