You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
now = datetime.datetime.now(tz=UTC)
scan_start = datetime.datetime(2024, 8, 21, 1, 54, 17, 884970, tzinfo=datetime.timezone.utc)
scan_stop = datetime.datetime(2024, 8, 21, 4, 58, 40, 592471, tzinfo=datetime.timezone.utc)
if now > scan_start:
# adjust scan parameters
az = 439.996 + -0.00423*(now-scan_start).total_seconds()
else:
az = 439.996
if now > scan_stop:
# too late, don't scan
pass
else:
run.acu.move_to(az, 50.0)
print('Waiting until 2024-08-21 01:54:17.884970+00:00 to start scan')
run.wait_until('2024-08-21T01:54:17.884970+00:00')
run.seq.scan(
description='moon',
stop_time='2024-08-21T04:58:40.592471+00:00',
width=28.157,
az_drift=-0.00423,
subtype='cal',
tag='moon,rising,ws1,ws0,ws4',
)
run.smurf.bias_step(concurrent=True)
I'm not sure where the safe az range is specified in the satp1.py policy file on simple-sun branch, but it seems it may not be properly set. Our HW limits are -90 to 450, but we want to program a safe distance away from the software pre-limits, which define a narrower range. Let me know if these numbers are needed.
The text was updated successfully, but these errors were encountered:
ok yeah, this came from mine. @mhasself@guanyilun BIG issue in the simple-sun branch. I apparently left the moon scan on az_branch: 270 without noticing and it allowed me to produce a scan that went outside our stated Azimuth limits. This really should not be allowed to be possible.
I'm not sure this is a common fault in calibration obs or point source obs, but we had a surprise ACU agent alarm during a
generate_scan
command. The full schedule is here: https://site.simonsobs.org/schedules/satp1/2024-08-20T20%3A00%3A00%2B00%3A00_2024-08-21T20%3A00%3A00%2B00%3A00.pyRelevant commands in block below:
I'm not sure where the safe az range is specified in the
satp1.py
policy file onsimple-sun
branch, but it seems it may not be properly set. Our HW limits are -90 to 450, but we want to program a safe distance away from the software pre-limits, which define a narrower range. Let me know if these numbers are needed.The text was updated successfully, but these errors were encountered: