From c7dd306b7193d4e822fbc25c37c8bc60237cab55 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 29 Jul 2021 15:44:59 -0500 Subject: [PATCH] hook for manual set of fillValue --- modules/icing/pirep_goes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 63deba14..ed30f8c7 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -274,14 +274,14 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end cnt_a = 0 for didx, ds_name in enumerate(ds_list): - gvals = get_grid_values(h5f, ds_name, ll_a[0], cc_a[0], 20) + gvals = get_grid_values(h5f, ds_name, ll_a[0], cc_a[0], 20, fill_value_name=None, range_name=None, fill_value=ds_fill[didx]) if gvals is not None: ds_grd_dct[ds_name].append(gvals) cnt_a += 1 cnt_b = 0 for didx, ds_name in enumerate(l1b_ds_list): - gvals = get_grid_values(h5f, ds_name, ll_a[0], cc_a[0], 20) + gvals = get_grid_values(h5f, ds_name, ll_a[0], cc_a[0], 20, fill_value_name=None, range_name=None, fill_value=l1b_ds_fill[didx]) if gvals is not None: l1b_grd_dct[ds_name].append(gvals) cnt_b += 1 -- GitLab