From 44e3698f33241d5a395c7c999248619d6b3ceb81 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 20 Sep 2021 15:00:55 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 32492961..2bb94176 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1521,14 +1521,19 @@ 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-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')]] + time_ranges = [[get_timestamp('2018-01-01_00:00'), get_timestamp('2018-01-06_23:59')], + [get_timestamp('2018-03-01_00:00'), get_timestamp('2018-03-06_23:59')], + [get_timestamp('2018-05-01_00:00'), get_timestamp('2018-05-06_23:59')], + [get_timestamp('2018-07-01_00:00'), get_timestamp('2018-07-06_23:59')], + [get_timestamp('2018-09-01_00:00'), get_timestamp('2018-09-06_23:59')], + [get_timestamp('2018-11-01_00:00'), get_timestamp('2018-11-06_23:59')], + [get_timestamp('2019-01-01_00:00'), get_timestamp('2019-01-06_23:59')], + [get_timestamp('2019-03-01_00:00'), get_timestamp('2019-03-06_23:59')], + [get_timestamp('2019-05-01_00:00'), get_timestamp('2019-05-06_23:59')], + [get_timestamp('2019-07-01_00:00'), get_timestamp('2019-07-06_23:59')], + [get_timestamp('2019-09-01_00:00'), get_timestamp('2019-09-06_23:59')], + [get_timestamp('2019-11-01_00:00'), get_timestamp('2019-11-06_23:59')]] + test_time_idxs = [] for t_rng in time_ranges: -- GitLab