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

snapshot...

parent 4cac385c
Branches
No related tags found
No related merge requests found
......@@ -114,6 +114,7 @@ def run_all(directory, out_directory, day_night='ANY', start=10):
print('Start, number of files: ', num_files)
# hist_10 = np.zeros((10), dtype=np.int64)
kept_cnt = 0
for idx, data_f in enumerate(data_files):
# if idx % 4 == 0: # if we want to skip some files
......@@ -130,7 +131,8 @@ def run_all(directory, out_directory, day_night='ANY', start=10):
print(e)
data_h5f.close()
continue
print(data_f, int(100 * (kept/total)))
kept_cnt += kept
print(data_f, kept_cnt, int(100 * (kept/total)))
f_cnt += 1
data_h5f.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment