Skip to content
Snippets Groups Projects
Commit 5f974211 authored by tomrink's avatar tomrink
Browse files

qc now does not check solzen for mode: 'ANY'

parent b474eb87
No related branches found
No related tags found
No related merge requests found
......@@ -858,8 +858,9 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask,
elif day_night == 'DAY' and not is_day(solzen[i,]):
continue
elif day_night == 'ANY':
if not (is_day(solzen[i,]) or is_night(solzen[i,])):
continue
pass
# if not (is_day(solzen[i,]) or is_night(solzen[i,])):
# continue
keep_0 = np.logical_or(cld_mask[i,] == 2, cld_mask[i,] == 3) # cloudy
keep_1 = np.invert(np.isnan(cld_top_hgt[i,]))
......@@ -929,8 +930,9 @@ def apply_qc_no_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mas
elif day_night == 'DAY' and not is_day(solzen[i,]):
continue
elif day_night == 'ANY':
if not (is_day(solzen[i,]) or is_night(solzen[i,])):
continue
pass
# if not (is_day(solzen[i,]) or is_night(solzen[i,])):
# continue
keep_0 = np.logical_or(cld_mask[i,] == 2, cld_mask[i,] == 3) # cloudy
keep_1 = np.invert(np.isnan(cld_top_hgt[i,]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment