diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py index d5c359e84e6a81c1f3368677262b466b855ec1e6..fefe8d6122a9a8d8058edb3b5368ecf616142323 100644 --- a/modules/util/viirs_l1b_l2.py +++ b/modules/util/viirs_l1b_l2.py @@ -116,10 +116,10 @@ def run_all(directory, out_directory): data_train = np.stack(data_train_tiles) cnt += 1 - np.save('/data/Personal/rink/viirs/data_train_' + str(cnt), data_train) - np.save('/data/Personal/rink/viirs/data_valid_' + str(cnt), data_valid) - np.save('/data/Personal/rink/viirs/label_train_' + str(cnt), label_train) - np.save('/data/Personal/rink/viirs/label_valid_' + str(cnt), label_valid) + np.save(out_directory+'data_train_' + str(cnt), data_train) + np.save(out_directory+'data_valid_' + str(cnt), data_valid) + np.save(out_directory+'label_train_' + str(cnt), label_train) + np.save(out_directory+'label_valid_' + str(cnt), label_valid) def run(data_h5f, label_h5f, data_tiles, label_tiles, factor=2):