Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop
This commit is contained in:
commit
290a623664
@ -241,8 +241,8 @@ def picks_from_picksdict(picks, creation_info=None):
|
|||||||
continue
|
continue
|
||||||
onset = phase['mpp']
|
onset = phase['mpp']
|
||||||
try:
|
try:
|
||||||
ccode = phase['channel']
|
ccode = phase['channel']
|
||||||
ncode = phase['network']
|
ncode = phase['network']
|
||||||
except:
|
except:
|
||||||
continue
|
continue
|
||||||
pick = ope.Pick()
|
pick = ope.Pick()
|
||||||
@ -900,34 +900,34 @@ def getQualitiesfromxml(xmlnames, ErrorsP, ErrorsS, plotflag=1):
|
|||||||
for Pick in arrivals_copy:
|
for Pick in arrivals_copy:
|
||||||
if Pick.phase_hint[0] == 'P':
|
if Pick.phase_hint[0] == 'P':
|
||||||
if Pick.time_errors.uncertainty <= ErrorsP[0]:
|
if Pick.time_errors.uncertainty <= ErrorsP[0]:
|
||||||
Pw0.append(Pick.time_errors.uncertainty)
|
Pw0.append(Pick.time_errors.uncertainty)
|
||||||
elif (Pick.time_errors.uncertainty > ErrorsP[0]) and \
|
elif (Pick.time_errors.uncertainty > ErrorsP[0]) and \
|
||||||
(Pick.time_errors.uncertainty <= ErrorsP[1]):
|
(Pick.time_errors.uncertainty <= ErrorsP[1]):
|
||||||
Pw1.append(Pick.time_errors.uncertainty)
|
Pw1.append(Pick.time_errors.uncertainty)
|
||||||
elif (Pick.time_errors.uncertainty > ErrorsP[1]) and \
|
elif (Pick.time_errors.uncertainty > ErrorsP[1]) and \
|
||||||
(Pick.time_errors.uncertainty <= ErrorsP[2]):
|
(Pick.time_errors.uncertainty <= ErrorsP[2]):
|
||||||
Pw2.append(Pick.time_errors.uncertainty)
|
Pw2.append(Pick.time_errors.uncertainty)
|
||||||
elif (Pick.time_errors.uncertainty > ErrorsP[2]) and \
|
elif (Pick.time_errors.uncertainty > ErrorsP[2]) and \
|
||||||
(Pick.time_errors.uncertainty <= ErrorsP[3]):
|
(Pick.time_errors.uncertainty <= ErrorsP[3]):
|
||||||
Pw3.append(Pick.time_errors.uncertainty)
|
Pw3.append(Pick.time_errors.uncertainty)
|
||||||
elif Pick.time_errors.uncertainty > ErrorsP[3]:
|
elif Pick.time_errors.uncertainty > ErrorsP[3]:
|
||||||
Pw4.append(Pick.time_errors.uncertainty)
|
Pw4.append(Pick.time_errors.uncertainty)
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
elif Pick.phase_hint[0] == 'S':
|
elif Pick.phase_hint[0] == 'S':
|
||||||
if Pick.time_errors.uncertainty <= ErrorsS[0]:
|
if Pick.time_errors.uncertainty <= ErrorsS[0]:
|
||||||
Sw0.append(Pick.time_errors.uncertainty)
|
Sw0.append(Pick.time_errors.uncertainty)
|
||||||
elif (Pick.time_errors.uncertainty > ErrorsS[0]) and \
|
elif (Pick.time_errors.uncertainty > ErrorsS[0]) and \
|
||||||
(Pick.time_errors.uncertainty <= ErrorsS[1]):
|
(Pick.time_errors.uncertainty <= ErrorsS[1]):
|
||||||
Sw1.append(Pick.time_errors.uncertainty)
|
Sw1.append(Pick.time_errors.uncertainty)
|
||||||
elif (Pick.time_errors.uncertainty > ErrorsS[1]) and \
|
elif (Pick.time_errors.uncertainty > ErrorsS[1]) and \
|
||||||
(Pick.time_errors.uncertainty <= ErrorsS[2]):
|
(Pick.time_errors.uncertainty <= ErrorsS[2]):
|
||||||
Sw2.append(Pick.time_errors.uncertainty)
|
Sw2.append(Pick.time_errors.uncertainty)
|
||||||
elif (Pick.time_errors.uncertainty > ErrorsS[2]) and \
|
elif (Pick.time_errors.uncertainty > ErrorsS[2]) and \
|
||||||
(Pick.time_errors.uncertainty <= ErrorsS[3]):
|
(Pick.time_errors.uncertainty <= ErrorsS[3]):
|
||||||
Sw3.append(Pick.time_errors.uncertainty)
|
Sw3.append(Pick.time_errors.uncertainty)
|
||||||
elif Pick.time_errors.uncertainty > ErrorsS[3]:
|
elif Pick.time_errors.uncertainty > ErrorsS[3]:
|
||||||
Sw4.append(Pick.time_errors.uncertainty)
|
Sw4.append(Pick.time_errors.uncertainty)
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user