Skip to content
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

Weather safety checks fail in take_dark_observation if using simulated dome #506

Open
danjampro opened this issue Jul 12, 2021 · 1 comment · Fixed by #513
Open

Weather safety checks fail in take_dark_observation if using simulated dome #506

danjampro opened this issue Jul 12, 2021 · 1 comment · Fixed by #513
Labels
bug dome safety Relates to the safety of personnel or hardware

Comments

@danjampro
Copy link
Contributor

Log sample:

D 07-12 07:40:23.906 Observation created: BiasObservation
D 07-12 07:40:23.926 Checking for AC power
D 07-12 07:40:23.952 Using power simulator
D 07-12 07:40:24.086 Sun -5.39 deg > -18.0 deg [observe]
D 07-12 07:40:24.089 Observatory is_dark: False
D 07-12 07:40:24.114 Dark Check: False
D 07-12 07:40:24.134 Checking weather safety
D 07-12 07:40:24.161 Weather Safety: False [148 sec old - 2021-07-12 07:37:55]
W 07-12 07:40:24.290 Unsafe conditions: {'ac_power': True, 'is_dark': False, 'good_weather': False, 'free_space_root': True, 'free_space_images': True}
W 07-12 07:40:24.290 Unsafe conditions: {'ac_power': True, 'is_dark': False, 'good_weather': False, 'free_space_root': True, 'free_space_images': True}
C 07-12 07:40:24.294 Problem going from 'taking_darks' to 'starting', exiting loop [RuntimeError('Safety check failed!')]
C 07-12 07:40:24.294 Problem going from 'taking_darks' to 'starting', exiting loop [RuntimeError('Safety check failed!')]

Problematic code:

if self.dome.is_closed:

@danjampro danjampro added bug safety Relates to the safety of personnel or hardware dome labels Jul 12, 2021
@danjampro danjampro reopened this Jul 28, 2021
@danjampro
Copy link
Contributor Author

#513 will not solve this problem. I need to check if I created the simulated dome correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dome safety Relates to the safety of personnel or hardware
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant