From 506a53cbad051f42a56089bbdff58d1d2584b692 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 2 Feb 2023 15:53:44 -0600
Subject: [PATCH] snapshot...

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

diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py
index f0379b30..7652f682 100644
--- a/modules/util/viirs_l1b_l2.py
+++ b/modules/util/viirs_l1b_l2.py
@@ -161,7 +161,7 @@ def run(data_h5f, param_s, train_tiles, valid_tiles, num_keep_x_tiles=8, tile_wi
     num_lines = data_h5f[param_name].shape[0]
     num_pixels = data_h5f[param_name].shape[1]  # Must be even
 
-    if day_night != 'BOTH':
+    if day_night != 'ANY':
         solzen = get_grid_values(data_h5f, solzen_name, 0, 0, None, num_lines, num_pixels)
 
     grd_s = []
-- 
GitLab