diff --git a/modules/util/viirs.py b/modules/util/viirs.py index e8da13dafa7fd112bcf01d6b07de963eafd691c8..d7c64d620bbc599b05c70a0d8361acccc5fc2bdc 100644 --- a/modules/util/viirs.py +++ b/modules/util/viirs.py @@ -16,7 +16,7 @@ def run_all(directory): img_tiles = [] for idx, mfile in enumerate(mod_files): - if idx % 8 == 0: + if idx % 16 == 0: w_o_ext, ext = os.path.splitext(mfile) ifile = w_o_ext+'.highres'+ext if not os.path.exists(ifile): @@ -60,7 +60,7 @@ def run(mod_res_filename, img_res_filename, mod_tiles, img_tiles): mod_data = get_grid_values(mod_h5f, mod_param, 0, 0, None, mod_num_lines, mod_num_pixels, range_name=None) img_data = get_grid_values(img_h5f, img_param, 0, 0, None, img_num_lines, img_num_pixels, range_name=None) - num_cntr_tiles = 1 + num_cntr_tiles = 2 i_c = int(mod_num_pixels / num_cntr_tiles) # center j_skip = int(mod_num_y_tiles / num_cntr_tiles) * mod_tile_width for k in range(num_cntr_tiles):