diff --git a/sohstationviewer/model/mseed_data/mseed_reader.py b/sohstationviewer/model/mseed_data/mseed_reader.py index 8a52a35007ea45b1bd123788532b24843f84cd10..75d0fcb42bf3e284cd547f61613aaea5f91271f5 100644 --- a/sohstationviewer/model/mseed_data/mseed_reader.py +++ b/sohstationviewer/model/mseed_data/mseed_reader.py @@ -51,7 +51,7 @@ class MSeedReader: waveform_data: Dict = {}, log_data: LogData = {}, gap_minimum: Optional[float] = None, - channels_db_info: Dict = None, + channels_db_info: Dict = {}, data_type: str = None, ) -> None: """ @@ -356,7 +356,8 @@ class MSeedReader: data_points = None times = None else: - data_points = list(record.get_two_data_points()) + data_points = (record.get_two_data_points()) + print(record.__dict__) times = [record.record_metadata.start_time, record.record_metadata.end_time] self.append_data(data_dict, record, data_points, times)