From fbf3c6ace81fd47dc64ec6fb54ce535672131d90 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 7 Oct 2022 11:14:17 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py
index 7874eb2b..f5396bf1 100644
--- a/modules/util/viirs_l1b_l2.py
+++ b/modules/util/viirs_l1b_l2.py
@@ -52,8 +52,8 @@ emis_params = ['temp_10_4um_nom', 'temp_11_0um_nom', 'temp_12_0um_nom', 'temp_13
 # data_params = emis_params
 
 # l2_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'cloud_fraction']
-# l2_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'refl_0_65um_nom', 'cld_opd_dcomp']
-l2_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'refl_0_65um_nom', 'cloud_fraction']
+l2_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'refl_0_65um_nom', 'cld_opd_dcomp']
+# l2_params = ['temp_11_0um_nom', 'temp_12_0um_nom', 'refl_0_65um_nom', 'cloud_fraction']
 
 label_params = l2_params
 data_params = l2_params
@@ -84,8 +84,8 @@ def run_all(directory, out_directory, day_night='ANY'):
     # pattern = 'clavrx*highres*.nc'
     # pattern = 'VNP02MOD*.uwssec.nc'
     # pattern = 'clavrx_*.nc'
-    # pattern = 'clavrx_VNP02MOD*.highres.nc.level2.nc'
-    pattern = 'clavrx_snpp_viirs*.uwssec*.nc'
+    pattern = 'clavrx_VNP02MOD*.highres.nc.level2.nc'
+    # pattern = 'clavrx_snpp_viirs*.uwssec*.nc'
     path = directory + '**' + '/' + pattern
 
     data_files = glob.glob(path, recursive=True)
@@ -231,8 +231,8 @@ def run(data_h5f, param_s, tiles, tile_width=64, kernel_size=9, day_night='ANY')
                 continue
 
             nda = data[:, j_a:j_b, i_a:i_b]
-            if not keep_tile(param_s, nda):
-                continue
+            # if not keep_tile(param_s, nda):
+            #     continue
             tiles.append(nda)
 
 
-- 
GitLab