Export for VELEST-cnv format.
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 7.1 KiB |
BIN
icons/delete.png
Before Width: | Height: | Size: 5.0 KiB |
BIN
icons/filter.png
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 6.5 KiB |
BIN
icons/pylot.ico
Before Width: | Height: | Size: 2.2 KiB |
BIN
icons/pylot.png
Before Width: | Height: | Size: 22 KiB |
BIN
icons/sync.png
Before Width: | Height: | Size: 4.2 KiB |
BIN
icons/zoom_0.png
Before Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 6.9 KiB |
@ -187,7 +187,7 @@ class Data(object):
|
||||
self.get_evt_data().write(fnout + fnext, format=evtformat)
|
||||
|
||||
# try exporting event via ObsPy
|
||||
elif fnext == '.obs':
|
||||
else:
|
||||
# check for stations picked automatically as well as manually
|
||||
# Prefer manual picks!
|
||||
evtdata_copy = self.get_evt_data().copy()
|
||||
@ -202,8 +202,7 @@ class Data(object):
|
||||
evtdata_copy.picks[k].method_id == 'auto':
|
||||
del evtdata_copy.picks[k]
|
||||
break
|
||||
|
||||
|
||||
if fnext == '.obs':
|
||||
try:
|
||||
evtdata_copy.write(fnout + fnext, format=evtformat)
|
||||
# write header afterwards
|
||||
@ -219,6 +218,13 @@ class Data(object):
|
||||
except KeyError as e:
|
||||
raise KeyError('''{0} export format
|
||||
not implemented: {1}'''.format(evtformat, e))
|
||||
if fnext == '.cnv':
|
||||
try:
|
||||
evtdata_org.write(fnout + fnext, format=evtformat)
|
||||
except KeyError as e:
|
||||
raise KeyError('''{0} export format
|
||||
not implemented: {1}'''.format(evtformat, e))
|
||||
|
||||
|
||||
def getComp(self):
|
||||
"""
|
||||
|