Skip to content

Commit

Permalink
add simple tdr logger
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Mar 18, 2024
1 parent 9601e19 commit b5c528f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion wizard/parsers/tdr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pandas as pd
import csv
import io
from parsers.parser_base import Parser, Parsable
from parsers.parser_base import Parser, Parsable, CSVParser
from parsers.helpers import stream_chunk_match, stream_starts_with
import pyarrow.csv as pacsv

Expand Down Expand Up @@ -118,8 +118,18 @@ def __init__(self, parsable: Parsable):



class SimpleTDR(CSVParser):
DATATYPE = "tdr"
FIELDS = [
"Time Stamp",
"Pressure",
"Temp",
]


PARSERS = [
TDRParser,
TDR2Parser,
PathtrackPressParser,
SimpleTDR,
]

0 comments on commit b5c528f

Please sign in to comment.