From 5871e4629494d6744a64e247d760952ea941cb2c Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sun, 3 Apr 2022 20:18:29 -0500
Subject: [PATCH] add train valid test output

---
 modules/icing/pirep_goes.py | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 16986170..1ba250de 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:
-- 
GitLab