diff --git a/modules/icing/util.py b/modules/icing/util.py
index 9e6a3a273aab3ad3d7e42037889f7ab9e4ceac30..c374b30fcbbe7b32c7d5b95da8477802d4ef31b8 100644
--- a/modules/icing/util.py
+++ b/modules/icing/util.py
@@ -295,9 +295,11 @@ def run_icing_predict_fcn(clvrx_dir='/Users/tomrink/data/clavrx/RadC/', output_d
             lons_2d, lats_2d, x_rad, y_rad = get_lon_lat_2d_mesh(nav, ll, cc)
 
         day_idxs = solzen < 80.0
+        day_idxs = day_idxs.flatten()
         num_day_tiles = np.sum(day_idxs)
 
         nght_idxs = solzen > 100.0
+        nght_idxs = nght_idxs.flatten()
         num_nght_tiles = np.sum(nght_idxs)
 
         # initialize output arrays