Handle omitted star missing from miniagasc 1p8 in V&V #305
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Handle omitted star missing from miniagasc 1p8 in V&V.
This code tweak is for a very specific case - a star was used as a guide star in an historical observation, and also excluded from processing in the final aspect solution (either for centroid quality or position error or whatever). For these OMITTED stars, the V&V code uses the agasc to make a "mock" entry for gsprops to calculate residuals and such for whatever data is available - if that star isn't in the miniagasc 1p8 the "mock" gsprops entry code was failing. We could just handle the exception, but I figured it made just as much sense to use the full agasc for this processing code anyway. I originally set this PR to use the 1.7 miniagasc, but I think that's a little too complicated and confusing.
It is a different question about if the residuals for the whole historical V&V database should be calculated against the positions of agasc 1.8.
Noticed this as a little bug in obsid 5778 which has an OMITTED guide star not found in miniagasc 1.8.
Interface impacts
V&V processing completes on historical observation with OMITTED guide star missing from miniagasc 1.8
Testing
I tested against a ska3 masters env.
Unit tests
Independent check of unit tests by [REVIEWER NAME]
Functional tests
For obsid 5778 old code:
New code: