Commit Graph

253 Commits

Author SHA1 Message Date
ca56139922 [minor] corrected some coding mistakes, added some requirements 2021-08-12 09:42:18 +02:00
d236d3d80f Merge branch 'develop' into feature/port-to-py3 2021-08-11 15:16:19 +02:00
2dd48b4c62 [bugfix] picksdict was corrupted so that no manual picks could be loaded from .xml, fixes #20 2021-08-10 17:40:49 +02:00
Kaan Cökerim
ca140d3fe1 Tabel now checks if magnitude object has any entries before trying to write to event table 2021-07-28 10:14:09 +02:00
702b7f3fb1 [minor] removed total number of picks which seems to be buggy (and also not explained) 2021-07-20 14:09:57 +02:00
320cb42390 [bugfixes] some more bugfixes 2021-07-16 10:15:40 +02:00
cc1139d2ca [bugfix] some (py3) related fixes in rotate station and minMax plotting 2021-07-15 12:04:34 +02:00
aa73bb0ae8 [bugfix] WIP, creating new issue: Could not save project after initializing Event table; PySide2.QTableWidgetItem cannot be pickled! 2021-07-09 15:31:12 +02:00
de11c3b611 [bugfix] added dummy argument for QAction trigger signal
fixes #14
2021-07-09 12:16:32 +02:00
819ea8bf00 [bugfix] Parameter window opening when loading events 2021-07-09 12:09:25 +02:00
Kaan Cökerim
bd9c1d0f73 Some Minor Fixes 2021-07-09 10:06:28 +02:00
8b03aab381 [Bugfix] Take into account if only local or moment magnitude has been
derived to write event list properly.
2021-07-05 11:29:44 +02:00
Kaan Cökerim
b4e72eafe7 Fixed another QtGui issue 2021-06-17 16:35:47 +02:00
Kaan Cökerim
f502ac0a00 Array map is now setting up, though it does not display the map correctly. Issue with plotting axes or show command? 2021-05-26 14:08:02 +02:00
Kaan Cökerim
978bf42a3e Paramter window works again. TODO: find line that sets PyLot.get_Parameters(show=FALSE). At the moment it is hard coded to be always shown 2021-05-09 14:46:13 +02:00
Kaan Cökerim
4451209907 GUI starts and most menus work. Some variables apperently got lost within various branches 2021-04-23 12:00:04 +02:00
Kaan Cökerim
ded46d45cc GUI starts successfully. Changed imports tu work with pyside2 2021-04-04 12:21:27 +02:00
c9bd0a147c Preparation of implementing pick-quality button. 2021-04-01 11:01:06 +02:00
07e7ef3efa [revision] cleaned up unclean code: tabs -> spaces 2021-03-30 16:39:44 +02:00
f11ffc67ff Merge branch 'develop' of https://git.geophysik.ruhr-uni-bochum.de/marcel/pylot into develop 2021-03-29 16:10:08 +02:00
217fa330c1 Fixed eventlist not working after locating twice
Changed exception when less then 2 horizontals are found to warning
2021-03-29 16:05:50 +02:00
bfec58cc24 [bugfix] entering if when len(mag) == 1 2021-02-01 16:03:23 +01:00
172786dc6d [Bugfix] Remove elements of shrinking list! 2021-01-14 14:04:50 +01:00
a9784d33e5 If events have been removed, project-event list is updated
automatically.
2021-01-14 10:13:51 +01:00
f40d22af33 FOCMEC needs suffix *.in for input file. 2020-10-15 10:02:02 +02:00
16f6e2d1fd [Bugfix] localmag and momentmag referenced before assignment. 2020-10-07 10:37:41 +02:00
5351043493 Local and moment magntiude occur on event list. 2020-09-28 15:11:23 +02:00
dccbaa357a Check if data directory exists to avoid program abortion. 2020-09-22 10:30:48 +02:00
f93499da7d For unknown reasons sometimes station and network information are not
avaialble, avoid program failure.
2020-09-16 16:16:53 +02:00
da360990f6 [Bugfix]: Capture error ocurring when writing output files without event
location.
2020-07-30 13:55:56 +02:00
e083e75d73 Make sure to load autoPyLoT-event information from xml file. 2020-07-30 13:27:38 +02:00
df6a6c1c71 Added output for hypoDD. 2020-07-28 13:08:25 +02:00
1f6a44eeef [Bugfix]: elif statement was not working. 2020-07-27 16:55:19 +02:00
c7d8569105 Enabled writing for FOCMEC output. 2020-07-23 16:51:05 +02:00
dad383b197 [revert] reverted accidental changes to file PyLoT.py 2020-07-16 12:35:18 +02:00
707c596672 [Bugfix]: No scaling if 0.0! 2020-07-08 15:32:16 +02:00
075beb2db3 [Bugfix]: network magnitude has never been scaled! 2020-07-08 15:20:03 +02:00
9486d7aced [changed] major change in QSettings behavior when saving channel order (alternative naming (ZNE -> 123)), RESET OF QSETTINGS MIGHT BE NECESSARY (PyLoT.py --reset_qsettings) 2020-06-16 15:06:51 +02:00
fb6ba83cc5 [new] added --reset_qsettings option to PyLoT in case of corrupted QSettings 2020-06-16 11:09:50 +02:00
7187cb337b [various] fixes on array_map 2020-06-08 14:23:05 +02:00
6ad187b7fa [update] added missing function for refactor commit 2020-01-14 14:03:13 +01:00
78eca1b222 [update] some smaller changes in GUI and array_map 2020-01-14 13:57:12 +01:00
fa4423f65d [bugfix] transform to float for different python library versions 2019-12-17 16:54:07 +01:00
29440deb6f [new] set cuttimes for waveforms in properties tab to speedup reading and visualization
[improvements] only re-read/re-plot if needed after changing properties
2019-12-17 16:24:32 +01:00
3a1c907043 [add] delete all autopicks button in GUI
[bugfix] small bugfix in case of problems with Stream String representation
2019-12-17 13:50:54 +01:00
Ludger Küperkoch
98e429d8fd Update moment magnitudes before calculating network magnitude. 2019-10-28 16:51:04 +01:00
8b741c9102 [bugfix] old parameter default values, especially min/max values remained from older pylot projects 2019-10-28 16:33:19 +01:00
Ludger Küperkoch
0ef2afa775 Update of event object for moment magntiude was missing. 2019-10-25 16:20:48 +02:00
Ludger Küperkoch
dd05d46be7 Added calulation of network moment magnitude, additional screen output of moment magnitude. 2019-10-25 16:16:07 +02:00
e6a326d437 [bugfixes] on GUI driven earthquake location/magnitude calculation 2019-10-24 10:12:00 +02:00
18aa67e5ba [update] some bugfixes relating array_maps, removed some unneccessary files 2019-10-23 11:34:50 +02:00
Ludger Küperkoch
e94129ec36 If several locations done, use the most recent one. 2019-09-13 12:29:42 +02:00
Ludger Küperkoch
813a2c989e Some cosmetics. 2019-09-11 12:22:11 +02:00
Ludger Küperkoch
f21973c7b6 Restitute and calculate magnitudes only on picked traces. 2019-09-11 12:13:53 +02:00
Ludger Küperkoch
2ecd7b1ec5 Removed deactivated code. 2019-09-11 11:30:39 +02:00
Ludger Küperkoch
929ddb0ab2 Activated magnitude calculation, removed typo (WAscaling), still buggy in applyEvent! 2019-09-09 16:23:34 +02:00
b39489b253 [update] increased flexibility of ArrayMap class 2019-09-05 17:19:40 +02:00
34ca64ee17 [bugfix] old picks were not properly erased before loeading new picks 2019-08-23 11:30:16 +02:00
15882ed27e Merge branch 'feature/metadata_clean_inventory' into develop 2019-08-12 16:39:12 +02:00
9764e12b19 [new] save event table as .csv file 2019-07-01 17:24:06 +02:00
2d775fa1b9 [rename] real_Bool/real_None -> get_Bool/get_None 2019-06-24 15:05:04 +02:00
fe73d2e054 [minor] make safety copy of existing deleted picks file before overwriting 2019-06-24 15:05:02 +02:00
61b514fae1 [bugfix] on deleted picks 2019-06-18 11:35:43 +02:00
Ludger Küperkoch
025822c485 On the way to stable magnitude determination, still buggy! 2019-06-14 12:35:56 +02:00
Ludger Küperkoch
bb313f0f49 Re-implemented magnitude calculation within manual picking/location, yet on-going work 2019-06-04 12:29:53 +02:00
102b7eafe3 [new] log deleted picks in json file 2019-05-29 15:59:05 +02:00
3ccf826f25 [new] FileExtensionDialog for load-picks (e.g. _correlatex.xml) 2019-05-29 10:37:16 +02:00
77eec8e94c [bugfix] some small fixes regarding plotting and reading notes.txt 2019-05-28 11:23:47 +02:00
Sally
8270bd4974 [change] delete old obspy dmt database files, current files unselectable
The metadata files that come from the obspy dmt database are saved in a list. When a new event is opened, the obspy dmt metadata files from the old event are deleted from the inventory (and the new ones are added). 
The metadata files from the obspy dmt database are now unselectable in the MetadataWidget. 
The clear inventory function is called when saving the project (otherwise the obspy dmt metadata gets saved and becomes editable). The update_obspy_dmt function is called after the save to get the obspy_dmt_metadata back to continue working after the save.
2019-05-17 11:20:12 +02:00
98e9e786af [new] gain control for main plot window (hotkeys: +, - [amplified with Ctrl] and R [reset]) 2019-04-12 10:35:16 +02:00
6b9231abd3 [merge] feature/refactor into develop 2019-04-12 10:31:29 +02:00
Darius Arnold
49f7ba3eab Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2019-04-09 20:41:08 +02:00
912347beda [change] colormap can be adjusted in array_map 2019-04-05 10:23:10 +02:00
6d4610983d [minor] exclude folder "EVENTS-INFO" from possible event folders in dmt_structure 2019-04-03 15:08:36 +02:00
Darius Arnold
af43d247c6 Bugfix #270: Create path for Symmetric picking error so it can be drawn
The function shape() will generate the missing path without side effects.
2019-03-22 10:42:16 +01:00
ea07823a61 [change] imported pick/location data now completely overwrites current
data instead of "weirdly" merging everything
2019-03-12 15:19:23 +01:00
Sally
15d294626f Filter von Übersicht auf einzelne Stationen übertragen
Vorher: Wenn man in der Übersicht einen Filter anwendet (P oder S) und dann eine Station öffnet ist dort immer der P-Filter aktiv.
Jetzt: Wenn man die Übersicht filtert und dann eine Station öffnet, wird derselbe Filter angewendet wie in der Übersicht. 
Disclaimer: Gibt vermutlich eine elegantere Lösung.
2019-03-12 11:44:47 +01:00
Sally
2e2924efa1 Update for changed button name 2019-03-12 11:44:47 +01:00
d6381e80c1 [bugfix] cell changing did not set event/project dirty 2019-03-07 17:02:11 +01:00
a9d92e70ce [bugfix] stations not updated when changing event 2019-03-07 17:01:45 +01:00
49bcdd2680 [bugfix] time axis for plots created with linspace instead of arange
[minor] enhanced error output
2019-03-07 16:31:41 +01:00
7bf3bb6835 [minor] various small fixes 2019-03-07 16:31:41 +01:00
4dfcdb41ec [bugfix] missing split for event dirty flag (*) in event_table 2019-02-28 16:39:53 +01:00
16b469ff67 [bugfix] information about deleted picks was not transferred to the
current event, thus not saved
2019-02-28 16:20:21 +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
3abeabc75c [bugfix] File wasn't closed explicitly, add implicit close by with statement 2018-11-30 11:20:47 +01:00
Darius Arnold
6afb61b666 [change] order to Day/Month/Year when reading csv file for event info 2018-11-30 10:26:57 +01:00
Darius Arnold
815a18f2f3 [bugfix] error in check during loading of event info csv file
Original condition didn't check for eventID in event.origins.
2018-11-30 10:21:54 +01:00
739a6e89f4 [pycharm] optimized imports 2018-08-16 17:34:05 +02:00
c23bbfae8a [bugfix] enhanced emergency reset loop for corrupted QSettings 2018-08-16 16:22:35 +02:00
ce1564c2f8 [minor] improved convenience, small bugfix 2018-08-15 15:51:41 +02:00
8a187905cb [update] finalized recent projects
[minor] some small fixes, improvements
2018-08-15 15:39:43 +02:00
402248f340 [new] minor, add recently used projects (WIP) 2018-08-14 14:21:32 +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
Darius Arnold
a45e817213 Merge remote-tracking branch 'origin/develop' into feature/refactor 2018-08-03 11:55:13 +02:00
d9a4c40d0b [minor] hide pick qualities histogram action (not implemented yet) 2018-08-03 11:16:08 +02:00
e211a901ff [bugfix] could not init array map when loading project 2018-08-03 09:33:37 +02:00
d5e9cd07d4 [revert] went back to old quality assessment without SNR 2018-08-02 14:18:20 +02:00
529939b4b8 [minor] removed unused object 2018-08-02 13:32:45 +02:00