Skip to content
Snippets Groups Projects
Commit 8fc72136 authored by geomag_user's avatar geomag_user
Browse files

Fixed unicode terminal input issue, prefer channel station over command line observatory

parent a0fe2157
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ class EdgeFactory(TimeseriesFactory):
representing gaps.
"""
stats = timeseries[0].stats
observatory = observatory or self.observatory or stats.station
observatory = observatory or stats.station or self.observatory
channels = channels or self.channels
type = type or self.type or stats.data_type
interval = interval or self.interval or stats.data_interval
......
......@@ -131,7 +131,7 @@ class RawInputClient():
the correct length. We only expect observatory to ever be of an
incorrect length.
"""
return network + observatory.ljust(5) + channel + location
return str(network + observatory.ljust(5) + channel + location)
def forceout(self):
""" force edge to recognize data
......
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