Darius Arnold
6d26338f2e
Decrease indentation in pick_s_phase
...
Instead of checking if(condition){DoSomething()}; check if (!condition){ErrorOut()}; DoSomething();.
This allows to decrease the indentation of the potentially large codeblock DoSomething().
2018-07-17 13:56:25 +02:00
Darius Arnold
02873938cb
[change] minSlope value decreased due to difference in slope calculation
2018-07-17 11:37:29 +02:00
Darius Arnold
d84be68694
[add] tests for file where metadata has changed due to changed instruments
2018-07-17 11:18:07 +02:00
Darius Arnold
787c46eeaf
[add] tests for file where metadata is available at multiple time intervals
2018-07-17 11:17:23 +02:00
Darius Arnold
da29b286f1
[add] tests for read_single_file
2018-07-17 10:56:53 +02:00
Darius Arnold
7734650d2e
Move the metadata files used ofr testing into own folder
2018-07-17 10:34:42 +02:00
Darius Arnold
f5c1fea159
[Change] use HidePrints to clean output of test results
2018-07-13 23:25:11 +02:00
Darius Arnold
6ae5a213d1
[update] Metadata docstrings improved
2018-07-13 23:10:47 +02:00
Darius Arnold
10aa0360bc
[Add] Utility class to hide prints during testing
...
Provides with HidePrints context manager and @HidePrints.hide decorator
2018-07-13 21:33:45 +02:00
Darius Arnold
c308415aa5
Move test_autopickstation to subdirectory in pylot/tests
2018-07-13 09:45:57 +02:00
Darius Arnold
2c92f6f2fd
Merge branch 'develop' into feature/refactor
2018-07-13 09:28:50 +02:00
3b52b7a28f
[bugfix] fixed some bugs resulting from restructuring of serial/parallel picking
2018-07-12 15:56:34 +02:00
9f1672d793
[hotfix] something went wrong trying to merge/rebase develop
2018-07-12 14:17:06 +02:00
319343499b
[bugfix] parallel picking called accidently
2018-07-12 14:14:22 +02:00
d360d9db92
[bugfix] raise Exception if no Z-component is found for Magnitude calculation
2018-07-12 14:13:34 +02:00
9a5624c951
[change] return values of autopickstation
2018-07-12 14:13:19 +02:00
1d215c181c
[update] time optional for get_metadata/get_coordinates, if not time is specified use current UTCDateTime
2018-07-12 11:43:15 +02:00
84ed0b900f
[update] unit test for Metadata class
2018-07-12 11:28:43 +02:00
1d571a0046
[add] Metadata class now requires time for get_metadata and get_coordinates as well
2018-07-12 11:27:20 +02:00
3bd5243f2a
[minor] typo
2018-07-12 10:04:35 +02:00
6b28b9c9c6
Merge remote-tracking branch 'origin/feature/metadata_class' into feature/metadata_class
2018-07-12 09:47:40 +02:00
704a45f845
[minor] changes/testing threshfactor
2018-07-12 09:46:53 +02:00
Darius Arnold
869ede96a9
Rewrite check4rotated function to work with new Metadata class
2018-07-12 09:46:52 +02:00
6c162fc94a
[new] first use of Metadata class in autoPyLoT, largely increasing read performance using obspyDMT (single DATALESS-Seed files)
2018-07-12 09:42:35 +02:00
27ea20fa47
[bugfix] NLLoc: take nlloc bin explicitly from PylotParameter and not (randomly) from default pylot.in file!!
2018-07-12 09:40:57 +02:00
c376364206
Merge branch 'develop' into feature/metadata_class
2018-07-11 14:02:53 +02:00
c3e8b2c03d
/metadata_class: Auto stash before merge of "feature/metadata_class" and "develop"
2018-07-11 14:01:47 +02:00
afade77922
Merge branch 'develop' into feature/metadata_class
2018-07-11 09:48:28 +02:00
0cec2c81d3
Merge remote-tracking branch 'origin/develop' into develop
2018-07-11 09:42:43 +02:00
a0fcf03c1e
[update] add try/except to autopickstation call
2018-07-11 09:42:28 +02:00
91959367d4
[minor] set DATASTRUCTURE correctly
2018-07-11 09:41:58 +02:00
Darius Arnold
82ac08157c
[bugfix] azimuth <45° was misattributed as E instead of N trace in check4rotated
2018-07-10 21:41:07 +02:00
Darius Arnold
0dc4d64826
Rewrite check4rotated function to work with new Metadata class
2018-07-10 20:22:25 +02:00
Darius Arnold
51f2ded063
[add] basic unittests for Metadata class
2018-07-10 17:07:46 +02:00
b870b5378a
[bugfix] setting Datastructure to obspydmt or None caused crash and corrupted QSettings
2018-07-10 14:20:31 +02:00
5f6f986e3e
[update] removed read of pylot.in on start!!! Now using default params
...
from now on all input files should be saved in directory different to ~/.pylot
2018-07-10 14:16:36 +02:00
8d3bd88be9
[minor] gitignore update
2018-07-10 13:54:49 +02:00
e7284cba41
[bugfix] dictionary containing params not initiated in __init__
2018-07-10 13:36:52 +02:00
6ab2609e8c
[bugfix] default filename given for nlloc in default_parameters
2018-07-10 13:35:24 +02:00
47b045ad35
Merge branch 'develop' into feature/metadata_class
2018-07-10 11:49:48 +02:00
1de1dc71f8
[bugfix] reinstated ludgers changes, added bugfix for GUI
2018-07-10 11:47:45 +02:00
f6688b3a28
Merge branch 'develop' into feature/metadata_class
2018-07-10 11:38:10 +02:00
77dd0d4733
Merge branch 'develop' of ariadne:/data/git/pylot into develop
2018-07-10 11:36:31 +02:00
3bc3d07793
[new] first use of Metadata class in autoPyLoT, largely increasing read performance using obspyDMT (single DATALESS-Seed files)
2018-07-10 11:35:13 +02:00
c46513a626
[bugfix] full_range called for each station when drawing picks, largely decreasing plot performance
2018-07-10 11:13:41 +02:00
b4516fb2cb
[update] save automatic picks calculated inside GUI in XML files as well
2018-07-10 11:01:34 +02:00
9c119819a6
[bugfix] self.inventory_files initiated too late
2018-07-09 14:14:59 +02:00
0474e5fbe9
[minor] add progressbar to autopick widget
2018-07-09 13:32:44 +02:00
ccec76b8a1
[revert] iplot = iplot for wadati/jackknife not showing plots anymore in GUI
...
Note: Are not Wadati and Jackknife figures meant to be shown always? Independent of iplot flag?
2018-07-09 11:06:19 +02:00
Darius Arnold
1ff50c000e
Decrease indentation by returning from error condition
2018-07-06 16:17:07 +02:00