From 3d1bf719e65e48b7d9a09ec6cf0979ce8af68e9b Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 23 May 2022 15:33:12 -0500 Subject: [PATCH] bug fix --- 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 e802b361..faf2004b 100644 --- a/modules/util/viirs_l1b_l2.py +++ b/modules/util/viirs_l1b_l2.py @@ -106,7 +106,7 @@ def run(l1b_h5f, l2_h5f, l1b_tiles, l2_tiles, factor=2): num_keep_x_tiles = 5 i_skip = int(mod_num_x_tiles / num_keep_x_tiles) * mod_tile_width - i_start = int(mod_num_pixels / 2) + int((num_keep_x_tiles * 3 * 64) / 2) + i_start = int(mod_num_pixels / 2) - int((num_keep_x_tiles * 3 * 64) / 2) num_keep_y_tiles = 16 j_skip = int(mod_num_y_tiles / num_keep_y_tiles) * mod_tile_width -- GitLab