Skip to content

Latest commit

 

History

History
95 lines (73 loc) · 3.4 KB

README.md

File metadata and controls

95 lines (73 loc) · 3.4 KB

Hypo-Interface-Py

Interface for HypoInverse & HypoDD, implemented with Python.

HypoInverse Interface

1. Files

1.1 config file

config.py

1.2 format transfer

mk_sta.py, mk_pha.py, and sum2csv.py

1.3 main

run_hyp.py

1.4 inputs & outputs

inputs: eg.pha, station_eg.csv, and velo_p_eg.cre
outputs: .csv catalog, phase files, and summary file

2. Usage

(0) get event detection (i.e. .pha)
(1) set i/o paths & hypoInverse parameters in config.py
(2) manually write velocity model in CRE format (refer to hypoInverse doc)
(3) python run_hyp.py

HypoDD Interface

Relocation with dt.ct

1. Files

1.1 config file

config.py, hypoDD.inp, and ph2dt.inp

1.2 format transfer

mk_sta.py and mk_pha.py

1.3 main

run_hypoDD.py

1.4 inputs & outputs

inputs: eg_hyp_full.pha and station_eg.csv (velocity model is set in hypoDD.inp)
outputs: .csv catalog, phase files, and hypoDD screen prints for each grid

2. Usage

(0) get original location (i.e. _hyp_full.py) with hypoInverse
(1) set i/o paths & location grids in config.py
(2) set ph2dt & hypoDD parameters (refer to hypoDD doc)
(3) python run_hypoDD.py

Relocation with dt.cc

1. Files

1.1 config file

config.py and hypoDD.inp

1.2 format transfer

mk_sta.py, mk_pha.py, and mk_event.py

1.3 major functions

./preprocess: cut_events-obspy.py, reader.py, and signal_lib.py
ph2dt_cc: ph2dt_cc.py, select_dt.py, and dataset_cc.py

1.4 main

run_hypoDD.py

1.5 inputs & outputs

inputs: eg.pha, eg_hyp_full.pha, eg_ct_full.pha and station_eg.csv (velocity model is set in hypoDD.inp)
outputs: .csv catalog, phase files, and hypoDD screen prints for each grid

2. Usage

(0) get absolute location (i.e. _hyp_full.py) and dt.ct relocation (i.e. _ct_full.py)
(1) set i/o paths, location grids, and ph2dt_cc parameters in config.py
(2) set hypoDD parameters (refer to hypoDD doc)
(3) cut events data in ./preprocess & python run_hypoDD.py

Relocation with dt.ct & dt.cc

1. Files

1.1 config file

config.py, ph2dt.inp and hypoDD.inp

1.2 format transfer

mk_sta.py, mk_pha.py, and mk_event.py

1.3 major functions

./preprocess: cut_events-obspy.py, reader.py, and signal_lib.py
ph2dt_cc: ph2dt_cc.py, select_dt.py, and dataset_cc.py

1.4 main

run_hypoDD.py

1.5 inputs & outputs

inputs: eg.pha, eg_hyp_full.pha, and station_eg.csv (velocity model is set in hypoDD.inp)
outputs: .csv catalog, phase files, and hypoDD screen prints for each grid

2. Usage

(0) get original location (i.e. _hyp_full.py) with hypoInverse
(1) set i/o paths, location grids, and ph2dt_cc parameters in config.py
(2) set ph2dt & hypoDD parameters (refer to hypoDD doc)
(3) cut events data in ./preprocess & python run_hypoDD.py