diff --git a/modules/util/abi_surfrad.py b/modules/util/abi_surfrad.py index 19faccf1c8cdcc074699a34c3b8642e9a21e84a6..ba30d72ed60a41ecc349954bea54e4e8c86e2d5b 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