diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 0d55a6aa4d8b7bab74ef8d2b5546529b8d08b31e..9f672e77dc7fb8944261e1d971cec78857068082 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -246,7 +246,7 @@ def create_file(filename, data_dct, ds_list, ds_types, lon_c, lat_c, time_s, fl_ h5f_expl.close() -def run(pirep_dct, platform, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end=None, skip=True): +def run(pirep_dct, platform, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end=None, skip=True, file_time_span=10): time_keys = list(pirep_dct.keys()) l1b_grd_dct = {name: [] for name in l1b_ds_list} ds_grd_dct = {name: [] for name in ds_list} @@ -283,7 +283,7 @@ def run(pirep_dct, platform, outfile=None, outfile_l1b=None, dt_str_start=None, continue try: - clvr_ds = get_clavrx_datasource(time, platform) + clvr_ds = get_clavrx_datasource(time, platform, file_time_span=file_time_span) except Exception: print('run: Problem retrieving Datasource') continue