diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index b083ab565c43be648bd9eadde9be5bb73e47df4d..3bdd41f84ab104e965564365ae29596d13031e3d 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -597,10 +597,9 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask, return mask -def test(flags, fkeys, ice_dct): +def test(flags, fkeys, ids, ice_dct): for i, key in enumerate(fkeys): rpts = ice_dct[key] - if len(rpts) == 1: - print(flags[i], rpts[0][4]) - #for tup in rpts: - # print(flags[i], tup[4]) \ No newline at end of file + for tup in rpts: + if tup[4] == ids[i]: + print(flags[i], tup[5]) \ No newline at end of file