diff --git a/src/toast/tests/ops_azimuth_intervals.py b/src/toast/tests/ops_azimuth_intervals.py index 2adda158a..9ffe1293a 100644 --- a/src/toast/tests/ops_azimuth_intervals.py +++ b/src/toast/tests/ops_azimuth_intervals.py @@ -81,6 +81,7 @@ def create_fake_data(self): azimuth = None elevation = None flags = None + scans = None if ob.comm_col_rank == 0: start_time = 0.0 + float(ob.local_index_offset) / rate.to_value(u.Hz) stop_time = start_time + float(ob.n_local_samples - 1) / rate.to_value(u.Hz) @@ -142,6 +143,9 @@ def create_fake_data(self): azimuth[bad_samps] = 10.0 elevation[bad_samps] = -10.0 + if ob.comm_col is not None: + scans = ob.comm_col.bcast(scans, root=0) + ob.shared[defaults.times].set(stamps, offset=(0,), fromrank=0) ob.shared[defaults.azimuth].set(azimuth, offset=(0,), fromrank=0) ob.shared[defaults.elevation].set(elevation, offset=(0,), fromrank=0)