Commit 61ad6a4a authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

fix problem in 'grond check --waveforms'

parent c4011c92
......@@ -1526,7 +1526,6 @@ def solve(problem,
xcandidates[icandidate, ipar] = v
x = select_most_excentric(
xcandidates,
xhist[chains_i[jchoice, :], :],
......@@ -1908,6 +1907,7 @@ def check(
freqlimits[3] = 0.5/deltat
freqlimits = tuple(freqlimits)
try:
trs_projected, trs_restituted, trs_raw = \
ds.get_waveform(
target.codes,
......@@ -1918,6 +1918,9 @@ def check(
deltat=deltat,
backazimuth=target.get_backazimuth_for_waveform(),
debug=True)
except dataset.NotFound, e:
logger.warn(str(e))
continue
trs_projected = copy.deepcopy(trs_projected)
trs_restituted = copy.deepcopy(trs_restituted)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment