Skip to content
Snippets Groups Projects
Commit 5749997c authored by Maeva Pourpoint's avatar Maeva Pourpoint
Browse files

Stop overriding direction code

parent f8d61ebd
No related branches found
No related tags found
1 merge request!23Update code base to better handle location code
......@@ -188,12 +188,6 @@ class Parameters():
if not station:
station = 'STA'
old_channel = channel
if refchan == '1' and channel[-1] != 'Z':
channel = channel[:-1] + 'Z'
if refchan == '2' and channel[-1] != '1':
channel = channel[:-1] + str(1)
if refchan == '3' and channel[-1] != '2':
channel = channel[:-1] + str(2)
band_code = infer_band_code(float(samplerate), int(gain))
inst_code = infer_inst_code(int(gain))
# A correct channel name should be three character long:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment