diff --git a/phasenet/data_reader.py b/phasenet/data_reader.py index 9fe4cc2..cd8887f 100755 --- a/phasenet/data_reader.py +++ b/phasenet/data_reader.py @@ -412,7 +412,8 @@ def read_mseed_3c(self, fname, response=None, highpass_filter=0.0, sampling_rate # stream += obspy.read(fp) stream = obspy.read(file) trace = stream.merge(fill_value="latest")[0] - station_ids.append(trace.id[:-1]) + # station_ids.append(trace.id[:-1]) + station_ids.append(trace.id.rstrip("B")[:-1]) # Hardcode for station N.WJMF.EB ## interpolate to 100 Hz if abs(trace.stats.sampling_rate - sampling_rate) > 0.1: