diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 6a1eae9d11549773404e58e59cb7b39720f4fdd1..ecd9d676dfd6cf1ace0ebe13fd6b5b31519c76a2 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -24,8 +24,7 @@ ds_grd_dct = {name: [] for name in ds_list} def setup(): ice_dict, no_ice_dict = pirep_icing(pirep_file) print('num obs: ice, no ice', len(ice_dict), len(no_ice_dict)) - time_keys = list(ice_dict.keys()) - return time_keys, ice_dict, no_ice_dict + return ice_dict, no_ice_dict def get_clavrx_datasource(timestamp): @@ -69,7 +68,8 @@ def get_grid_values(h5f, grid_name, j_c, i_c, half_width, scale_factor_name='sca return grd_vals -def run(time_keys, pirep_dct, outfile=None): +def run(pirep_dct, outfile=None): + time_keys = list(pirep_dct.keys()) nav = GEOSNavigation(sub_lon=-75.0, CFAC=5.6E-05, COFF=-0.101332, LFAC=-5.6E-05, LOFF=0.128212, num_elems=2500, num_lines=1500)