From 2aab9323af8706a26589f59e4597f4e7b467e13d Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 30 Nov 2021 10:50:06 -0600
Subject: [PATCH] minor

---
 modules/icing/pirep_goes.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 1d23dc59..5b8c7637 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1809,8 +1809,8 @@ def tiles_info(filename):
     print('Icing 6:  ', np.sum(iint == 6))
 
 
-def analyze(preds_file):
-    h5f = h5py.File('/Users/tomrink/data/icing_ml/tiles_202109240000_202111152359_l1b_test_v3_DAY.h5', 'r')
+def analyze(preds_file, truth_file='/Users/tomrink/data/icing_ml/tiles_202109240000_202111212359_l2_test_v3_DAY.h5'):
+    h5f = h5py.File(truth_file, 'r')
     nda = h5f['flight_altitude'][:]
 
     nda[np.logical_and(nda >= 0, nda < 2000)] = 0
-- 
GitLab