Skip to content
Snippets Groups Projects
Commit 35fea3d1 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-849: TODO: re-enable transit_offset after summer holiday

parent 827df46e
No related branches found
No related tags found
3 merge requests!634WIP: COBALT commissioning delta,!513TMSS-849,!481Draft: SW-971 SW-973 SW-975: Various fixes to build LOFAR correctly.
......@@ -302,7 +302,7 @@ def can_run_anywhere_within_timewindow_with_sky_constraints(scheduling_unit: mod
else:
logger.info('min_target_elevation=%s constraint is not met at timestamp=%s' % (min_elevation.rad, timestamps[i]))
return False
if 'transit_offset' in constraints['sky'] and 'from' in constraints['sky']['transit_offset'] and task['specifications_template'] == 'target observation':
if False: #TODO: re-enable transit_offset after summer holiday. 'transit_offset' in constraints['sky'] and 'from' in constraints['sky']['transit_offset'] and task['specifications_template'] == 'target observation':
# Check constraint on tile beam for HBA only:
if task['specifications_doc']['antenna_set'].startswith('HBA'):
# since the constraint only applies to the middle of the obs, consider its duration
......@@ -330,7 +330,7 @@ def can_run_anywhere_within_timewindow_with_sky_constraints(scheduling_unit: mod
return False
if 'SAPs' in task['specifications_doc']:
if 'transit_offset' in constraints['sky'] and 'from' in constraints['sky']['transit_offset'] and task['specifications_template'] == 'target observation':
if False: #TODO: re-enable transit_offset after summer holiday. 'transit_offset' in constraints['sky'] and 'from' in constraints['sky']['transit_offset'] and task['specifications_template'] == 'target observation':
# Check constraint on SAPs for LBA only:
if task['specifications_doc']['antenna_set'].startswith('LBA'):
# since the constraint only applies to the middle of the obs, consider its duration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment