From 6fde74430ccf45735d12d8d30a0dad7d464a1b45 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 4 Mar 2021 18:36:23 -0600
Subject: [PATCH] snapshot...

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index a716b4fc..93a7d2da 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1,5 +1,4 @@
 from icing.pireps import pirep_icing
-from deeplearning.amv_raob import get_images
 import numpy as np
 import pickle
 import os
@@ -65,15 +64,11 @@ def run():
     last_h5f = None
 
     for idx, time in enumerate(time_keys):
-        if (idx % 4) != 0:
-            continue
-        print(100.0*(idx/len(time_keys)))
         reports = ice_dict[time]
         for tup in reports:
             lat, lon, fl, rpt_str = tup
             lat_s[0] = lat
             lon_s[0] = lon
-            cc, ll = nav.earth_to_lc_s(lon_s, lat_s)
 
             try:
                 clvr_ds = get_clavrx_datasource(time)
@@ -96,4 +91,5 @@ def run():
             else:
                 h5f = last_h5f
 
+            cc, ll = nav.earth_to_lc_s(lon_s, lat_s)
             gvals = get_grid_values(h5f, 'temp_10_4um_nom', ll[0], cc[0], 20)
-- 
GitLab