diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py index 9f81c55e8611fdcb9c4583dab124385ff3e0e25d..9f2fb8cbc2c590e483a2decaf40e6eff86dbf5c1 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)