From fa0a7b947f91d41dcf45ce2c4ba832d518ed78c1 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 25 Jul 2022 12:02:11 -0500 Subject: [PATCH] minor --- modules/util/util.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/util/util.py b/modules/util/util.py index 9f4fe622..d45b173e 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -327,8 +327,6 @@ def get_grid_values_all(h5f, grid_name, scale_factor_name='scale_factor', add_of high = attr[1] grd_vals = np.where(grd_vals < low, np.nan, grd_vals) grd_vals = np.where(grd_vals > high, np.nan, grd_vals) - else: - print('Attribute: '+range_name+' not found for dataset: '+grid_name) elif fill_value_name is not None: attr = attrs.get(fill_value_name) if attr is not None: @@ -337,8 +335,6 @@ def get_grid_values_all(h5f, grid_name, scale_factor_name='scale_factor', add_of else: fill_value = attr[0] grd_vals = np.where(grd_vals == fill_value, np.nan, grd_vals) - else: - print('Attribute: '+fill_value_name+' not found for dataset: '+grid_name) return grd_vals -- GitLab