diff --git a/modules/util/viirs_surfrad.py b/modules/util/viirs_surfrad.py index acea008c12826170c015a8ebf10e0a6edf49e770..0ad843deb7584ce0afb9ca01d11eee846a34e3d0 100644 --- a/modules/util/viirs_surfrad.py +++ b/modules/util/viirs_surfrad.py @@ -16,7 +16,7 @@ group_name_m = 'orig/' solzen_name = group_name_m + 'solar_zenith' -label_params = group_name_i+target_param +label_params = [group_name_i+target_param] data_params = [group_name_m+'temp_11_0um', group_name_m+'refl_0_65um', group_name_m+target_param] @@ -150,9 +150,7 @@ def run(h5f, param_s, train_tiles, valid_tiles, lbl_param_s, lbl_train_tiles, lb grd_s = [] for param in param_s: - # fill_value, fill_value_name = get_fill_attrs(param) try: - # grd = get_grid_values(h5f, param, 0, 0, None, num_lines, num_pixels, fill_value_name=fill_value_name, fill_value=fill_value) grd = get_grid_values(h5f, param, 0, 0, None, num_lines, num_pixels) print(grd.shape) grd_s.append(grd) @@ -164,9 +162,7 @@ def run(h5f, param_s, train_tiles, valid_tiles, lbl_param_s, lbl_train_tiles, lb grd_s = [] for param in lbl_param_s: print(param) - # fill_value, fill_value_name = get_fill_attrs(param) try: - # grd = get_grid_values(h5f, param, 0, 0, None, num_lines*2, num_pixels*2, fill_value_name=fill_value_name, fill_value=fill_value) grd = get_grid_values(h5f, param, 0, 0, None, num_lines*2, num_pixels*2) print(grd.shape) grd_s.append(grd)