Change limits in SPM and off-nom-roll validators to fix violations #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
This PR opens up a couple of validation limits to remove spurious violations.
For the sun position monitor, the original tolerance of 300 seconds was a little too tight and a few cases of up to 360 seconds occurred. This is related to the difference between predicted eclipse exit times and what the OBC actually did on orbit. This increases the limit to 400 sec.
For off-nominal roll, the error due to sampling the maneuver attitude at only 5-minute bins is a bit larger than was originally assumed. Increasing the tolerance during NMAN from 10 deg to 12 deg removes violations from a 200 day sample.
Interface impacts
None.
Testing
Unit tests
This requires the file
kadi/commands/test/conftest.py
from e99d43e. This file was used in testing and inadvertently left out of the commits.Independent check of unit tests by Jean with that conftest.py and with a ska3-masters environment and dev/local versions of chandra_aca, ska_sun, and chandra_maneuver in PYTHONPATH.
Functional tests
See the included notebook.