-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve TauP theoretical arrival usage (#94)
* Update README.md Update readme with better description of PySEP * remove hardcode phase list for getting TauP arrival times * change phase_list default value NoneType -> ('ttall',) to match ObsPy default which gets all phase arrivals * REMOVED function 'get_taup_arrival_w_sac_headers' which was merged into 'get_taup_arrivals' to avoid redundant code. 'get_taup_arrivals' now either takes a Stream or Inventory + Event object" * changed the keys of the phase dict outputted by TauP arrival getting to be more uniform, and better warning messages when phase arrivals can not be found for a station. arrival time fetching now finds earliest arriving P and S wave, rather than just the P or S arrival * removed 'model' from SAC header TauP arrival time labels because SAC cuts off the values for long phase names (ie pdiff_ak135 -> pdiff_ak), which seems more confusing than its worht * allowed SAC header value 'a' to be earliest arriving phase regardless of P or S derived. P and S are still hardcoded later * removed s and p phase names from incident angle and takeoff angle names in SAC header because long phase names were cutting them off (8 char max), hardcoded to string that sorta looks like the words' * BUGFIX: SAC header incident angle was being incorrectly set to takeoff angle value, causing no takeoff angle name and incorrect incidient angle name to be attributed * added 'earliest arrival' to SAC DICT for use in record section * RecSec now accepts phase arrival times as an acceptable time shift value to align on specific phases * add log message about how time shift is applied in RecSec * flip tshift value for phase arrivals to align rather than space out * fixed failing test for sac header
- Loading branch information
Showing
6 changed files
with
159 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.