diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 3803fb4a18de8fda241aeb85f11720c37942115a..c3925c55d3405ff6c8e664155e756402b675aa96 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -552,6 +552,8 @@ def run_daynight(filename, filename_l1b, day_night='ANY'): elif day_night == 'DAY': if is_day(solzen[i,]): idxs.append(i) + else: + idxs.append(i) keep_idxs = np.array(idxs)