diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 169861701661a4a862ddda5aa7a1042a04892e3b..1ba250de19072f07c73e88a744e758c4ac34f236 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1762,23 +1762,23 @@ def split_data(times): # out_idxs = np.concatenate(out_idxs, axis=None) # train_time_idxs = train_time_idxs[np.in1d(train_time_idxs, out_idxs, invert=True)] - time_ranges = [[get_timestamp('2018-02-01_00:00'), get_timestamp('2018-02-05_23:59')], - [get_timestamp('2018-04-01_00:00'), get_timestamp('2018-04-05_23:59')], - [get_timestamp('2018-06-01_00:00'), get_timestamp('2018-06-05_23:59')], - [get_timestamp('2018-08-01_00:00'), get_timestamp('2018-08-05_23:59')], - [get_timestamp('2018-10-01_00:00'), get_timestamp('2018-10-05_23:59')], - [get_timestamp('2018-12-01_00:00'), get_timestamp('2018-12-05_23:59')], - [get_timestamp('2019-02-01_00:00'), get_timestamp('2019-02-05_23:59')], - [get_timestamp('2019-04-01_00:00'), get_timestamp('2019-04-05_23:59')], - [get_timestamp('2019-06-01_00:00'), get_timestamp('2019-06-05_23:59')], - [get_timestamp('2019-08-01_00:00'), get_timestamp('2019-08-05_23:59')], - [get_timestamp('2019-10-01_00:00'), get_timestamp('2019-10-05_23:59')], - [get_timestamp('2019-12-01_00:00'), get_timestamp('2019-12-05_23:59')], + time_ranges = [[get_timestamp('2018-02-01_00:00'), get_timestamp('2018-02-04_23:59')], + [get_timestamp('2018-04-01_00:00'), get_timestamp('2018-04-04_23:59')], + [get_timestamp('2018-06-01_00:00'), get_timestamp('2018-06-04_23:59')], + [get_timestamp('2018-08-01_00:00'), get_timestamp('2018-08-04_23:59')], + [get_timestamp('2018-10-01_00:00'), get_timestamp('2018-10-04_23:59')], + [get_timestamp('2018-12-01_00:00'), get_timestamp('2018-12-04_23:59')], + [get_timestamp('2019-02-01_00:00'), get_timestamp('2019-02-04_23:59')], + [get_timestamp('2019-04-01_00:00'), get_timestamp('2019-04-04_23:59')], + [get_timestamp('2019-06-01_00:00'), get_timestamp('2019-06-04_23:59')], + [get_timestamp('2019-08-01_00:00'), get_timestamp('2019-08-04_23:59')], + [get_timestamp('2019-10-01_00:00'), get_timestamp('2019-10-04_23:59')], + [get_timestamp('2019-12-01_00:00'), get_timestamp('2019-12-04_23:59')], [get_timestamp('2021-10-05_00:00'), get_timestamp('2021-10-10_23:59')], - [get_timestamp('2021-12-01_00:00'), get_timestamp('2021-12-05_23:59')], - [get_timestamp('2022-02-01_00:00'), get_timestamp('2022-02-05_23:59')], - [get_timestamp('2022-03-25_00:00'), get_timestamp('2022-03-30_23:59')]] + [get_timestamp('2021-12-01_00:00'), get_timestamp('2021-12-04_23:59')], + [get_timestamp('2022-02-01_00:00'), get_timestamp('2022-02-04_23:59')], + [get_timestamp('2022-03-26_00:00'), get_timestamp('2022-03-30_23:59')]] tst_time_idxs = [] for t_rng in time_ranges: