From 054d5c029dba9d149e851df10dd0af8a62fc9c95 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 26 Apr 2021 14:03:45 -0500
Subject: [PATCH] snapshot...

---
 modules/icing/pirep_goes.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 28252cfd..a38bee03 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1227,11 +1227,15 @@ def run_mean_std(check_cloudy=False, no_icing_to_icing_ratio=5):
 
         print(dname,': (', mean, mean_i, mean_ni, ') (', std, std_i, std_ni, ')')
 
-        mean_std_dct[dname] = (mean, std)
+        mean_std_dct[dname] = (mean_ni, std_ni)
 
     [h5f.close() for h5f in ice_h5f_lst]
     [h5f.close() for h5f in no_ice_h5f_lst]
 
+    f = open('/home/rink/data/icing_ml/mean_std.pkl', 'wb')
+    pickle.dump(mean_std_dct, f)
+    f.close()
+
     return mean_std_dct
 
 
-- 
GitLab