From dcd55b9d73cfc531612e1f14199a81efc5e1b5bd Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 11 Feb 2021 21:35:12 -0600
Subject: [PATCH] add option to, or not, copy from /arcdata to local

---
 modules/deeplearning/amv_raob.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/deeplearning/amv_raob.py b/modules/deeplearning/amv_raob.py
index 52c16a22..f9f9cc01 100644
--- a/modules/deeplearning/amv_raob.py
+++ b/modules/deeplearning/amv_raob.py
@@ -754,8 +754,6 @@ def get_images(lons, lats, timestamp, channel_list, half_width, step, do_norm=Fa
         except Exception as exc:
             print(exc)
             return None, None, None, None
-        t1 = datetime.datetime.now().timestamp()
-        print((t1-t0)*1000)
 
         bt_or_refl = None
         if pug_l1b_c.bt_or_refl == 'bt':
@@ -804,7 +802,6 @@ def get_images(lons, lats, timestamp, channel_list, half_width, step, do_norm=Fa
             elif pug_l1b_r.bt_or_refl == 'refl':
                 bt_or_refl_r = pug_l1b_r.refl
 
-        t0 = datetime.datetime.now().timestamp()
         if daynight != 'ANY':
             if step[ch_idx] == 1:
                 if geoloc_2km is None:
@@ -888,8 +885,6 @@ def get_images(lons, lats, timestamp, channel_list, half_width, step, do_norm=Fa
             if TRIPLET or CONV3D:
                 subprocess.call(['rm', local_path_l])
                 subprocess.call(['rm', local_path_r])
-        t1 = datetime.datetime.now().timestamp()
-        print((t1-t0)*1000)
 
     return np.array(data), np.array(data_l), np.array(data_r), np.array(idxs)
 
-- 
GitLab