From 61354ed73a5071b4d0209ce619bfaf690e325867 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 15 Mar 2021 15:29:51 -0500
Subject: [PATCH] snapshot...

---
 modules/icing/pireps.py | 27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/modules/icing/pireps.py b/modules/icing/pireps.py
index 284afab9..6adc3a4e 100644
--- a/modules/icing/pireps.py
+++ b/modules/icing/pireps.py
@@ -106,30 +106,3 @@ def pirep_icing(filename, lon_range=[-180, 180], lat_range=[-55, 55]):
                         rpts.append(tup)
 
     return ice_dict, no_ice_dict
-
-
-# def analyze(ice_dct, no_ice_dct):
-#     ice_times = np.array(list(ice_dct.keys()))
-#     no_ice_times = np.array(list(no_ice_dct.keys()))
-#
-#     dt_str = '201601010000'
-#     dto = datetime.datetime.strptime(dt_str, '%Y%m%d%H%M').replace(tzinfo=timezone.utc)
-#     t0 = dto.timestamp()
-#
-#     dt_str = '201906300000'
-#     dto = datetime.datetime.strptime(dt_str, '%Y%m%d%H%M').replace(tzinfo=timezone.utc)
-#     t1 = dto.timestamp()
-#
-#     tline = np.arange(t0, t1, 600)
-#     hist_a, edges = np.histogram(no_ice_times, bins=tline)
-#     print(len(np.nonzero(hist_a)[0]))
-#
-#     hist_b, edges = np.histogram(ice_times, bins=tline)
-#     print(len(np.nonzero(hist_b)[0]))
-#
-#     print(np.sum(np.logical_and(hist_a > 0, hist_b > 0)))
-#
-#     for ts in list(no_ice_dct.keys()):
-#         ds = get_goes_datasource(ts)
-#         goes_file = ds.get_file(ts)[0]
-#         print(goes_file)
\ No newline at end of file
-- 
GitLab