From 0808e7755f334c34b8e0be37bf7fd4225960f3c6 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 19 Apr 2023 12:51:30 -0500 Subject: [PATCH] snapshot... --- modules/util/abi_surfrad.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/util/abi_surfrad.py b/modules/util/abi_surfrad.py index a3c200b7..182ccacd 100644 --- a/modules/util/abi_surfrad.py +++ b/modules/util/abi_surfrad.py @@ -91,7 +91,7 @@ def run_all(directory, out_directory, day_night='ANY', pattern='clavrx_*.nc', st total_num_not_missing = 0 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: h5f = h5py.File(data_f, 'r') except: @@ -116,7 +116,7 @@ def run_all(directory, out_directory, day_night='ANY', pattern='clavrx_*.nc', st if len(data_tiles_m) == 0: continue - if (f_cnt % 40) == 0: + if (f_cnt % 100) == 0: num_valid_samples = 0 if len(data_tiles_m) > 0: valid_i = np.stack(data_tiles_i) -- GitLab