From 1ff928364b64c5555af8b79d3aee370c4b419523 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 19 Mar 2024 12:05:36 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index e74b0d28..30aa4b1e 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -891,10 +891,10 @@ def analyze2(filename, filename_l1b): num_obs = iint.size print('num obs: ', num_obs) - no_ice = iint == -1 - ice = iint >= 1 - tr_ice = (iint == 1) | (iint == 2) - tr_plus_ice = iint > 2 + no_ice = iint == -1 # All no icing + ice = iint >= 1 # All icing + tr_ice = (iint == 1) | (iint == 2) # True for icing cats 1 and 2 + tr_plus_ice = iint > 2 # True for icing cats 3 and above print('num no ice: ', np.sum(no_ice)) print('num ice: ', np.sum(ice)) -- GitLab