|
|
|
@ -152,7 +152,8 @@ class Hyposat(Snuffling):
|
|
|
|
|
· Invoke snuffler with station meta data.
|
|
|
|
|
<br>
|
|
|
|
|
· Pick <i>P</i> and <i>S</i> phases and define them as
|
|
|
|
|
such by pressing <i>F1</i> and <i>F2</i>, respectively.
|
|
|
|
|
such by pressing <i>F1</i> and <i>F2</i>, respectively. All phases of one
|
|
|
|
|
station have to be picked on the same channel.
|
|
|
|
|
<br>
|
|
|
|
|
· Select markers you want to use in the inversion (e.g.: press
|
|
|
|
|
<i>a</i> to select all markers in the visible time range)
|
|
|
|
@ -324,14 +325,16 @@ class Hyposat(Snuffling):
|
|
|
|
|
env['HYPOSAT_DATA'] = self.hyposat_data_dir
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
p = Popen([pjoin(self._path, 'hyposat/bin/hyposat')], env=env, stdout=PIPE)
|
|
|
|
|
hyposat_path = pjoin(self._path, 'hyposat/bin/hyposat')
|
|
|
|
|
p = Popen([hyposat_path], env=env, stdout=PIPE)
|
|
|
|
|
print('Using hyposat executable located at: %s' % hyposat_path)
|
|
|
|
|
except OSError as e:
|
|
|
|
|
try:
|
|
|
|
|
# try included, compiled version:
|
|
|
|
|
abs_path = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
|
executable = pjoin(abs_path, 'hyposat', 'bin_l', 'hyposat')
|
|
|
|
|
print('abspath', executable)
|
|
|
|
|
p = Popen([executable], env=env, stdout=PIPE)
|
|
|
|
|
print('Using hyposat executable located at: %s' % executable)
|
|
|
|
|
except OSError as e:
|
|
|
|
|
import errno
|
|
|
|
|
if e.errno == errno.ENOENT:
|
|
|
|
|