Hello,
I am trying to run scheduler for the following parameters:
def generate_observations_rough(self, conditions):
obs = empty_observation()
obs[‘RA’] = np.radians(275.08)
obs[‘dec’] = np.radians(7.1853)
obs[‘exptime’] = 30. # Seconds
obs[‘nexp’] = 2
obs[‘filter’] = ‘r’
# If it’s been 12 hours or more, don’t try to execute the observation anymore
obs[‘flush_by_mjd’] = conditions.mjd + 0.5
obs[‘note’] = ‘mysurvey’ # Always good to set the note to which survey generated the observation
# Make it a list of 3
result = [obs] * 3
return result
for a MJD start of 59560.
The error I am getting is:
RuntimeError: Scheduler has failed to provide a valid observation multiple times.
I was wondering if someone can help me fix this problem. Thank you