I seriously doubt the file below is 3.9 gigs. LIkely an incorrect exposure start/stop or bad times in the corrtag are making it much larger then it actually should be.
Perhaps raising an exception if the max-min is more than an orbit.
(ssbx-osx)ely:WD0102+095 ely$ ls -ltrh
total 8138467
-rwxrwx--- 1 4940 6070 45K Jan 2 12:55 lbiy04arq_curve.fits
-rwxrwx--- 1 4940 6070 3.9G Jan 2 13:09 lbiy04atq_curve.fits
-rwxrwx--- 1 4940 6070 45K Jan 2 13:24 lbov04oaq_curve.fits
-rwxrwx--- 1 4940 6070 45K Jan 2 13:24 lbov04ocq_curve.fits
-rwxrwx--- 1 4940 6070 44K May 26 11:57 lbov04oaq_curve.png
-rwxrwx--- 1 4940 6070 44K May 26 11:57 lbov04ocq_curve.png
-rwxrwx--- 1 4940 6070 49K May 26 12:01 lbiy04arq_curve.png
-rwxrwx--- 1 4940 6070 30K May 26 12:05 lbiy04atq_curve.png
I seriously doubt the file below is 3.9 gigs. LIkely an incorrect exposure start/stop or bad times in the corrtag are making it much larger then it actually should be.
Perhaps raising an exception if the max-min is more than an orbit.
(ssbx-osx)ely:WD0102+095 ely$ ls -ltrh total 8138467 -rwxrwx--- 1 4940 6070 45K Jan 2 12:55 lbiy04arq_curve.fits -rwxrwx--- 1 4940 6070 3.9G Jan 2 13:09 lbiy04atq_curve.fits -rwxrwx--- 1 4940 6070 45K Jan 2 13:24 lbov04oaq_curve.fits -rwxrwx--- 1 4940 6070 45K Jan 2 13:24 lbov04ocq_curve.fits -rwxrwx--- 1 4940 6070 44K May 26 11:57 lbov04oaq_curve.png -rwxrwx--- 1 4940 6070 44K May 26 11:57 lbov04ocq_curve.png -rwxrwx--- 1 4940 6070 49K May 26 12:01 lbiy04arq_curve.png -rwxrwx--- 1 4940 6070 30K May 26 12:05 lbiy04atq_curve.png