-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
There is two problems:
- When I try to make a schedule manually, one of the yaml file output a schedule without preamble. Yaml file is below. If I set
t0_state_file: None, there is preamble in the output schedule. - I set allow_partial: False for jupiter observation, but somehow this is not working as expected because an output schedule include a jupiter observation although the highest elevation of jupiter being 48deg is lower than the top wafer for ws5. (See attached file. ws5 is the top right wafer) I thought there is no jupiter observation because of that reason, but there actually is.
The yaml file I use: /so/home/ysueno/workspace/script/scheduler-scripts/sat/yamls/202510/1003_jupiter.yaml
platform: satp3
# yaml loads iso format automatically into datetimes
t0: 2025-10-03T16:00:00+00:00
t1: 2025-10-04T16:00:00+00:00
#t0_state_file: None
t0_state_file: satp3/state_files/state_2025-10-03T16:00:00+00:00.npy
elevation: 60
boresight: 0
az_speed: 0.5
az_accel: 0.25
min_hwp_el: 40
#max_hwp_el: 60
#force_max_hwp_el: True
output_table: True
make_plot: False
# optional, only needed if running non-defaults
apply_boresight_rotation: False
disable_hwp: False
brake_hwp: False
no_cmb: False
#hwp_override: True # True: positive frequency, False: negative frequency
az_motion_override: True # True: overwrite azspeed as set above, False: use azspeed written in the master schedule.
relock_cadence: 86400 # Relock every 24 hours
home_at_end: False # If true spin down HWP and go to (180,40), otherwise scheduler will find a sun-safe parking spot and go there until the end of the specified time-frame.
bias_step_cadence: 1800
use_cal_file: False # If true scheduler will find plant observations from planet cal files
use_wiregrid_file: True
wiregrid_el: 60
# can comment out completely if only wanting CMB
# BE CAREFUL - scheduler does not spin down HWP for boresight rotations
# in cal targets. Probably best not to use them
cal_targets:
- source: jupiter
# boresight: # if not specified, use scan boresight
elevation: 40
focus: 'ws5'
allow_partial: False
az_branch: 270 ## maybe need to scan one side of jupiter
- source: moon
# boresight: # if not specified, use scan boresight
elevation: 55
focus: 'ws3'
allow_partial: False
Initial part of output schedule. There is no preamble.
run.acu.move_to(az=111.5, el=60.0)
run.wait_until('2025-10-03T17:06:20+00:00', tolerance=1200.0)
################### Detector Setup######################
with disable_trace():
run.initialize()
run.smurf.iv_curve(concurrent=True)
run.smurf.bias_dets(rfrac=0.5, concurrent=True)
time.sleep(300)
run.smurf.bias_step(concurrent=True)
#################### Detector Setup Over ####################
# hwp already spinning ccw (positive frequency)
run.wait_until('2025-10-03T17:26:20+00:00')
# scan duration = 0:40:40
run.seq.scan(
description='Low Priority Southern Scan',
stop_time='2025-10-03T18:07:00+00:00',
width=40.0, az_drift=0,
subtype='cmb', tag='uid-0c8b6b00-ee13-4cfd-94e7-17db33bd8bf6,112-152',
min_duration=600,
)
Metadata
Metadata
Assignees
Labels
No labels