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

snapshot...

parent 31acd3a7
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ def process_cloud_frac(grd_k):
grd_by_cat = get_cloud_frac_5cat(grd_k)
# if at least 20% mixed pass
keep_mix = np.where(keep, 0 < grd_by_cat < 4, False)
keep_mix = np.where(keep, np.logical_and(grd_by_cat > 0, grd_by_cat < 4), False)
frac_mix = np.sum(keep_mix)/num_keep
if frac_mix < 0.20:
return None
......
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