-
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.
Fix various bugs and adds features to code (#60)
* renamed specfem station writing function, and added an ordering component * bumping version in setup and changing url and author * small mt typo change * added an example config that gathers a small amount of data for testing/dev purposes * added a new kwarg 'order_stations_list_by' which sets the order of the output stations list, related to #36 * bugfix typo parameter call * bugfix rotating was not actually rotating streams in place for arbitrary components ->ENZ * bugfix fixed rotation testing, which was not actually evaluating as expected. some confusion about editing streams and inventories in place which was not actually happening. Fixed and now rotate test works as expected * added 12Z test data for rotating 12Z -> ENZ which works now, added test to cover this case * moved 2012 central alaska IU gather script (which gathers 12Z component) into examples * bugfix pysep was not setting log level properly from the config file. now in the load() function, config log level is allowed to override logger level * changed config examples dir name to test, to be used as a test bed for checking specific data gathering features such as data gap removal * bugfix #57, reading event origin time from sac header was shifting times unexpectedly
- Loading branch information
Showing
11 changed files
with
2,131 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Testing IU Rotation Error - PySEP Issue #37 | ||
# IU.COLA raw stream returns 12Z which gets rotated appropriately | ||
event_tag: null | ||
config_file: null | ||
client: IRIS | ||
client_debug: false | ||
timeout: 600 | ||
taup_model: ak135 | ||
event_selection: default | ||
origin_time: '2012-04-11T09:21:57.444' | ||
seconds_before_event: 20 | ||
seconds_after_event: 20 | ||
event_latitude: 64.9222 | ||
event_longitude: -148.9461 | ||
event_depth_km: 160.00 | ||
event_magnitude: 3.8 | ||
networks: 'IU' | ||
stations: 'COLA' | ||
channels: 'BH?,HH?' | ||
locations: '*' | ||
reference_time: null | ||
seconds_before_ref: 100 | ||
seconds_after_ref: 600 | ||
phase_list: null | ||
mindistance: 0 | ||
maxdistance: 200.0 | ||
minazimuth: 0 | ||
maxazimuth: 360 | ||
minlatitude: null | ||
maxlatitude: null | ||
minlongitude: null | ||
maxlongitude: null | ||
demean: true | ||
detrend: true | ||
taper_percentage: 0 | ||
rotate: | ||
- ENZ | ||
- RTZ | ||
remove_response: true | ||
output_unit: VEL | ||
water_level: 60 | ||
pre_filt: default | ||
scale_factor: 1.0 | ||
resample_freq: 50 | ||
remove_clipped: false | ||
log_level: DEBUG |
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,47 @@ | ||
# Testing Data gap removal | ||
# FIB has data gaps, should be removed from final data retrieval | ||
event_tag: 2009-04-07T201255_SOUTHERN_ALASKA | ||
config_file: null | ||
client: IRIS | ||
client_debug: false | ||
timeout: 600 | ||
taup_model: ak135 | ||
event_selection: default | ||
origin_time: '2009-04-07T20:12:55.351000Z' | ||
seconds_before_event: 20 | ||
seconds_after_event: 20 | ||
event_latitude: 61.4542 | ||
event_longitude: -149.7428 | ||
event_depth_km: 33.033 | ||
event_magnitude: 4.6 | ||
networks: AK | ||
stations: 'FIB,SWD' | ||
channels: BH? | ||
locations: '*' | ||
reference_time: '2009-04-07T20:12:55.351000Z' | ||
seconds_before_ref: 100 | ||
seconds_after_ref: 300 | ||
phase_list: null | ||
mindistance: 0 | ||
maxdistance: 300.0 | ||
minazimuth: 0 | ||
maxazimuth: 360 | ||
minlatitude: null | ||
maxlatitude: null | ||
minlongitude: null | ||
maxlongitude: null | ||
demean: true | ||
detrend: true | ||
taper_percentage: 0 | ||
rotate: | ||
- ENZ | ||
- RTZ | ||
remove_response: true | ||
output_unit: VEL | ||
water_level: 60 | ||
pre_filt: default | ||
scale_factor: 1.0 | ||
resample_freq: 50 | ||
remove_clipped: false | ||
log_level: DEBUG | ||
|
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.