-
Notifications
You must be signed in to change notification settings - Fork 0
Add retrials of OFC for cloud missing measurements in MTAOS #99
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
Conversation
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.
Can you please, split the changes you made to the Model
and the CSC in different commits?
I have some comments inline about the changes in the CSC.
config=config_yaml, | ||
timeout=self.CMD_TIMEOUT, | ||
) | ||
ofc_failure_count = 0 |
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.
you need to define this variable before we enter the loop, in line ~1167.
python/lsst/ts/mtaos/mtaos.py
Outdated
f"{ofc_failure_count}/{self.max_ofc_consecutive_failures}." | ||
) | ||
if ofc_failure_count >= self.max_ofc_consecutive_failures: | ||
await self.fault( |
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.
you should just raise the exception here.
) | ||
if ofc_failure_count >= self.max_ofc_consecutive_failures: | ||
raise | ||
else: |
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.
Either remove this else statement or move the warning log you do above here.
… ISR configuration
…ssing rotator angle
No description provided.