From ef9b0b91f296cb17af0056163366c03d68ff278f Mon Sep 17 00:00:00 2001 From: Sean Passmoor Date: Fri, 20 Feb 2026 10:53:45 +0200 Subject: [PATCH] Fix Sources setting during observation In calibrate_delays.py there is a rare occurrence where the source that is above the horizon at the start of the Observation then sets during the observation causing a failed observation --- observation/calibrate_delays.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/observation/calibrate_delays.py b/observation/calibrate_delays.py index c43c78b1..47014ae2 100755 --- a/observation/calibrate_delays.py +++ b/observation/calibrate_delays.py @@ -68,7 +68,7 @@ class NoTargetsUpError(Exception): if len(session.ants) < 4: raise ValueError('Not enough receptors to do calibration - you ' 'need 4 and you have %d' % (len(session.ants),)) - sources_above_horizon = observation_sources.filter(el_limit_deg=opts.horizon) + sources_above_horizon = observation_sources.filter(el_limit_deg=opts.horizon+5) if not sources_above_horizon: raise NoTargetsUpError("No targets are currently visible - " "please re-run the script later")