-
Notifications
You must be signed in to change notification settings - Fork 28
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
Better handing of discrepancies for LSTs and telescope position in check
#1356
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1356 +/- ##
=======================================
Coverage 99.92% 99.92%
=======================================
Files 36 36
Lines 20185 20202 +17
=======================================
+ Hits 20169 20186 +17
Misses 16 16
Continue to review full report in Codecov by Sentry.
|
One related item -- a small file from VLBA (274 kb) outside of the repo was used to check for VLBA support, which could in principle be added to the repository. Not necessarily something for this PR, but something that was stumbled upon over the course of developing it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes looks great! There's just a little problem with the change log.
I made one additional adjustment here, which was to increase the LST tolerance to 5 ms (75 mas in angle). This is because the estimated uncertainty in DUT1 at one week from IERS Bulletin A is about 1 ms (which are published weekly), and so I set the "detection limit" here at 5 sigma to prevent spurious warnings. I think this should be sufficient for nearly all applications, but should still detect gross errors (> 1 sec) quite easily. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Description
Updates handling of
lst_array
andtelescope_position
in terms of when warnings and errors get issued inside ofcheck
forUVData
,UVCal
, andUVFlag
. More specifically, the tolerance for when the warning about "LSTs not set correctly" has been increased to 15 milliarcsec, to better reflect the typical uncertainty in these values at the time of observation (due to the ever-changing DUT1 ). Additionally,check
now looks at the combination of telescope location and antenna positions in determining whether or not a given set of positions are "reasonable", and when a discrepancy is discovered, a warning is now issued instead of an error.Motivation and Context
Relevant issues below, but in both cases, the prior behavior in
check
was resulting in undesired behavior. In the case of the LSTs, a lot of spurious warnings were being generated that were confusing/concerning some users in situations where the "issues" were totally benign. In the case of the telescope position handing, it was breaking support for VLBA/VLBI-generated UVFITS file (without disabling parts ofcheck
), whose telescope location (phase reference center) is not neccessarily on the surface of the Earth.Closes #1348
Closes #1352
Types of changes
Checklist:
Bug fix checklist: