diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py index 34bcc730f49f81901d8c3374cb87e8143207b375..e5f0211386b9722c0803c57e22378ab983c03cd4 100644 --- a/modules/util/viirs_l1b_l2.py +++ b/modules/util/viirs_l1b_l2.py @@ -5,15 +5,15 @@ import glob import os from pathlib import Path -emis_params = ['temp_10_4um_nom', 'temp_11_0um_nom', 'temp_12_0um_nom', 'temp_13_3um_nom', 'temp_3_75um_nom', - 'temp_6_2um_nom', 'temp_6_7um_nom', 'temp_7_3um_nom', 'temp_8_5um_nom', 'temp_9_7um_nom'] +emis_params = ['temp_10_4um_nom', 'temp_11_0um_nom', 'temp_12_0um_nom', 'temp_13_3um_nom', 'temp_3_9um_nom', + 'temp_6_7um_nom', 'temp_7_3um_nom', 'temp_8_5um_nom', 'temp_9_7um_nom'] #refl_params = ['refl_0_47um_nom', 'refl_0_65um_nom', 'refl_0_86um_nom', 'refl_1_38um_nom', 'refl_1_60um_nom'] # data_params = refl_params + emis_params data_params = emis_params -l2_params = ['cloud_fraction', 'cld_temp_acha', 'cld_press_acha', 'cld_opd_acha', 'cld_reff_acha'] +l2_params = ['cloud_fraction', 'cld_temp_acha', 'cld_press_acha', 'cld_emiss_acha'] label_params = l2_params # data_params = ['cloud_fraction'] @@ -153,7 +153,7 @@ def run(data_h5f, label_h5f, data_tiles, label_tiles, mod_tile_width=64, border= img_num_lines = label_h5f[l2_param_name].shape[0] img_num_pixels = label_h5f[l2_param_name].shape[1] - factor = img_num_pixels / mod_num_pixels + factor = int(img_num_pixels / mod_num_pixels) img_tile_width = mod_tile_width * factor # mod_num_y_tiles = int(mod_num_lines / mod_tile_width)