diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index f8a05ac5a2863071227336e2b37efefbbb5d62ab..1473379347138a1d279c4aaeb6595c04fda52b5a 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -63,6 +63,7 @@ def run(): lat_s = np.zeros(1) last_clvr_file = None last_h5f = None + cnt = 0 for idx, time in enumerate(time_keys): if (idx % 4) != 0: continue @@ -81,6 +82,7 @@ def run(): if clvr_file != last_clvr_file: try: h5f = h5py.File(clvr_file, 'r') + cnt += 1 except Exception: h5f.close() print('Problem with file: ', clvr_file) @@ -93,3 +95,4 @@ def run(): h5f = last_h5f gvals = get_grid_values(h5f, 'temp_10_4um_nom', ll[0], cc[0], 20) + print(idx, cnt)