From 56fd6fd1c8fe4e7ba443438d996418ee90651392 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 20 Sep 2021 13:47:32 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 3db130b1..61b0a004 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1521,14 +1521,14 @@ def run_mean_std_2(check_cloudy=False, no_icing_to_icing_ratio=5, params=train_p def split_data(times): time_idxs = np.arange(times.shape[0]) - time_ranges = [[get_timestamp('2018-01-01_00:00'), get_timestamp('2018-01-07_23:59')], - [get_timestamp('2018-04-01_00:00'), get_timestamp('2018-04-07_23:59')], - [get_timestamp('2018-07-01_00:00'), get_timestamp('2018-07-07_23:59')], - [get_timestamp('2018-10-01_00:00'), get_timestamp('2018-10-07_23:59')], - [get_timestamp('2019-01-01_00:00'), get_timestamp('2019-01-07_23:59')], - [get_timestamp('2019-04-01_00:00'), get_timestamp('2019-04-07_23:59')], - [get_timestamp('2019-07-01_00:00'), get_timestamp('2019-07-07_23:59')], - [get_timestamp('2019-10-01_00:00'), get_timestamp('2019-10-07_23:59')]] + time_ranges = [[get_timestamp('2018-01-01_00:00'), get_timestamp('2018-01-08_23:59')], + [get_timestamp('2018-04-01_00:00'), get_timestamp('2018-04-08_23:59')], + [get_timestamp('2018-07-01_00:00'), get_timestamp('2018-07-08_23:59')], + [get_timestamp('2018-10-01_00:00'), get_timestamp('2018-10-08_23:59')], + [get_timestamp('2019-01-01_00:00'), get_timestamp('2019-01-08_23:59')], + [get_timestamp('2019-04-01_00:00'), get_timestamp('2019-04-08_23:59')], + [get_timestamp('2019-07-01_00:00'), get_timestamp('2019-07-08_23:59')], + [get_timestamp('2019-10-01_00:00'), get_timestamp('2019-10-08_23:59')]] test_time_idxs = [] for t_rng in time_ranges: -- GitLab