Skip to content

Commit 8aa35ad

Browse files
committed
update
1 parent db21a49 commit 8aa35ad

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

examples/california/cut_templates_merge.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -437,14 +437,14 @@ def process_day(year_jday):
437437
fs.put(f"{root_path}/{result_path}/config.json", f"{bucket}/{folder}/config.json")
438438
print(f"{root_path}/{result_path}/pairs.txt -> {bucket}/{folder}/pairs.txt")
439439
fs.put(f"{root_path}/{result_path}/pairs.txt", f"{bucket}/{folder}/pairs.txt")
440-
print(f"{root_path}/{result_path}/template.dat -> {bucket}/{folder}/template.dat")
441-
fs.put(f"{root_path}/{result_path}/template.dat", f"{bucket}/{folder}/template.dat")
442-
print(f"{root_path}/{result_path}/traveltime.dat -> {bucket}/{folder}/traveltime.dat")
443-
fs.put(f"{root_path}/{result_path}/traveltime.dat", f"{bucket}/{folder}/traveltime.dat")
444-
print(f"{root_path}/{result_path}/traveltime_index.dat -> {bucket}/{folder}/traveltime_index.dat")
445-
fs.put(f"{root_path}/{result_path}/traveltime_index.dat", f"{bucket}/{folder}/traveltime_index.dat")
446-
print(f"{root_path}/{result_path}/traveltime_mask.dat -> {bucket}/{folder}/traveltime_mask.dat")
447-
fs.put(f"{root_path}/{result_path}/traveltime_mask.dat", f"{bucket}/{folder}/traveltime_mask.dat")
440+
# print(f"{root_path}/{result_path}/template.dat -> {bucket}/{folder}/template.dat")
441+
# fs.put(f"{root_path}/{result_path}/template.dat", f"{bucket}/{folder}/template.dat")
442+
# print(f"{root_path}/{result_path}/traveltime.dat -> {bucket}/{folder}/traveltime.dat")
443+
# fs.put(f"{root_path}/{result_path}/traveltime.dat", f"{bucket}/{folder}/traveltime.dat")
444+
# print(f"{root_path}/{result_path}/traveltime_index.dat -> {bucket}/{folder}/traveltime_index.dat")
445+
# fs.put(f"{root_path}/{result_path}/traveltime_index.dat", f"{bucket}/{folder}/traveltime_index.dat")
446+
# print(f"{root_path}/{result_path}/traveltime_mask.dat -> {bucket}/{folder}/traveltime_mask.dat")
447+
# fs.put(f"{root_path}/{result_path}/traveltime_mask.dat", f"{bucket}/{folder}/traveltime_mask.dat")
448448

449449

450450
# %%

examples/california/run_cctorch.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def parse_args():
7070

7171

7272
base_cmd = (
73-
# f"../../CCTorch/run.py --pair_list={root_path}/{data_path}/pairs.txt --data_path1={root_path}/{data_path}/template.dat --data_format1=memmap "
74-
f"/opt/CCTorch/run.py --pair_list={root_path}/{data_path}/pairs.txt --data_path1={root_path}/{data_path}/template.dat --data_format1=memmap "
73+
f"../../CCTorch/run.py --pair_list={root_path}/{data_path}/pairs.txt --data_path1={root_path}/{data_path}/template.dat --data_format1=memmap "
74+
# f"/opt/CCTorch/run.py --pair_list={root_path}/{data_path}/pairs.txt --data_path1={root_path}/{data_path}/template.dat --data_format1=memmap "
7575
f"--data_list1={root_path}/{data_path}/cctorch_picks.csv "
7676
f"--events_csv={root_path}/{data_path}/cctorch_events.csv --picks_csv={root_path}/{data_path}/cctorch_picks.csv --stations_csv={root_path}/{data_path}/cctorch_stations.csv "
7777
f"--config={root_path}/{data_path}/config.json --batch_size={batch} --block_size1={block_size1} --block_size2={block_size2} "
@@ -165,7 +165,6 @@ def parse_args():
165165
# os.remove(target_file)
166166
# os.symlink(source_file, target_file)
167167

168-
169168
if protocol == "gs":
170169
print(f"{root_path}/{data_path}/dt.cc -> {bucket}/{data_path}/dt.cc")
171170
fs.put(f"{root_path}/{data_path}/dt.cc", f"{bucket}/{data_path}/dt.cc")

0 commit comments

Comments
 (0)