diff --git a/modules/icing/pireps.py b/modules/icing/pireps.py index 7909b00d4957d8b5aa2eb184a89b40cf778b2b96..4aee3cca3c6ea4bf2380d89154254b3d1332816f 100644 --- a/modules/icing/pireps.py +++ b/modules/icing/pireps.py @@ -261,6 +261,9 @@ def pirep_icing_boeing_txt(filename, lon_range=[-180, 180], lat_range=[-63, 63]) rpts.append(tup) cnt_no_ice += 1 + ice_dict = time_sort_pirep_dict(ice_dict) + no_ice_dict = time_sort_pirep_dict(no_ice_dict) + return ice_dict, no_ice_dict, None @@ -331,4 +334,7 @@ def pirep_icing_from_boeing_nc(dirname='/ships19/cloud/scratch/ICING/BOEING/icin print('num icing/no icing: ', cnt_ice, cnt_no_ice) + ice_dict = time_sort_pirep_dict(ice_dict) + no_ice_dict = time_sort_pirep_dict(no_ice_dict) + return ice_dict, no_ice_dict, None \ No newline at end of file