Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Satnogs Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PARENT Aldric
Satnogs Client
Commits
0b8b7ec1
Commit
0b8b7ec1
authored
Oct 21, 2021
by
Fabian P. Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Move metadata in artifacts file from waterfall group to root
Signed-off-by:
Fabian P. Schmidt
<
kerel@mailbox.org
>
parent
537d804e
Branches
Branches containing commit
Tags
1.7
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
satnogsclient/artifacts.py
+1
-1
1 addition, 1 deletion
satnogsclient/artifacts.py
with
1 addition
and
1 deletion
satnogsclient/artifacts.py
+
1
−
1
View file @
0b8b7ec1
...
...
@@ -34,6 +34,7 @@ class Artifacts(): # pylint: disable=R0903
self
.
artifacts_file
=
tempfile
.
TemporaryFile
()
hdf5_file
=
h5py
.
File
(
self
.
artifacts_file
,
'
w
'
)
hdf5_file
.
attrs
[
'
artifact_version
'
]
=
2
hdf5_file
.
attrs
[
'
metadata
'
]
=
self
.
_metadata
# Create waterfall group
wf_group
=
hdf5_file
.
create_group
(
'
waterfall
'
)
...
...
@@ -41,7 +42,6 @@ class Artifacts(): # pylint: disable=R0903
# Store observation metadata
# NOTE: start_time is not equal to observation start time
wf_group
.
attrs
[
'
start_time
'
]
=
self
.
_waterfall_data
[
'
timestamp
'
]
wf_group
.
attrs
[
'
metadata
'
]
=
self
.
_metadata
# Store waterfall attributes
wf_group
.
attrs
[
'
offset_in_stds
'
]
=
-
2.0
...
...
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