From 5fbc63b39aa103e7720b19b0ce3ac2fdf76f8408 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 13 Jul 2022 21:30:46 -0500
Subject: [PATCH] minor

---
 modules/util/viirs_l1b_l2.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py
index aa965a92..d7e072a1 100644
--- a/modules/util/viirs_l1b_l2.py
+++ b/modules/util/viirs_l1b_l2.py
@@ -228,17 +228,17 @@ def scan(directory):
             try:
                 solzen = get_grid_values_all(h5f, 'solar_zenith_angle')
             except Exception as e:
-                print(e)
+                # print(e)
                 h5f.close()
                 continue
 
             if is_night(solzen):
                 num_keep += 1
                 print(file)
-            print(num_files, num_keep)
-
             h5f.close()
 
+        print(num_files, num_keep)
+
 
 # def run_mean_std(directory):
 #
-- 
GitLab