Skip to content

Commit

Permalink
change var name
Browse files Browse the repository at this point in the history
  • Loading branch information
YijianZhou committed Nov 30, 2023
1 parent 63044b9 commit 6bf200b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __init__(self):
# 3. data pipeline
self.get_data_dict = dp.get_data_dict
self.get_sta_dict = dp.get_sta_dict
self.get_picks = dp.get_picks
self.get_picks = dp.get_pal_picks
self.read_data = dp.read_data
6 changes: 3 additions & 3 deletions data_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def get_sta_dict(sta_file):
return sta_dict

# get PAL picks (for assoc)
def get_picks(date, pick_dir):
def get_pal_picks(date, pick_dir):
picks = []
dtype = [('net_sta','O'),
('sta_ot','O'),
Expand All @@ -96,8 +96,8 @@ def get_picks(date, pick_dir):
picks.append((net_sta, sta_ot, tp, ts, s_amp))
return np.array(picks, dtype=dtype)

# get RSeL picks (for assoc)
def get_rsel_picks(date, pick_dir):
# get picks (for assoc)
def get_picks(date, pick_dir):
picks = []
dtype = [('net_sta','O'),
('sta_ot','O'),
Expand Down
2 changes: 1 addition & 1 deletion example_pal_workdir/config_eg.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ def __init__(self):
# 3. data pipeline
self.get_data_dict = dp.get_data_dict
self.get_sta_dict = dp.get_sta_dict
self.get_picks = dp.get_picks
self.get_picks = dp.get_pal_picks
self.read_data = dp.read_data

0 comments on commit 6bf200b

Please sign in to comment.