Commit Graph

181 Commits

Author SHA1 Message Date
c7e4cd0c8b [bugfix] savepath might be None as well! 2017-08-15 14:16:34 +02:00
Ludger Küperkoch
4a2d118191 [Bugfix] savepath might be 'None', not None. 2017-08-15 10:17:08 +02:00
3cd64d09de [add] parameter savexml added to autoPyLoT 2017-08-14 13:30:27 +02:00
874fdd730a [add] check for gaps and trim traces for one station
[change] restitute data only if necessary!
2017-08-10 16:25:32 +02:00
Ludger Küperkoch
de5392ac33 Some more cosmetics. 2017-08-09 12:25:21 +02:00
Ludger Küperkoch
9662827273 Cosmetics 2017-08-09 12:14:24 +02:00
Ludger Küperkoch
811f52c95c Enabled plotting of figures when called from terminal. 2017-08-08 16:38:29 +02:00
17a93cf62f [add] for global seismology CF pick windows will now be calculated
relative to estimated tt from TauPy, metadata and source location (in XML
file) needed
[TO DO]: automatic export of XML (esp. source loc) before autopicking
2017-08-07 11:21:20 +02:00
ddb1fb8b97 [add] multiple eventIDs possible as eventID pylot_parameter (testing needed) 2017-08-03 14:49:32 +02:00
154e7b459f [add] --ncores flag added to autoPyLoT call, also enabled in GUI widget 2017-08-03 11:49:15 +02:00
20b31a1c5c [reformat] code reformatting with PyCharm 2017-08-03 09:41:54 +02:00
dfa04f7b0a [add] change seperator for event initiation from system specific to '/' 2017-08-02 11:37:17 +02:00
d5645cf979 [bugfix] string transformation of None values 2017-08-02 11:02:24 +02:00
b084490f74 [bugfix] updated syntax to python 3 2017-07-31 15:52:09 +02:00
121ef4357f [WIP] using multiThread to call autopylot 2017-07-31 13:43:06 +02:00
547355fbdf [change] updated parameters of function call exportEvent in autoPyLoT 2017-07-17 13:44:38 +02:00
52f9e61c9f [bugfix] locflag was set active when initialized in tune mode without metadata 2017-07-17 13:40:35 +02:00
f57aa37d99 [change] changed some functions to work with Python 3 and Windows 2017-07-13 17:27:48 +02:00
ac25f9cacb [bugfix] set locflag = 2 if traces could not be corrected 2017-07-13 11:23:51 +02:00
Ludger Küperkoch
6e2861fe24 Cosmetics. 2017-07-12 08:59:43 +02:00
e3a4a2861d [bugfix/test] idea to fix problem with different ressource_id's on autoPyLoT 2017-07-10 17:37:54 +02:00
a90e0bd78b [change] data._new moved to applyEVTData 2017-06-27 10:49:11 +02:00
ab260e45f2 [add/bugfix] data._new = False after first picks application 2017-06-27 10:39:44 +02:00
Ludger Küperkoch
4e735b3672 [Bugfix] If too few onsets are available, no export of phases (except xml). 2017-06-27 09:57:00 +02:00
Ludger Küperkoch
a8bfc3c68f Parameter eventID uses wildcard (*) if all events of database supposed to be processed. 2017-06-27 09:44:38 +02:00
Ludger Küperkoch
a0633cafa4 Prevent export of phases when tuning picker. 2017-06-26 16:19:57 +02:00
Ludger Küperkoch
bec8604904 autoPyLoT appends manual picks to xml-file, and manualPyLoT appends automatic picks to xml-file. 2017-06-26 14:47:36 +02:00
Ludger Küperkoch
c9f0b126df Equal xml-file name for both automatic and manual picks, i.e. PyLoT_evID.xml. 2017-06-23 14:11:35 +02:00
Ludger Küperkoch
6ebad273a9 Improved screen output. 2017-06-23 10:10:45 +02:00
Ludger Küperkoch
33d81eb538 Bugfix: Wrong naming of module in previous commit: PyLoTParameter - PylotParameter. 2017-06-22 15:18:19 +02:00
Ludger Küperkoch
9f9d492b8b Restored former changes of Marcel (AutoPickParameter - PyLoTParameter). 2017-06-22 15:09:40 +02:00
Ludger Küperkoch
71876638c8 Flexible calculation of local magnitude including station magntiude scaling as well as network magnitude scaling.
auoPyLot-output-file names have prefix event ID.
2017-06-22 15:04:16 +02:00
8e8b3e0462 [rename] AutoPickPara ---> PylotPara 2017-06-22 11:22:17 +02:00
Ludger Küperkoch
9f164fc075 Still in progress: flexible local magnitude estimation. 2017-06-21 16:42:26 +02:00
Ludger Küperkoch
cf200e1425 Preparation of flexible local magnitude estimation, renamed module. 2017-06-21 15:41:12 +02:00
ab979e9b10 [bugfix] events not properly provided to autoPyLoT by TuneAutopicker, wrong parameter name in plotting routine 2017-06-20 14:32:21 +02:00
62a7d94816 [bugfix] expecting deprecated return parameter of autoPyLoT 2017-06-20 12:10:17 +02:00
Ludger Küperkoch
e2c1b8501e Exception for ValueError, if autoPyLoT has been started from terminal.
Raise SacIOError if obspy.read spuriously wants to read SAC data.
2017-06-02 11:09:32 +02:00
Ludger Küperkoch
2a054f75f5 autoPyLoT working properly now, incl. getting right event id and data path. 2017-05-19 14:25:24 +02:00
Ludger Küperkoch
092aeb4cec autoPyLoT button works nearly properly now. 2017-05-19 13:22:04 +02:00
Ludger Küperkoch
4767add68f Re-initialized autoPyLoT from GUI, new input parameter eventid to make sure processing the right event. Buggy! 2017-05-19 12:30:03 +02:00
77153bc8e9 Merge remote-tracking branch 'origin/develop' into develop 2017-05-18 13:22:13 +02:00
a8861dfdab [bugfix] multiprocessing problem fixed, caused by a general bug passing wrong argument [fig_dict] to AIC instead of [fig_dict[key]]; also iplot flag is correctly read from parameter file now 2017-05-18 13:16:53 +02:00
Ludger Küperkoch
72f5f160c2 Tried to fix bug when calling autoPyLoT from GUI, still not working ... 2017-05-18 11:58:12 +02:00
Ludger Küperkoch
45ff145616 Take into account, that input_dict is not available when calling from terminal. 2017-05-18 10:09:51 +02:00
cae5c961b0 some fixes calling autopylot (figures=None), added log for autoTuner 2017-05-15 17:21:22 +02:00
184983bc87 WIP: figure generating in threads partly working 2017-05-12 11:03:41 +02:00
f58d17be14 WIP restructuring fig_dict to be created inside Qt Main Thread 2017-05-11 17:15:20 +02:00
862fb3240a added parameters tab to TuneAutopicker widget. Enabled direct call of autoPyLoT with AP-Settings object 2017-05-10 15:46:08 +02:00
c784d46521 changed whole autoPyLoT figure structure to fig/ax structure to keep connections to figures in memory, iPlot now part of autoPyLoT function call parameters (not yet in argparser) 2017-05-08 15:38:41 +02:00
35705f1f1d Merge branch 'develop' 2017-04-07 13:58:07 +02:00
393289245f multiprocessing implemented for restitution and autopicker 2017-04-06 15:37:54 +02:00
c90b061de9 coppied files from Ludgers Laptop 2017-04-06 13:16:28 +02:00
Ludger Küperkoch
9122d8debf Marginal changes. 2017-04-05 14:26:38 +02:00
Ludger Küperkoch
94c1e85484 Implented GUI dialog to select directory for autoPyLoT output. 2017-04-05 11:38:43 +02:00
Ludger Küperkoch
ce341dc6e0 Removed temporary module import of pdb. 2017-03-22 12:03:27 +01:00
Ludger Küperkoch
15fd175813 Export of phases for VELEST, hypoDD and HASH only possible if event location is available. 2017-03-22 12:02:01 +01:00
Ludger Küperkoch
a01b6f6db5 Minor changes. 2017-03-21 17:53:15 +01:00
Ludger Küperkoch
181a87facb Additional export of phases for FOCMEC. 2017-03-16 11:27:48 +01:00
Ludger Küperkoch
47b41a1296 Flexibel for input-file naming now. 2017-03-15 14:17:02 +01:00
Ludger Küperkoch
2fc1c7031d Export of phases for focmec. Yet not finished. 2017-03-14 10:33:56 +01:00
Ludger Küperkoch
749e42b778 Implemented additional phase output formated for hypoDD. 2017-03-02 11:10:28 +01:00
Ludger Küperkoch
008d730609 Implemented output formated for further VELEST processing. 2017-03-02 09:19:42 +01:00
Ludger Küperkoch
7b22eb1620 Additional phase output formated for HYPOSAT, additional header information for HYPO71- and NLLoc-phase files. 2017-02-28 15:02:39 +01:00
Ludger Küperkoch
b69387e49f Replaced fixed plotting advice with iplot parameter. 2016-10-28 14:54:55 +02:00
34c1e80e78 [enhancement] make use of the new methods introduced in [900c7af931] 2016-09-29 11:55:08 +02:00
d68a1bcf0e [fix] some bugs found and fixed 2016-09-28 14:58:27 +02:00
5f92d1f0db [refactor] major refactoring of autoPyLoT and making use of the newly introduced Magnitude objects 2016-09-28 11:03:53 +02:00
eaa3c2e75d [change] do some major refactoring on Magnitude and subclasses to be more efficient and clean 2016-09-26 10:49:02 +02:00
b29c7068e3 [refs #137] some improvements in autoPyLoT and ongoing work in the QtPyLoT NLL implementation 2016-08-25 21:32:41 +02:00
e53dd99d75 [refs #137] implementation of GUI driven NonLinLoc location started 2016-08-25 13:31:51 +02:00
210d39882d further development on the reassessment routines for PILOT data 2016-05-03 08:46:13 +02:00
edd8920d54 WALL-E --- Small robot, big job! Restructuring the code and preparing implementation of a re-assessment tool for PILOT phases. 2016-05-01 21:10:30 +02:00
9359338e81 [refs #195] make autoPyLoT export automatic picks in QuakeML format 2016-04-11 13:59:32 +02:00
d7cfd0d176 WALL-E: Einmal aufräumen und zurück! 2016-03-30 08:14:58 +02:00
Ludger Küperkoch
2bb99a6f2e bugfix: Even if no location is possible, autoPyLoT can handle finalpicks. 2015-12-10 12:02:32 +01:00
Ludger Küperkoch
1312d06ccf Corrected for modified class MoMw, which needs additional parameter Qp. 2015-12-04 16:07:36 +01:00
Ludger Küperkoch
77ad274f8f Some bugs fixed, implemented calculation of network moment magnitude. 2015-12-03 14:55:07 +01:00
Ludger Küperkoch
c227b6499e Modified for extended class MoMw of object magntitude. MoMw returns pick dictionary containing individual corner frequencies, w0-values, seismic moments and moment magnitudes. 2015-12-02 10:15:05 +01:00
Ludger Küperkoch
c3d7581f94 Implemented modified class MoMw of object magnitude. 2015-12-01 15:39:28 +01:00
Ludger Küperkoch
2e8926ea5b Implemented new class M0Mw of object magnitude. 2015-11-30 16:37:28 +01:00
Ludger Küperkoch
43646e8e63 Marginal changes. 2015-11-24 14:23:18 +01:00
Ludger Küperkoch
7e76b30460 Marginal changes. 2015-11-24 13:37:11 +01:00
Ludger Küperkoch
e5bddab2be Finished iterative picking: If bad picks are found, autoPyLoT iteratively re-picks these traces with modified picking parameters at maximum three times, if the former runs still leave bad picks. 2015-11-23 16:38:52 +01:00
Ludger Küperkoch
8173e44b04 Matginal changes. 2015-11-20 16:02:54 +01:00
Ludger Küperkoch
734eca30db Implementation of new function iteratepicker of module autopick. 2015-11-20 15:49:34 +01:00
Ludger Küperkoch
8a84342883 Implementation of module /loc/nll finished, running for single and multiple event processing. 2015-11-18 10:27:42 +01:00
Ludger Küperkoch
19e60e5f0c Replaced writephases with new function picskExport from module nll. 2015-11-17 17:03:59 +01:00
Ludger Küperkoch
6177c6292c Cosmetics, focused on python-3 compatibility of print statements. 2015-11-12 17:21:04 +01:00
Ludger Küperkoch
dc088509d4 For multiple event processing eventID has to be derived out of event string. Uses module string. 2015-11-11 15:45:07 +01:00
Ludger Küperkoch
d74aeb237c Implemented phase writing in multiple event processing mode. 2015-11-05 08:51:50 +01:00
Ludger Küperkoch
686395defc Marginal changes 2015-11-05 08:49:44 +01:00
Ludger Küperkoch
f738160a8b Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop
Conflicts:
	autoPyLoT.py
2015-11-05 08:47:06 +01:00
Ludger Küperkoch
b8c26a6588 Implemented extended function writephases for writing phases to HYPO71-input phase file. 2015-11-04 16:52:39 +01:00
223902f2d4 reformatted the file to avoid usage of tabs and spaces and made a more pythonic splash message than multiple calls to print 2015-11-04 13:11:48 +01:00
Ludger Küperkoch
fc319f7162 Introduced option for running autoPyLoT without location routine, if parameter nllocbin in autoPyLoT.in is not set. 2015-10-28 09:13:13 +01:00
Ludger Küperkoch
43d243e0a1 Same for multiple event processing. 2015-10-27 16:53:11 +01:00
Ludger Küperkoch
6676484a61 Debuged: Avoids writing multiple LOCFILES-command lines if same event is processed several times. 2015-10-27 16:51:42 +01:00
Ludger Küperkoch
d5b3a7d40f Marginal changes. 2015-10-27 16:26:40 +01:00
Ludger Küperkoch
f8cbdf7ff0 Implemented location routine NLLoc. 2015-10-27 15:26:25 +01:00