[Bugfix] If too few onsets are available, no export of phases (except xml).

This commit is contained in:
Ludger Küperkoch 2017-06-27 09:57:00 +02:00
parent a8bfc3c68f
commit 4e735b3672

View File

@ -274,6 +274,7 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
else: else:
print("autoPyLoT: No NLLoc-location file available!") print("autoPyLoT: No NLLoc-location file available!")
print("No source parameter estimation possible!") print("No source parameter estimation possible!")
locflag = 9
else: else:
# get theoretical P-onset times from NLLoc-location file # get theoretical P-onset times from NLLoc-location file
locsearch = '%s/loc/%s.????????.??????.grid?.loc.hyp' % (nllocroot, nllocout) locsearch = '%s/loc/%s.????????.??????.grid?.loc.hyp' % (nllocroot, nllocout)