Skip to content

Commit

Permalink
Add comment for five min buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
schlafly committed Jan 14, 2021
1 parent 2655bf3 commit 0fb22fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desisurvey/NTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def next_tile(self, conditions=None, exposure=None, constraints=None,
exptime = texp_remaining
maxtime = self.ETC.MAX_EXPTIME
days_to_seconds = 60*60*24
fivemin = 5/60/24
fivemin = 5/60/24 # 5 minutes... pretty arbitrary.
if ((mjd <= self.scheduler.night_ephem['dusk']-fivemin) or
(mjd >= self.scheduler.night_ephem['dawn']+fivemin)):
maxtime = 300/days_to_seconds
Expand Down

0 comments on commit 0fb22fe

Please sign in to comment.