...
Now you've finished all the installation steps. Let's do some test to see if the python scripts can run with the database smoothly. The two scripts that need to be tested are hazard_search.py and event_search.py:
(1) To see the detailed usage of hazard_search.py and event_search.py, type:
Code Block |
---|
/seisfinder2/sqlsts $ python hazard_search.py -h
/sesifinder2/sqlsts $ python event_search.py -h |
(2) Sample test Test for hazard_search.py
Code Block |
---|
$cd seisfinder2/sqlsts seisfinder2/sqlsts $ python hazard_search.py -q Cybershake17p8 -45.63 168.94 |
Output:
(23) Test Sample test for event_search.py
Code Block |
---|
seisfinder2/sqlsts $ python event_search.py -e 2010Sept4_m7pt1_newtdelay_VMCant_v1p65_BULLDOZED-h0p100_EMODv3p0p4_170426 -c -43.1325 171.7693 -r bev01_s103246Allsegm_v8_23 |
Output:
(3) To see the detailed usage of hazard_search.py and event_search.py, type:
...