Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SOHViewer
Manage
Activity
Members
Labels
Plan
Issues
11
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Public
PASSOFT
SOHViewer
Commits
33e12cb5
Commit
33e12cb5
authored
1 year ago
by
Kien Le
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused test code
parent
febb6a71
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sohstationviewer/model/reftek/reftek_data/core.py
+0
-10
0 additions, 10 deletions
sohstationviewer/model/reftek/reftek_data/core.py
sohstationviewer/model/reftek/reftek_data/header.py
+0
-8
0 additions, 8 deletions
sohstationviewer/model/reftek/reftek_data/header.py
with
0 additions
and
18 deletions
sohstationviewer/model/reftek/reftek_data/core.py
+
0
−
10
View file @
33e12cb5
...
...
@@ -251,13 +251,3 @@ class Reftek130(obspy_rt130_core.Reftek130):
# check if endtime of trace is consistent
st
+=
tr
return
st
data_path
=
'
/Users/kle/Documents/SOHView data/RT130/2017149.92EB
'
for
root
,
subdirs
,
files
in
os
.
walk
(
data_path
):
for
file_name
in
files
:
if
file_name
.
startswith
(
'
.
'
):
continue
file_path
=
os
.
path
.
join
(
root
,
file_name
)
a
=
(
Reftek130
.
from_file
(
file_path
).
_data
)
# sys.exit()
This diff is collapsed.
Click to expand it.
sohstationviewer/model/reftek/reftek_data/header.py
+
0
−
8
View file @
33e12cb5
...
...
@@ -83,11 +83,3 @@ def get_rt130_packet_header(rt130_packet: bytes) -> PacketHeader:
return
PacketHeader
(
packet_type
,
experiment_number
,
unit_id
,
packet_time
,
byte_count
,
packet_sequence
)
# waveform_file = '/Users/kle/PycharmProjects/sohstationviewer/tests/test_data/RT130-sample/2017149.92EB/2017150/92EB/1/000000015_0036EE80'
# soh_file = '/Users/kle/PycharmProjects/sohstationviewer/tests/test_data/RT130-sample/2017149.92EB/2017150/92EB/0/000000000_00000000'
# import time
# start = time.perf_counter()
# (Reftek130.from_file(waveform_file).to_stream())
# # print('Time taken:', time.perf_counter() - start)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment