diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 29ed899c817d5d49c761baf8909cd9db0491b7e4..844024ded4bd2232539c9dee2074b6f6e5ab9989 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -21,6 +21,7 @@ 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 def get_clavrx_datasource(timestamp): @@ -64,7 +65,7 @@ def get_grid_values(h5f, grid_name, j_c, i_c, half_width, scale_factor_name='sca return grd_vals -def run(): +def run(time_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)