Calculate twilight time and use it to separate day and night flats. Reduce (trimming and bias subtracting) if night flats are found.
Calculate twilight time and use it to separate day and night flats. Reduce (trimming and bias subtracting) if night flats are found.

dsanmartim/goodman_ccdreduction