From 4aadf9d9f0ccbb6a76cbaab6fb0e9c85426a02cd Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 5 Apr 2021 13:53:04 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index e13fccb7..833c96f2 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -833,8 +833,8 @@ def fov_extract(outfile='/Users/tomrink/fovs_out.h5'): keep = np.where(keep, cld_top_temp[i,] < 273.0, False) k_idxs = sub_indexes[keep] np.random.shuffle(k_idxs) - if len(k_idxs) > 10: - k_idxs = k_idxs[0:10] + if len(k_idxs) > 20: + k_idxs = k_idxs[0:20] else: k_idxs = k_idxs[0:len(k_idxs)] num_ice += len(k_idxs) @@ -876,8 +876,8 @@ def fov_extract(outfile='/Users/tomrink/fovs_out.h5'): # keep = np.where(keep, cld_top_temp[i,] > 273.0, False) k_idxs = sub_indexes[keep_0] np.random.shuffle(k_idxs) - if len(k_idxs) > 5: - k_idxs = k_idxs[0:5] + if len(k_idxs) > 10: + k_idxs = k_idxs[0:10] else: k_idxs = k_idxs[0:len(k_idxs)] num_no_ice += len(k_idxs) -- GitLab