From 8d81f0080adb5b5711bc4b25d130f0be7b172019 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Sun, 7 Aug 2022 21:02:19 -0500 Subject: [PATCH] minor --- 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 36112721..6d978bb8 100644 --- a/modules/util/viirs_l1b_l2.py +++ b/modules/util/viirs_l1b_l2.py @@ -259,13 +259,13 @@ def run_one(data_h5f, data_tiles, tile_width=64, kernel_size=9): data = np.stack(grd_s) - # num_keep_x_tiles = 2 - num_keep_x_tiles = 1 - #i_skip = num_keep_x_tiles * tile_width - i_skip = 1 + num_keep_x_tiles = 2 + #num_keep_x_tiles = 1 + i_skip = num_keep_x_tiles * tile_width + #i_skip = 1 j_skip = 1 * tile_width - #i_start = int(num_pixels / 2) - int((num_keep_x_tiles * 2 * tile_width) / 2) - i_start = int(num_pixels / 2) - int((tile_width) / 2) + i_start = int(num_pixels / 2) - int((num_keep_x_tiles * tile_width) / 2) + #i_start = int(num_pixels / 2) - int((tile_width) / 2) num_keep_y_tiles = 96 for j in range(num_keep_y_tiles): -- GitLab