From d92f0516d089411d4c8be86a42c62d8ab7533907 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 15 Apr 2021 13:33:03 -0500
Subject: [PATCH] keep only < 273 for both icing and no-icing regions

---
 modules/icing/pirep_goes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index f8bd1e08..2a2a1e15 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1240,7 +1240,7 @@ def split_data(num_obs, perc=0.2, skip=1):
     np.random.shuffle(test_idxs)
     np.random.shuffle(train_idxs)
 
-    return train_idxs[::skip], test_idxs[::skip]
+    return np.sort(train_idxs[::skip]), np.sort(test_idxs[::skip])
 
 
 def test(filename):
-- 
GitLab