From 48cf4e1320f87c075788e2e149ce4346bd9b7fd9 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 13 Apr 2023 14:41:27 -0500 Subject: [PATCH] snapshot... --- modules/util/abi_surfrad.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/util/abi_surfrad.py b/modules/util/abi_surfrad.py index 19faccf1..ba30d72e 100644 --- a/modules/util/abi_surfrad.py +++ b/modules/util/abi_surfrad.py @@ -79,8 +79,8 @@ def run_all(directory, out_directory, day_night='ANY', pattern='clavrx_*.nc', st data_tiles_m = [] f_cnt = 0 - num_files = len(all_files) - print('Start, number of files: ', num_files) + num_files = len(valid_files) + print('Start, number of valid files: ', num_files) total_num_not_missing = 0 @@ -141,6 +141,8 @@ def run_all(directory, out_directory, day_night='ANY', pattern='clavrx_*.nc', st data_tiles_m = [] f_cnt = 0 total_num_not_missing = 0 + num_files = len(train_files) + print('Start, number of train files: ', num_files) for idx, data_f in enumerate(train_files): # if idx % 4 == 0: # if we want to skip some files -- GitLab