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

Get schedules to end closer to when they're told to #133

Closed
kmharrington opened this issue Nov 22, 2024 · 1 comment
Closed

Get schedules to end closer to when they're told to #133

kmharrington opened this issue Nov 22, 2024 · 1 comment
Assignees

Comments

@kmharrington
Copy link
Member

Right now it looks like schedules end at the last telescope scan, but that can leave the telescope in non sun-safe states.

Ex: I have t1 (end time) set to be 17:00 UTC which is in the middle of the sun break. When I do this, the last lines in the schedule are

run.smurf.bias_step(concurrent=True)
run.seq.scan(
    description='NW',
    stop_time='2024-11-24T14:13:00+00:00',
    width=40.0, az_drift=0,
    subtype='cmb', tag='271-311',
    min_duration=600,
)

This should be the last scan before the sun stow period, but that scan ends nearly 3hrs before I was expecting this schedule to end. We also know from sun safety rules that the telescope cannot be left in that position for three hours. So we need to handle the end of the schedules differently.

@mmccrackan
Copy link
Collaborator

This should be addressed in #140 which will find a sun-safe parking spot until the end of the schedule if home_at_end is False and if the last scan position is not sun-safe until that time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants