-
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.
Update RecordSection data reading (#124)
* BUGFIX: in read_events_plus, read_specfem3d_cmtsolution_cartesian was returning an Event and not a catalog object. This was probably fine but not consistent with the other returns * new recsec.read_data function that replaces the old generate_synthetic_data function, contains logic for taking paths and return streams and can handle both obs and syn data as well as SAC formatted syn data (#122) bugfix: added a catch in recsec to kill the object if no stream data are found * API CHANGE: RecSec parameter 'cmtsolution' has been changed to 'source' for generality because the file does not need to be a cmtsolution, can be a forcesolution or source as well * small bugfixes to get synthetic stream reading working * adding Cartesian generated synthetics to test data and added new test data to make sure read_sem can handle these appropriately * removing some of the test data, only need a few traces * update API recsec cmtsolution -> source * update changelog
- Loading branch information
Showing
15 changed files
with
15,259 additions
and
229 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
PDE 1999 01 01 00 00 00.00 67000 67000 -25000 4.2 4.2 homog_test | ||
event name: homog_test | ||
time shift: 0.0000 | ||
half duration: 5.0 | ||
latorUTM: 67000.0 | ||
longorUTM: 67000.0 | ||
depth: 30.0 | ||
Mrr: -7.600000e+27 | ||
Mtt: 7.700000e+27 | ||
Mpp: -2.000000e+26 | ||
Mrt: -2.500000e+28 | ||
Mrp: 4.000000e+26 | ||
Mtp: -2.500000e+27 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
X20 DB 67000.00 22732.14 0.0 0.0 | ||
X30 DB 67000.00 34696.43 0.0 0.0 | ||
X40 DB 67000.00 46660.71 0.0 0.0 | ||
X50 DB 67000.00 58625.00 0.0 0.0 |
Oops, something went wrong.