Read log files generated by users
Let the program reads file generated by rt2ms, logpeek, or itself.
Edited by Kien Le
Merge request reports
Activity
Filter activity
requested review from @ldam
assigned to @kienle
- Resolved by Lan Dam
added 66 commits
-
e816ffb6...dabab74e - 38 commits from branch
master
- dabab74e...bc690551 - 18 earlier commits
- 7748ee93 - Read mass position lines
- f12e7f27 - Read mass position lines
- 7c12ad7e - Plot masspos lines in log file
- 6c48ce64 - Remove unnecessary print
- bd12dbae - Close log file when iterator over it is exhausted
- 1e67eb88 - Fix bug with some log files
- 5f6209a5 - Documentation and type hint
- 87ba72e7 - Documentation and type hint
- 6d8a8bce - Documentation and type hint
- 374cd663 - flake8
Toggle commit list-
e816ffb6...dabab74e - 38 commits from branch
removed review request for @ldam
requested review from @ldam
removed review request for @ldam
added 45 commits
-
9f118401...9d9865ec - 14 commits from branch
master
- 9d9865ec...4bd354f8 - 21 earlier commits
- b4fe6d8d - Remove unnecessary print
- 7f370c5d - Close log file when iterator over it is exhausted
- 60c896df - Fix bug with some log files
- 4f46f8dc - Documentation and type hint
- ffc57c26 - Documentation and type hint
- 7b116b0e - Documentation and type hint
- fe95ced0 - flake8
- 488c49d0 - Fix type hint
- 47ae466b - Refactored mass-position log processing
- 08aaa8f0 - Typo
Toggle commit list-
9f118401...9d9865ec - 14 commits from branch
requested review from @ldam
- Resolved by Lan Dam
1 from pathlib import Path 2 from typing import List, Literal, Optional, Dict, Callable, Tuple 3 4 import numpy as np 5 from obspy import UTCDateTime 6 7 LogFileFormat = Literal['rt2ms', 'logpeek', 'sohstationviewer'] 8 # These packets can be found in section 4 of the RT130 record documentation. 9 RT130_PACKETS = ['SH', 'SC', 'OM', 'DS', 'AD', 'CD', 'FD', 'EH', 'ET'] 10 SeparatedPacketLines = Tuple[List[str], List[str], List[str]] Add comment describe the format of this variable as what you described for it in the function's docstring, "the lists of event lines, SOH lines, and mass-position lines in packet"
Edited by Lan Dam
- Resolved by Lan Dam
- Resolved by Lan Dam
- Resolved by Lan Dam
added 2 commits
added 42 commits
-
0c069082...f4b9d7aa - 8 commits from branch
master
- f4b9d7aa...c7ecdf69 - 24 earlier commits
- a9a5eb9e - Documentation and type hint
- bfc3b616 - Documentation and type hint
- 11d1200c - Documentation and type hint
- b182a50f - flake8
- 64ced8e7 - Fix type hint
- b99f9f9d - Refactored mass-position log processing
- d0557281 - Typo
- 2456e220 - Fix not all masspos chans being read
- 27f308f3 - Documentation
- de01a60e - Documentation
Toggle commit list-
0c069082...f4b9d7aa - 8 commits from branch