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

minor...

parent 2978a31b
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,7 @@ def run_one(data_h5f, data_tiles, tile_width=64, kernel_size=9):
for param in data_params:
try:
grd = get_grid_values(data_h5f, param, 0, 0, None, num_lines, num_pixels, range_name=None)
if (np.sum(np.isnan(grd)) / grd.size) > 0.10: # skip if more than 10% missing
if param == 'temp_11_0um_nom' and ((np.sum(np.isnan(grd)) / grd.size) > 0.10):
return
grd_s.append(grd)
except Exception as e:
......
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