Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AossTower
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
MetObs
AossTower
Commits
05f978e0
Verified
Commit
05f978e0
authored
7 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Fix influxdb frame conversion to use timestamp at beginning of frame
parent
43a63232
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aosstower/level_00/parser.py
+2
-1
2 additions, 1 deletion
aosstower/level_00/parser.py
with
2 additions
and
1 deletion
aosstower/level_00/parser.py
+
2
−
1
View file @
05f978e0
...
...
@@ -217,7 +217,8 @@ def read_frames(source, error_handler=lambda *a: None, tail=False):
def
loggernet_to_tower
(
rec_dict
):
"""
Convert loggernet record dictionary to our standard naming
"""
return
_make_frame
(
zip
(
ParserV1V2
.
names
,
rec_dict
.
values
()),
rename_timestamp
=
True
)
# assume that the next record after the traditional frame is the timestamp
return
_make_frame
(
zip
([
'
timestamp
'
]
+
ParserV1V2
.
names
,
rec_dict
.
values
()),
rename_timestamp
=
True
)
def
ldmp_generator
(
station_name
,
tables
):
...
...
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