From 568e18814a367d158ae859fd71fba31ddceb32ee Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sat, 15 May 2021 15:15:53 -0500
Subject: [PATCH] minor...

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 1a9f2b01..c18cf294 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -981,14 +981,14 @@ def tile_extract(trnfile='/home/rink/tiles_l1b_train.h5', tstfile='/home/rink/ti
     no_ice_lon_s = np.array(no_ice_lon_s)
     no_ice_lat_s = np.array(no_ice_lat_s)
 
-    icing_intensity = np.concatenate([icing_int_s, no_icing_int_s])
-    icing_times = np.concatenate([ice_time_s, no_ice_time_s])
-    icing_lons = np.concatenate([ice_lon_s, no_ice_lon_s])
-    icing_lats = np.concatenate([ice_lat_s, no_ice_lat_s])
+    icing_intensity = np.concatenate([icing_int_s, no_icing_int_s[::2]])
+    icing_times = np.concatenate([ice_time_s, no_ice_time_s[::2]])
+    icing_lons = np.concatenate([ice_lon_s, no_ice_lon_s[::2]])
+    icing_lats = np.concatenate([ice_lat_s, no_ice_lat_s[::2]])
 
     data_dct = {}
     for ds_name in train_params:
-        data_dct[ds_name] = np.concatenate([icing_data_dct[ds_name], no_icing_data_dct[ds_name]])
+        data_dct[ds_name] = np.concatenate([icing_data_dct[ds_name], no_icing_data_dct[ds_name][::2]])
 
     # do sort -------------------------------------
     ds_indexes = np.argsort(icing_times)
-- 
GitLab