From 2f4652e4bba2bb578dcec050fe050ee3576713dc Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 15 Apr 2021 13:43:47 -0500
Subject: [PATCH] snapshot...

---
 modules/icing/pirep_goes.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 169220c5..964d03b1 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1237,10 +1237,11 @@ def split_data(num_obs, perc=0.2, skip=1):
     test_idxs = np.array(test_idxs)
     train_idxs = np.array(train_idxs)
 
-    np.random.shuffle(test_idxs)
-    np.random.shuffle(train_idxs)
+    #np.random.shuffle(test_idxs)
+    #np.random.shuffle(train_idxs)
 
-    return np.sort(train_idxs[::skip]), np.sort(test_idxs[::skip])
+    #return np.sort(train_idxs[::skip]), np.sort(test_idxs[::skip])
+    return train_idxs[::skip], test_idxs[::skip]
 
 
 def test(filename, skip=1):
-- 
GitLab