With dyn_bgd_n_faint option, override it in the GuideTable too #193
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
Pass the dyn-bgd-n-faint option value through to the GuideTable.
Fixes issue seen in JUL0323A on obsid 25274 that when using sparkles with the --dyn-bgd-n-faint 2 override, acceptable candidates with that option were marked with CRITICAL warnings because the override was not available for the checking of the guide stars.
The override really shouldn't be needed going forward, but I think it should just get in now so if we move to dyn-bgd-n-faint=3 or need to override a value in a pickle file it will be applied correctly.
Interface impacts
Testing
I tested on Linux with /proj/sot/ska3/test set to 2023.3rc9 .
Unit tests
Independent check of unit tests by [REVIEWER NAME]
Functional tests
Functional test outputs at https://icxc.cfa.harvard.edu/aspect/test_review_outputs/sparkles-pr193/ .
I ran
The "flight" outputs at https://icxc.cfa.harvard.edu/aspect/test_review_outputs/sparkles-pr193/flight/ show the critical warnings on 25274 and 27940 because the dyn_bgd_n_faint value of 2 was not used in the guide checking.
The "test" outputs at https://icxc.cfa.harvard.edu/aspect/test_review_outputs/sparkles-pr193/test/ show no critical warnings on those obsids (correctly).
Those are the only diffs.