winter-telescope / observatory

0 stars 0 forks source link

separately track whether observations are attempted vs completed #130

Open nlourie opened 3 months ago

nlourie commented 3 months ago

Errors during observations (eg a rotator error) cause observations to get skipped. This is because observations are marked as completed once they are loaded. Add a new field that gets written to the schedules for attempted which increments a counter for the number of times it is attempted.

I think we need both of these, because we need to still ensure that no observation gets stuck in an infinite loop where it is continually loaded and failed.

The preferred logic is: