diff --git a/modules/util/abi_surfrad.py b/modules/util/abi_surfrad.py index ba30d72ed60a41ecc349954bea54e4e8c86e2d5b..db8dacb3eed95ebeef6dd8c5942f299b1a29f323 100644 --- a/modules/util/abi_surfrad.py +++ b/modules/util/abi_surfrad.py @@ -278,16 +278,4 @@ def run(h5f, params_m, data_tiles_m, params_i, data_tiles_i, num_keep_x_tiles=8, data_tiles_m.append(nda_m) data_tiles_i.append(nda_i) - # num_tiles = len(data_tiles_i) - # num_valid = int(num_tiles * 0.10) - # num_train = num_tiles - num_valid - # - # for k in range(num_train): - # train_tiles_m.append(data_tiles_m[k]) - # train_tiles_i.append(data_tiles_i[k]) - # - # for k in range(num_valid): - # valid_tiles_m.append(data_tiles_m[num_train + k]) - # valid_tiles_i.append(data_tiles_i[num_train + k]) - return num_not_missing