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

minor

parent f8d8b816
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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