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
3
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
44b2c105
Commit
44b2c105
authored
1 year ago
by
Lan Dam
Browse files
Options
Downloads
Patches
Plain Diff
change info in gps and file information to use list_of_of_dir
parent
4d4e3151
No related branches found
No related tags found
1 merge request
!122
allow to select multi folder to load
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sohstationviewer/view/file_information/get_file_information.py
+5
-2
5 additions, 2 deletions
...ationviewer/view/file_information/get_file_information.py
sohstationviewer/view/plotting/gps_plot/extract_gps_data.py
+1
-1
1 addition, 1 deletion
sohstationviewer/view/plotting/gps_plot/extract_gps_data.py
with
6 additions
and
3 deletions
sohstationviewer/view/file_information/get_file_information.py
+
5
−
2
View file @
44b2c105
...
...
@@ -28,8 +28,11 @@ def extract_data_set_info(data_obj: Union[DataTypeModel, RT130, MSeed],
"""
data_set_info
=
{}
sources_read
=
data_obj
.
dir
data_set_info
[
'
Sources Read
'
]
=
sources_read
.
name
folders
=
(
data_obj
.
list_of_rt130_paths
if
data_obj
.
list_of_dir
==
[
''
]
else
data_obj
.
list_of_dir
)
sources_read
=
'
,
'
.
join
([
dir
.
name
for
dir
in
folders
])
data_set_info
[
'
Sources Read
'
]
=
sources_read
data_type
=
data_obj
.
data_type
data_set_info
[
'
Data Type
'
]
=
data_type
...
...
This diff is collapsed.
Click to expand it.
sohstationviewer/view/plotting/gps_plot/extract_gps_data.py
+
1
−
1
View file @
44b2c105
...
...
@@ -434,7 +434,7 @@ def gps_data_rt130(data_obj: RT130) -> List[GPSPoint]:
@extract_gps_data.register
(
MSeed
)
def
gps_data_mseed
(
data_obj
:
MSeed
)
->
List
[
GPSPoint
]:
data_type
=
detect_data_type
(
[
data_obj
.
dir
]
)
data_type
=
detect_data_type
(
data_obj
.
list_of_
dir
)
if
data_type
==
'
Q330
'
:
return
extract_gps_data_q330
(
data_obj
)
elif
data_type
==
'
Centaur
'
or
data_type
==
'
Pegasus
'
:
...
...
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