2047 Commits

Author SHA1 Message Date
Darius Arnold
f0e2fdb470 [bugfix]/[improvement] handle station id lacking location, related to #266
Unpack depending on length of station id after split, if something unexpected happens, initialise with default values.
This is related to https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/ticket/266. This should fix the missing station information in the title of the TuneAutopicker waveform plot.
2018-12-07 13:12:13 +01:00
Darius Arnold
f892225229 [bugfix] Strip star from event path when getting text from eventBox
See https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/ticket/264
2018-12-07 12:47:06 +01:00
Darius Arnold
2a22409145 Change "not a in b" to more readable "a not in b", add comments in Metadata class 2018-12-07 11:24:11 +01:00
Darius Arnold
45949afca6 [bugfix] #267 Remove stations from ArrayMap whose metadata files were removed
Fixes https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/ticket/267
2018-12-07 11:19:54 +01:00
Darius Arnold
f1690edf71 [Bugfix]: Fix stationlist in TuneAutopicker dialog, partial fix of #266
Remove the channel from the station id
2018-12-07 09:44:12 +01:00
Darius Arnold
6a0c1dda9d [Bugfix]: Fix plot title in TuneAutopicker, partial fix of #266
For some reason the network.station.location.channel string wasn't split.
2018-12-07 09:34:47 +01:00
Darius Arnold
718172dcd1 [minor] change axis label for comparison dialog 2018-11-30 09:50:14 +01:00
Darius Arnold
5e6d2e7211 [Bugfix] Merge traces treating overlaps as data instead of gaps
Could not open the Pickwindow on some stations. 
Gaps were merged so that overlapping values were marked as gaps, which lead to an error when those traces were processed. Method 1 takes data from traces instead, see https://docs.obspy.org/packages/autogen/obspy.core.trace.Trace.__add__.html
2018-11-30 09:42:22 +01:00
Ludger Küperkoch
dfe3f9b32a [Bugfix]: There might be no network nor location information available, strange! 2018-10-10 11:40:11 +02:00
Ludger Küperkoch
cf7fafbe62 Additional possible suffix for metadata file. 2018-10-10 11:17:58 +02:00
739a6e89f4 [pycharm] optimized imports 2018-08-16 17:34:05 +02:00
6546f8f196 [update] warn user in case of low SNR for manual pick 2018-08-16 16:14:48 +02:00
8a187905cb [update] finalized recent projects
[minor] some small fixes, improvements
2018-08-15 15:39:43 +02:00
Darius Arnold
6936cfcfa6 [bugfix] Taupy didn't check return of get_coordinates
For a station not in the metadata, get_coordinates would return None which wasn't checked for.
This includes a test for a station which is not in metadata.
2018-08-13 22:42:19 +02:00
Darius Arnold
96adbddeba [remove] unused parameter in create_arrivals
The station id is no longer passed into the function and used to retrieve the station coordinates, but the id is taken from the vertical stream instead.
2018-08-13 22:37:48 +02:00
Darius Arnold
dcd0bc40d7 [remove] old autopickstation code 2018-08-13 22:35:38 +02:00
a82a1cddc8 [minor] changed message for pick deletion 2018-08-13 17:44:24 +02:00
f22f7845cb [new] remove picks on map with middle-click
[bugfix] remove old annotations
2018-08-13 12:49:48 +02:00
26a4cc568a [new] perform jackknife on gradient of stations in array map and highlight them in case of high std 2018-08-13 11:24:48 +02:00
a0f9561bcf [new] hybrid selection for array_map (plot automatic and manual picks, prefer manuals) 2018-08-09 11:16:20 +02:00
Darius Arnold
b7d3568498 [bugfix] Taupy used even if disabled when p start time > 0
If Taupy was disabled, but pstart was larger than zero, the and would lead to the function that modifies starttimes not exiting. This resulted in taupy being used even though it was disabled when the p starttime was above 0.
2018-08-09 10:03:25 +02:00
Darius Arnold
45370e2c67 [bugfix] PickingResults raised incorrect error on missing attribute
Accessing a non existing attribute raised a KeyError instead of an AttributeError, breaking methods that relied on the correct error type. Maybe this fixes the __setstate__ bug during event picking from GUI.
2018-08-08 19:25:11 +02:00
Darius Arnold
146da1d794 [change] Quality class determination documentation improvement
Also change order of expected/actual values in test assert methods to improve output of test function.
The first parameter is supposed to be the expected value, the second one the actual result.
2018-08-07 13:58:59 +02:00
677d3a200c [bugfix] return statement disappeared on merge in a45e81721366463d73c142b255f6ba7cb582bb08 2018-08-07 10:33:57 +02:00
e46c0fb862 [minor] typos 2018-08-07 10:06:39 +02:00
a2af6b44f3 [bugfix] regard location ID in PyLoT! (WIP) 2018-08-06 16:03:54 +02:00
34891d3dc1 [minor] added verbosity flag for Metadata to reduce output in GUI 2018-08-06 09:19:30 +02:00
a85b79e432 [change] try to merge streams instead of deleting them when they have gaps 2018-08-06 09:02:05 +02:00
5f2848d584 [bugfix] do not read the same files multiple times for each channel 2018-08-03 14:03:27 +02:00
Darius Arnold
0c4085ed76 [bugfix] station name was in dictionary instead of a list item for autopickstations return value
Old implementation of autopickstation returned a list containing a dcitionary with results as a first value and a string with the station name as a second value. The new version used to return a single dict with a key/value station name pair, which the calling code could not unpack. The new implementation now also returns a list with picking results and station name.
2018-08-03 13:50:14 +02:00
Darius Arnold
2b9cf655ae [change] autopickstation works with new Metadata class 2018-08-03 13:47:46 +02:00
Darius Arnold
a45e817213 Merge remote-tracking branch 'origin/develop' into feature/refactor 2018-08-03 11:55:13 +02:00
e75beff883 [minor] cosmetics on dataPlot bottom layout 2018-08-03 11:16:56 +02:00
Darius Arnold
b9cf219b39 Adding/modifying documentation in autopick.py 2018-08-03 11:05:42 +02:00
Darius Arnold
8dcea2a8c3 [change] PickingResults now only stores actual results, PickingContainer stores intermediary values
PickingResults now stores only the actual results of picking, which are returned from the autopickstation function. 
To store intermediary results during picking, the new class PickingContainer is used.
2018-08-03 10:59:10 +02:00
393413d6fc [bugfix] closes #215 2018-08-02 15:42:34 +02:00
7dae8e1107 [bugfix] not regarding possible * in eventpath in eventbox 2018-08-02 13:00:36 +02:00
017683806b [new] if QSettings fails, ask to reset!
[bugfix] checkBoxPG outdated in QSettings
[bugfix] moved SetChannelComponents to utils (produced circular imports)
2018-08-01 13:49:01 +02:00
c898f93293 [new] idea for new quality check using SNR 2018-08-01 13:25:27 +02:00
93bdaa8998 [bugfix] forgot to split * in getFromPath 2018-07-31 10:22:45 +02:00
e68b634f25 [new] event modification status saved with "dirty" attribute, only save event-XML when modified 2018-07-31 09:41:48 +02:00
cc9ae9c146 [bugfix] empty picks dictionary leading to KeyError 2018-07-31 09:24:43 +02:00
Darius Arnold
7bbcb489bf [refactor] add current_figure attribute
This instance attribute holds the current figure,which removes the need for an external function to extract the correct figure from the fig_dict and the need to pass the figure into instance methods (it can now be directly accessed by the attribute).
2018-07-30 14:28:21 +02:00
Darius Arnold
97458b5b42 [minor] small code changes 2018-07-30 14:08:49 +02:00
Darius Arnold
b4316ae717 [refactor] improving S pick code by extracting functions 2018-07-30 13:36:09 +02:00
Darius Arnold
c89e47ac43 [change] Extract function that calculates cuttimes 2018-07-30 12:43:56 +02:00
Darius Arnold
da2b1ed133 [change] Enable picking on traces with only one vertical component
Only the P pick will be calculated
2018-07-30 12:03:33 +02:00
db9a1371b1 [bugfix] closes #223 2018-07-25 15:16:14 +02:00
bf5c371459 [bugfix] various bugfixes originating from changes (more picks) in dictionary (refs #233 refs #234) 2018-07-25 14:05:15 +02:00
bfc745dd30 Merge branch 'develop'
Conflicts:
	pylot/core/pick/autopick.py
2018-07-25 10:53:08 +02:00