Debuged: Checks additionally for component 3 if component Z not available.

This commit is contained in:
Ludger Küperkoch 2015-11-11 14:10:44 +01:00
parent 7ed1ad2983
commit cd26d85f7c

View File

@ -867,6 +867,8 @@ def checkZ4S(X, pick, zfac, checkwin, iplot):
# split components # split components
zdat = X.select(component="Z") zdat = X.select(component="Z")
if len(zdat) == 0: # check for other components
zdat = X.select(component="3")
edat = X.select(component="E") edat = X.select(component="E")
if len(edat) == 0: # check for other components if len(edat) == 0: # check for other components
edat = X.select(component="2") edat = X.select(component="2")