Skip to content

Commit

Permalink
change minimal exposure time
Browse files Browse the repository at this point in the history
  • Loading branch information
julienguy committed Jul 26, 2024
1 parent bda3be2 commit 606c35b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/desi_compute_pixmask
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ for raw_filename in raw_filenames :
primary_header = fitsfile[1].header

exptime = primary_header["EXPTIME"]
if exptime<1000:
log.critical(f"Morning darks should be exptime=1200s, but found {exptime}s")
raise TypeError(f"Morning darks should be exptime=1200s, but found {exptime}s")
if exptime<900:
log.critical(f"Darks should have exptime>=900s, but found {exptime}s")
raise TypeError(f"Darks should have exptime>900s, but found {exptime}s")

extname=f'{(args.camera)}'.upper()
try :
Expand Down

0 comments on commit 606c35b

Please sign in to comment.