Skip to content
Snippets Groups Projects
Commit 2021d9a5 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 2c9bd34e
No related branches found
No related tags found
No related merge requests found
......@@ -770,11 +770,9 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask,
for i in range(num_obs):
if not check_oblique(satzen[i,]):
continue
if day_night == 'NIGHT':
if is_day(solzen[i,]):
if day_night == 'NIGHT' and not is_night(solzen[i,]):
continue
elif day_night == 'DAY':
if is_night(solzen[i,]):
elif day_night == 'DAY' and not is_day(solzen[i,]):
continue
keep_0 = np.logical_or(cld_mask[i,] == 2, cld_mask[i,] == 3) # cloudy
......@@ -834,11 +832,9 @@ def apply_qc_no_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mas
for i in range(num_obs):
if not check_oblique(satzen[i,]):
continue
if day_night == 'NIGHT':
if is_day(solzen[i,]):
if day_night == 'NIGHT' and not is_night(solzen[i,]):
continue
elif day_night == 'DAY':
if is_night(solzen[i,]):
elif day_night == 'DAY' and not is_day(solzen[i,]):
continue
keep_0 = np.logical_or(cld_mask[i,] == 2, cld_mask[i,] == 3) # cloudy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment