From 39189876ee50e20b1c2cebc44ab32f88b6910eab Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 16 Nov 2022 20:38:13 -0600
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py
index 21ced214..a517fe36 100644
--- a/modules/deeplearning/srcnn_l1b_l2.py
+++ b/modules/deeplearning/srcnn_l1b_l2.py
@@ -242,7 +242,11 @@ class SRCNN:
         data_s = []
         for k in idxs:
             f = files[k]
-            nda = np.load(f)
+            try:
+                nda = np.load(f)
+            except Exception:
+                print(f)
+                continue
             data_s.append(nda)
         input_data = np.concatenate(data_s)
 
-- 
GitLab