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

snapshot...

parent e72cfb35
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ def run_all(directory, out_directory, day_night='ANY', pattern='clavrx_*.nc', st ...@@ -91,7 +91,7 @@ def run_all(directory, out_directory, day_night='ANY', pattern='clavrx_*.nc', st
total_num_not_missing = 0 total_num_not_missing = 0
for idx, data_f in enumerate(valid_files): for idx, data_f in enumerate(valid_files):
if idx % 4 == 0: # if we want to skip some files if idx % 3 == 0: # if we want to skip some files
try: try:
h5f = h5py.File(data_f, 'r') h5f = h5py.File(data_f, 'r')
except: except:
...@@ -116,7 +116,7 @@ def run_all(directory, out_directory, day_night='ANY', pattern='clavrx_*.nc', st ...@@ -116,7 +116,7 @@ def run_all(directory, out_directory, day_night='ANY', pattern='clavrx_*.nc', st
if len(data_tiles_m) == 0: if len(data_tiles_m) == 0:
continue continue
if (f_cnt % 40) == 0: if (f_cnt % 100) == 0:
num_valid_samples = 0 num_valid_samples = 0
if len(data_tiles_m) > 0: if len(data_tiles_m) > 0:
valid_i = np.stack(data_tiles_i) valid_i = np.stack(data_tiles_i)
......
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