From 7a6ed718a0805b418e186979bc82b0c907468b54 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 24 Mar 2021 09:35:21 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index b083ab56..3bdd41f8 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 -- GitLab