-
Notifications
You must be signed in to change notification settings - Fork 1
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
move_to starting too early during sun wait time #113
Comments
So if I reduce the "min_angle" in the checking script to 40.9, then this failure goes away. It would be nice to adopt nested values for the min_angle / exclusion_radius, such as: (a) schedule design + generation (most conservative, e.g. radius=42 deg) This is the cheapest way to get a bit of wiggle room for rounding errors. These could be separate config entries, e.g. in the sun_policy, |
if we want another example of this showing up (hanging out on some satp2 branches) running this:
gets this
|
I'm still seeing this error show up and it is not just an edge case. The config file below ends up with the telescope trying to move to az,el = (49.1,60) at 17:03 UTC. That position is not sun safe until 17:21 UTC at the earliest. Config file:
|
While working on the comments on #140, I looked into this a bit since I need to implement #133, I looked into this issue and I think it comes from this line:
As Katie hypothesized in #135, this occurs because the scan is supposed to start at 17:37, but the det setup is triggered and it runs for 34 minutes. The above line decrements the time to 17:03 for the IR block, forcing a move to the position before it is sun-safe. |
Credit to the sun safety checker script for catching this before running it on the telescope🎉
There's a period of cut scans that has two
move_to
s at the end. The first one is not sun safe but the second one is.I'm running on the sun safety checker branch of both scheduler and scheduler-scripts
configuration to generate schedule
The text was updated successfully, but these errors were encountered: