From abaea30ef9b92d320aae4eb0e8b1573332da4177 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 11 Dec 2024 13:21:46 -0600 Subject: [PATCH] snapshot... --- modules/icing/pireps.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/modules/icing/pireps.py b/modules/icing/pireps.py index e066b957..f1353b21 100644 --- a/modules/icing/pireps.py +++ b/modules/icing/pireps.py @@ -249,11 +249,7 @@ def pirep_icing_boeing_txt(filename, lon_range=[-180, 180], lat_range=[-63, 63]) rpts = [] rpts.append(tup) ice_dict[ts] = rpts - else: - print('duplicate: ', tup) - print('duplicate: ', rpts[0]) - print('Skip -------------') - cnt_ice += 1 + cnt_ice += 1 else: tup = (lat, lon, flt_alt, -1, 0, 'None', degK, spd) if degK > 274.5: @@ -263,11 +259,7 @@ def pirep_icing_boeing_txt(filename, lon_range=[-180, 180], lat_range=[-63, 63]) rpts = [] rpts.append(tup) no_ice_dict[ts] = rpts - else: - print('duplicate: ', tup) - print('duplicate: ', rpts[0]) - print('Skip -------------') - cnt_no_ice += 1 + cnt_no_ice += 1 print('icing, no icing cnt: ', cnt_ice, cnt_no_ice) ice_dict = time_sort_pirep_dict(ice_dict) -- GitLab