Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop
This commit is contained in:
commit
17f94228ab
@ -1478,6 +1478,7 @@ class MainWindow(QMainWindow):
|
|||||||
self.locateEvent.setEnabled(True)
|
self.locateEvent.setEnabled(True)
|
||||||
if event.pylot_autopicks:
|
if event.pylot_autopicks:
|
||||||
self.drawPicks(picktype='auto')
|
self.drawPicks(picktype='auto')
|
||||||
|
if event.pylot_picks and event.pylot_autopicks:
|
||||||
self.compare_action.setEnabled(True)
|
self.compare_action.setEnabled(True)
|
||||||
self.draw()
|
self.draw()
|
||||||
|
|
||||||
|
@ -226,12 +226,10 @@ class Data(object):
|
|||||||
|
|
||||||
# try exporting event via ObsPy
|
# try exporting event via ObsPy
|
||||||
else:
|
else:
|
||||||
print(self.get_evt_data())
|
|
||||||
evtdata_org = self.get_evt_data()
|
evtdata_org = self.get_evt_data()
|
||||||
eventpath = evtdata_org.path
|
|
||||||
picks = evtdata_org.picks
|
picks = evtdata_org.picks
|
||||||
picks_copy = copy.deepcopy(picks)
|
picks_copy = copy.deepcopy(picks)
|
||||||
evtdata_copy = Event(eventpath)
|
evtdata_copy = Event(fnout)
|
||||||
evtdata_copy.picks = picks_copy
|
evtdata_copy.picks = picks_copy
|
||||||
|
|
||||||
# check for stations picked automatically as well as manually
|
# check for stations picked automatically as well as manually
|
||||||
|
@ -252,11 +252,7 @@ class PDFDictionary(object):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_quakeml(self, fn):
|
def from_quakeml(self, fn):
|
||||||
cat = read_events(fn)
|
return PDFDictionary(fn) # LK TODO: check if stations are available with both automatic and manual picks
|
||||||
if len(cat) > 1:
|
|
||||||
raise NotImplementedError('reading more than one event at the same '
|
|
||||||
'time is not implemented yet! Sorry!')
|
|
||||||
return PDFDictionary(picksdict_from_picks(cat[0])) # MP MP TODO: change function argument (auto/manu)
|
|
||||||
|
|
||||||
def get_all(self, phase):
|
def get_all(self, phase):
|
||||||
rlist = list()
|
rlist = list()
|
||||||
|
Loading…
Reference in New Issue
Block a user