From b761f09ee429642769a2d1d6cf133ccba5353b43 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Sun, 10 Jul 2022 22:55:36 -0500 Subject: [PATCH] minor --- modules/util/viirs_l1b_l2.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py index 9f81c55e..9f2fb8cb 100644 --- a/modules/util/viirs_l1b_l2.py +++ b/modules/util/viirs_l1b_l2.py @@ -166,14 +166,16 @@ def run(data_h5f, label_h5f, data_tiles, label_tiles, mod_tile_width=64, border= try: grd = get_grid_values(data_h5f, param, 0, 0, None, mod_num_lines, mod_num_pixels, range_name=None) l1b_grd_s.append(grd) - except: + except Exception as e: + print(e) return for param in label_params: try: grd = get_grid_values(label_h5f, param, 0, 0, None, img_num_lines, img_num_pixels, range_name=None) l2_grd_s.append(grd) - except: + except Exception as e: + print(e) return mod_data = np.stack(l1b_grd_s) -- GitLab