From ddad81521b02d61b53f91bc65e1136cc406a8bd5 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 21 Jul 2022 14:15:38 -0500
Subject: [PATCH] minor

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

diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py
index 8e2ca192..d516d362 100644
--- a/modules/util/viirs_l1b_l2.py
+++ b/modules/util/viirs_l1b_l2.py
@@ -1,6 +1,6 @@
 import numpy as np
 import h5py
-from util.util import get_grid_values, get_grid_values_all, is_night, compute_lwc_iwc
+from util.util import get_grid_values, get_grid_values_all, is_night, is_day, compute_lwc_iwc
 import glob
 import os
 from aeolus.datasource import CLAVRx_VIIRS
@@ -232,6 +232,7 @@ def scan(directory):
             h5f.close()
             continue
 
+        # if is_day(solzen) and moon_phase(ts):
         if is_night(solzen) and moon_phase(ts):
             print(file)
         h5f.close()
-- 
GitLab