Skip to content
Snippets Groups Projects

Read log files generated by users

Merged Kien Le requested to merge feature-#94-read_log_files into master

Let the program reads file generated by rt2ms, logpeek, or itself.

#94 (closed)

Edited by Kien Le

Merge request reports

Pipeline #3089 passed

Pipeline passed for cbd85ce4 on feature-#94-read_log_files

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Kien Le added 66 commits

    added 66 commits

    Compare with previous version

  • Kien Le removed review request for @ldam

    removed review request for @ldam

  • Kien Le requested review from @ldam

    requested review from @ldam

  • Kien Le added 1 commit

    added 1 commit

    Compare with previous version

  • Kien Le removed review request for @ldam

    removed review request for @ldam

  • Kien Le added 45 commits

    added 45 commits

    Compare with previous version

  • Kien Le requested review from @ldam

    requested review from @ldam

  • Lan Dam
  • Lan Dam
    Lan Dam @ldam started a thread on the diff
  • 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]]
    • Maintainer

      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
    • Please register or sign in to reply
  • Lan Dam
  • Lan Dam
  • Lan Dam
  • Kien Le added 2 commits

    added 2 commits

    Compare with previous version

  • Lan Dam approved this merge request

    approved this merge request

  • Kien Le added 42 commits

    added 42 commits

    Compare with previous version

  • Kien Le added 1 commit

    added 1 commit

    Compare with previous version

  • Kien Le added 1 commit

    added 1 commit

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading