diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 268c02a5259d9f7495f8252c17da0cb902325ff3..8ea9597f59948bf0791e8f8839c161bdcf47e058 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1031,6 +1031,7 @@ def fov_extract(trnfile='/home/rink/fovs_l1b_train.h5', tstfile='/home/rink/fovs for h5f in h5_s_no_icing: h5f.close() + # --------- Throw away code -------------------------------------------------------------------- jdays= [['070', '071', '072', '073', '074', '075'], ['078', '079', '080', '081', '082', '084', '085', '086', '087', '088'], ['106', '107', '108', '109', '110', '111', '112', '113', '114'], ['116', '117', '118', '119'], @@ -1040,15 +1041,18 @@ jdays= [['070', '071', '072', '073', '074', '075'], ['078', '079', '080', '081', def make_ts_bins(): nbins = len(jdays) - edges = [[] for k in range(nbins)] + #edges = [[] for k in range(nbins)] + edges = [] for k in range(nbins): num = len(jdays[k]) jd_a = jdays[k][0] ts_a = get_timestamp('2019-'+jd_a+'_00:00', format_code='%Y-%j_%H:%M') jd_b = jdays[k][num-1] ts_b = get_timestamp('2019-'+jd_b+'_23:59', format_code='%Y-%j_%H:%M') - edges[k].append(ts_a) - edges[k].append(ts_b) + #edges[k].append(ts_a) + #edges[k].append(ts_b) + edges.append(ts_a) + edges.append(ts_b) return edges